
Helo: My name is Facundo DomÃnguez. I am trying to install hat-2.02 with ghc-6.0.1 on an Intel machine with a Linux OS. I have troubles to get ghc to accept the code of the debugger due to some details like: * Complaining about Prelude.: instead of just : and Prelude.[] instead of just [] * Complaining about "T." prefix in definitions of the method wrapVal of class WrapVal * I got a type error when I tried to compile hatlib/Hat/Hat.hs, 274 * Finally, I got the following error message from ghc. Here's the error message obtained after executing make: ghc -package-name hat -fglasgow-exts -package lang -package base -fno-warn-overlapping-patterns -fno-warn-missing-methods -i/inco/home01/fdomin/fusion/tools/hat-2.02/targets/ix86-Linux/obj/hatlib/ghc -I/inco/group02/fusion/tools/hat-2.02/include '-#include "hat-c.h"' -cpp -c -o /inco/home01/fdomin/fusion/tools/hat-2.02/targets/ix86-Linux/obj/hatlib/ghc/Hat/Foreign/ForeignPtr.o Hat/Foreign/ForeignPtr.hs Hat/Foreign/ForeignPtr.hs:24: Couldn't match `GHC.ForeignPtr.FinalizerPtr (Hat.Hat.R a)' against `GHC.IOBase.IO ()' Expected type: GHC.ForeignPtr.FinalizerPtr (Hat.Hat.R a) Inferred type: GHC.IOBase.IO () In the application `(Hat.Hat.toIO Hat.Hat.toTuple0) knewForeignPtr z2newForeignPtr' In the second argument of `GHC.ForeignPtr.newForeignPtr', namely `((Hat.Hat.toIO Hat.Hat.toTuple0) knewForeignPtr z2newForeignPtr)' So, I wonder if you have any idea about why I am having so much dificulties, or better if you have some source distribution for ghc 6.0.1. Thank you, anyway. Facundo

So, I wonder if you have any idea about why I am having so much dificulties, or better if you have some source distribution for ghc 6.0.1.
I had no problem with ghc 5.04.3 In fact, the configure script (i.e. if you build it from the 2.02 source) does not handle ghc 6.01, but probably you can build it for ghc 6.0.1 from the cvs sources. HTH, Roberto.

My name is Facundo DomÃnguez. I am trying to install hat-2.02 with ghc-6.0.1 on an Intel machine with a Linux OS.
Malcolm Wallace usually responds to such queries about the distribution and portability of hat, but as Malcolm is currently on jury service he may not be available to respond to mail. I can confirm that hat-2.02 is not compatible with ghc-6* but should work OK with ghc-5*. We hope to put out a new version of hat soon and ghc-6* is on the wish-list. But hat development is a part-time activity, and right now the part is a small fraction. So don't hold your breath! Colin R
participants (3)
-
Colin Runciman
-
Facundo Dominguez - INCO
-
Roberto Lublinerman