Difference between revisions of "WxHaskell/Install"

From HaskellWiki
Jump to navigation Jump to search
(Beginning - more to come)
 
(redirect)
(105 intermediate revisions by 11 users not shown)
Line 1: Line 1:
  +
#REDIRECT [[WxHaskell/Building]]
= Overview =
 
 
This page describes how to get a working wxHaskell installation on various platforms. This is not as easy as it might be, as the wxHaskell project has not received much attention since around May 2005 (at time of writing). This means that the available binary packages are unlikely to meet your needs, and you will probably have to build from source.
 
 
= Getting wxWidgets =
 
 
wxHaskell would not build cleanly for me with the most recent variants of wxWidgets. Under Windows, I was successful in compiling against wxWidgets 2.4.2. Mac OSX (Tiger) has a pre-installed version of wxWidgets 2.5, and it is possible to compile against this provided that a patch is applied - see the section on Mac OSX for details.
 
 
* '''For PC running Windows''': I recommend wxWidgets 2.4.2. Download from [[http://sourceforge.net/project/showfiles.php?group_id=9863&package_id=14078 Sourceforge]]. Unless you particularly wish to build from source, the wxMSW-2.4.2-setup.zip download is fine (it provides a Windows installer for most of what you need. Documentation is a separate (and useful) download. '''You will make your life easier if you install to a path which does not contain spaces''' - my recollection is that this is not the default provided by the installer.
 
 
* '''For Mac running OSX (Tiger)''': I recommend the provided pre-installed wxWidgets.
 
 
* '''For Linux''': Recommendations welcome...
 
 
= Getting wxHaskell =
 
 
Obtain wxHaskell sources from [[http://wxhaskell.sourceforge.net/download.html Sourceforge]].
 
 
'''OSX caveats''':
 
 
* The installation of wxWidgets provided with OSX is a Unicode build. The wxHaskell sources you obtained above are not Unicode clean, and will fail to compile on OSX. Eric Kow at Loria has done a lot of work to sort this out. You can download the fruits of this as a single patch to be applied to the wxHaskell distribution at [[http://www.loria.fr/~kow/download/patch-wxhaskell-unicode-08 Eric Kow wxHaskell Unicode Patch (08)]].
 
 
* wxHaskell does not build cleanly using gcc 4.0 (the OSX default). You will need to switch to gcc 3.3 (sudo gcc_select 3.3) before compiling.
 
 
= Building and Installing =
 
 
== Windows ==
 
 
== Mac OSX ==
 
 
== Linux ==
 

Revision as of 09:05, 6 August 2008

Redirect to: