Hi all

I've been trying to compile WxHaskell with GHC 6.6.3, as this is the
stable version in Debian. I know I should have done this regularly, but
I have unfortunately been getting into the bad habit of only compiling
with GHC 6.8.1 and GHC 6.8.2.

First of all, I assume that if people want to compile with old versions
of GHC, they will have to live with using the Makefile version. E.g.:

chmod 755 configure
../configure --with-opengl --prefix=/usr/local/
make
....

Luckily, it all went nicely except for this patch:

"Sun Aug 19 22:42:30 CEST 2007  shelarcy <[EMAIL PROTECTED]>
  * Use Data.Time.getCurrentTime instead of (System.)Time.getClockTime
  to avoid build failure by generated non-UTF8 String"

The problem is that the module imports Data.Time, which do not exist in
GHC 6.3.3. If I uncommit the patch everything compiles. And the examples
in samples/wx runs - the two I tried anyway.

Anyway, my question is, how do we remove this dependency on Data.Time
for GHC 6.6 only, without forcing GHC 6.8 users to also not use
Data.Time?

Also, do other people compile with GHC 6.6? Or is it just me who have
to, because Debian's is so out of date.


Greetings,

Mads Lindstrøm




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to