WxHaskell/Linux
Jump to navigation
Jump to search
This page records some user experiences building wxHaskell on Linux. It should be cleaned up!
Debian and Ubuntu
Ghc 6.6 version
For Debian Linux systems:
- get wxWidgets 2.6
aptitude install libwxgtk2.6-dev
- obtain the wxhaskell-bin-debian-gtk2.6.3-ghc6.6-0.10.3.deb package from sourceforge
- Install it with
dpkg -i
- Install it with
You may need to add /usr/local/lib to your library search path. You can do that by making a file called /etc/ld.so.conf.d/usr_local.conf containing:
/usr/local/lib
after adding the file, run ldconfig.
Ghc 6.8 version
- get wxWidgets 2.6
aptitude install libwxgtk2.6-dev
- get ghc
apt-get --target-release=unstable install ghc6
- obtain the wxhaskell-bin-gtk2.6.3-ghc6.8.2-0.10.3.deb package from sourceforge
- Install it with
dpkg -i
- Install it with
Gentoo
wxHaskell is available in portage for x86, amd64, sparc and ppc
ACCEPT_KEYWORDS="~x86" emerge wxhaskell
(users of other arches should use their arch keywrods as appropriate)
Fedora Core 6
There is no wxHaskell package to go with the ghc-6.6 packages. You will have to compile it yourself. This a simple matter of:
- Installing wxGTK:
yum install wxGTK-devel
- Getting the sources:
darcs get http://darcs.haskell.org/wxhaskell
- Configuring, building and installing:
configure && make && make install && make wx && make wx-install