Personal tools

WxHaskell/Linux

From HaskellWiki

< WxHaskell(Difference between revisions)
Jump to: navigation, search
m (Added template Stub)
(Sources: Described the way to download wxHaskell source)
 
(12 intermediate revisions by 6 users not shown)
Line 3: Line 3:
   
 
==== Sources ====
 
==== Sources ====
  +
  +
The sources for wxWidgets can be found at http://sourceforge.net/projects/wxwindows/files/ . To compile the source, see [http://wiki.wxwidgets.org/Compiling_and_getting_started Compiling and getting started].
  +
  +
The sources of wxHaskell can be downloaded with the command
  +
<pre>
  +
git clone git://github.com/wxHaskell/wxHaskell.git
  +
</pre>
  +
or by clicking the button "download ZIP" on page http://www.github.com/wxHaskell/wxHaskell
   
 
==== Debian and Ubuntu ====
 
==== Debian and Ubuntu ====
  +
  +
<code>
  +
sudo apt-get install g++<br />
  +
sudo apt-get install libglu-dev<br />
  +
sudo apt-get install libwxgtk2.8-dev<br /> <!-- newer version needed -->
  +
</code>
  +
  +
Debian has removed a dependency on gstreamer and gconf2.0 in their WxWidgets packages.
  +
  +
This may be the cause of your error when building `wxcore` if the build fails when unable to find
  +
  +
<code>
  +
libwx_gtk2u_media
  +
</code>
  +
  +
Install the WxWidgets library as instructed in [http://codelite.org/LiteEditor/WxWidgets30Binaries#toc2 wxWidgets 3.0 (and 2.9) Packages and Repositories - Ubuntu and debian]
   
 
==== [[Gentoo]] ====
 
==== [[Gentoo]] ====
  +
<code>emerge -a dev-haskell/wxhaskell</code>
   
 
==== Fedora Core 6 ====
 
==== Fedora Core 6 ====
  +
  +
==== Arch Linux ====
  +
The PKGBUILD file for wxgtk-2.9 on AUR passes <code>--disable-compat28</code> to configure which breaks <code>wxc-0.90.0.3</code>. After removing that option, everything builds fine. (as of 2012-06-14)
   
 
[[Category:wxHaskell|Linux]]
 
[[Category:wxHaskell|Linux]]

Latest revision as of 16:40, 27 April 2014

This article is a stub. You can help by expanding it. This page records some user experiences building wxHaskell on Linux. It should be fleshed out now that wxHaskell 0.12 has been released.

Contents

[edit] 1 Sources

The sources for wxWidgets can be found at http://sourceforge.net/projects/wxwindows/files/ . To compile the source, see Compiling and getting started.

The sources of wxHaskell can be downloaded with the command

git clone git://github.com/wxHaskell/wxHaskell.git

or by clicking the button "download ZIP" on page http://www.github.com/wxHaskell/wxHaskell

[edit] 2 Debian and Ubuntu

sudo apt-get install g++
sudo apt-get install libglu-dev
sudo apt-get install libwxgtk2.8-dev

Debian has removed a dependency on gstreamer and gconf2.0 in their WxWidgets packages.

This may be the cause of your error when building `wxcore` if the build fails when unable to find

libwx_gtk2u_media

Install the WxWidgets library as instructed in wxWidgets 3.0 (and 2.9) Packages and Repositories - Ubuntu and debian

[edit] 3 Gentoo

emerge -a dev-haskell/wxhaskell

[edit] 4 Fedora Core 6

[edit] 5 Arch Linux

The PKGBUILD file for wxgtk-2.9 on AUR passes --disable-compat28 to configure which breaks wxc-0.90.0.3. After removing that option, everything builds fine. (as of 2012-06-14)