WxHaskell/Linux

From HaskellWiki
< WxHaskell
Revision as of 19:11, 5 August 2008 by EricKow (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

  1. get wxWidgets 2.6
    • aptitude install libwxgtk2.6-dev
  2. obtain the wxhaskell-bin-debian-gtk2.6.3-ghc6.6-0.10.3.deb package from sourceforge
    • Install it with dpkg -i

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
  1. get wxWidgets 2.6
    • aptitude install libwxgtk2.6-dev
  2. get ghc
    • apt-get --target-release=unstable install ghc6
  3. obtain the wxhaskell-bin-gtk2.6.3-ghc6.8.2-0.10.3.deb package from sourceforge
    • Install it with dpkg -i

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:
  • Configuring, building and installing:
    • configure && make && make install && make wx && make wx-install