Hi everybody,

For those of you not following wxhaskell-devel: Brian Lewis has been
doing which could make installing wxHaskell from source (and
consequently install wxHaskell-based applications) a lot easier.

He has cleaned up our build infrastructure, replacing our configure
script, makefile and trivial Cabal wrapper with a 100% Cabal based
solution.  This includes our wxc layer now specified through the
'c-sources' field in the cabal file.

It seems to work for me and Brian.  Could somebody else try it out,
maybe somebody on Windows?  Here's the procedure.

1. Install wxWidgets if you have not done so already.

   I never managed to use wxHaskell with the wxWidgets that comes with
   MacOS X Leopard.  On the other hand, building one for source works a
   lot better.  (don't forget --enable-unicode).  I had a similar
   experience with Ubuntu Linux too.

2. Update your PATH so that the wx-config from your wxWidgets is in it

3. Download Brian Lewis's work and install it

   git clone git://github.com/bsl/wxdirect.git
   git clone git://github.com/bsl/wxcore.git
   darcs get http://code.haskell.org/wxhaskell
   cd wxdirect; cabal install; cd ..
   cd wxcore; cabal install; cd ..
   cd wxhaskell/wx; cabal install

4. Now try building a sample application and test it.

It would also be great if some wxHaskell developers could comment!  If
this works out it means we get much easier wxHaskell installation. :-)

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: pgpVxwdFpPEg9.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to