WxHaskell/Linux

From HaskellWiki
< WxHaskell
Revision as of 18:51, 8 September 2018 by Henk-Jan van Tuyl (talk | contribs) (→‎Sources: Updated link to wxWidgets sources)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

Sources

The sources for wxWidgets can be found at https://www.wxwidgets.org/downloads/ . To compile the source, see Compiling and getting started.

The sources of most recent release of wxHaskell can be downloaded with the command

cabal unpack wx wxcore wxdirect wxc

Sources from the repository can be downloaded with:

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

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

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

Gentoo

emerge -a dev-haskell/wxhaskell

Fedora Core 6

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)