Difference between revisions of "WxHaskell/Linux"

From HaskellWiki
Jump to: navigation, search
m
(remove obsolete information (it hurts more than helps))
Line 1: Line 1:
This page records some user experiences building wxHaskell on Linux. It should be cleaned up!
+
This page records some user experiences building wxHaskell on Linux. It should be fleshed out now that wxHaskell 0.12 has been released.
 
   
 
==== Sources ====
 
==== Sources ====
 
Built wxGTK-2.6.4 from sources with the configuration:
 
 
<code>/usr/local/src/wxGTK-2.6.4/mybuild$ ../configure --enable-sound --enable-unicode</code>
 
 
Add <code>/usr/local/lib</code> to your <code>/etc/ld.so.conf</code> before running <code>sudo ldconfig</code> after installing wxGTK.
 
 
Build wxHaskell from the darcs repository, configured with <code>./configure --enable-split-objs -hcprof</code>, and follow the usual installation documentation from here on. The --enable-split-objs and -hcprof options are not mandatory, but they are nice to have
 
 
:''Note 2008-02-20: there was a bug that made --with-opengl necessary on some systems (depending on how wxWidgets was built), but it has been fixed''
 
 
For more detailed information, see [http://biolpc22.york.ac.uk/pub/2.6.4/install-motif-2.6.4.txt Installing wxWidgets 2.6.3 on Motif], [http://biolpc22.york.ac.uk/pub/2.6.4/install-gtk-2.6.4.txt Installing wxWidgets 2.6 on GTK+], or [http://biolpc22.york.ac.uk/pub/2.6.4/install-x11-2.6.4.txt Installing wxWidgets 2.6.4 on X11].
 
   
 
==== Debian and Ubuntu ====
 
==== Debian and Ubuntu ====
 
===== Ghc 6.6 version =====
 
For Debian Linux systems:
 
 
# get wxWidgets 2.6
 
#* <code>aptitude install libwxgtk2.6-dev</code>
 
# obtain the wxhaskell-bin-debian-gtk2.6.3-ghc6.6-0.10.3.deb package from [http://sourceforge.net/project/showfiles.php?group_id=73133 sourceforge]
 
#* Install it with <code>dpkg -i</code>
 
 
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
 
#* <code>aptitude install libwxgtk2.6-dev</code>
 
# get ghc
 
#* <code>apt-get --target-release=unstable install ghc6</code>
 
# obtain the wxhaskell-bin-gtk2.6.3-ghc6.8.2-0.10.3.deb package from [http://sourceforge.net/project/showfiles.php?group_id=73133 sourceforge]
 
#* Install it with <code>dpkg -i</code>
 
   
 
==== [[Gentoo]] ====
 
==== [[Gentoo]] ====
 
wxHaskell is available in portage for x86, amd64, sparc and ppc
 
 
<code>ACCEPT_KEYWORDS="~x86" emerge wxhaskell</code>
 
 
(users of other arches should use their arch keywords as appropriate)
 
   
 
==== Fedora Core 6 ====
 
==== 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:
 
** <code>yum install wxGTK-devel</code>
 
* Getting the sources:
 
** <code>darcs get http://darcs.haskell.org/wxhaskell</code>
 
* Configuring, building and installing:
 
** <code>configure && make && make install && make wx && make wx-install</code>
 
   
 
[[Category:wxHaskell|Linux]]
 
[[Category:wxHaskell|Linux]]

Revision as of 12:29, 24 November 2009

This page records some user experiences building wxHaskell on Linux. It should be fleshed out now that wxHaskell 0.12 has been released.

Sources

Debian and Ubuntu

Gentoo

Fedora Core 6