trying to build hugs98-20041101 on Linux

Victor Secarin <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Hello, all:


I have been trying to build hugs on varoius RedHat platforms.

While hugs98-Nov2002  works for me, anything newer fails. I am currently 
playing with hugs98-20041101.

It seems to configure  well (with ./configure ),  and then tells me to 
do "make ; make install'. That however always breaks, ending in the 
following:

cd .. ; env HUGSDIR='hugsdir'   HUGSFLAGS=' '         src/ffihugs  +G  
+L'hugsdir/libraries/Hugs/Storable_aux.c'    Hugs.Storable
make[1]: *** [../hugsdir/libraries/Hugs/Storable.so] Error 1

This seems like it should be the last step in the libraries/Makefile

That is, the src is built, it also seems that the convert_libraries 
finishes, and then it tries to build Storable.so under 
hugsdir/libraries/Hugs/  and there  ffihugs fails.

The debugger revealed that ffihugs first tries to open Hugs.Prelude, 
which it finds, as  hugsdir/libraries/Hugs/Prelude.hs,  and then it also 
tries to find Prelude , which ought to be hugsdir/libraries/Prelude.hs 
(or something); it fails to find that file and it bails returning error 
code 1. 

In the hugs98-Nov2002, there is both a libraries/Hugs/Prelude.hs (large) 
and a libraries/Prelude.hs (small, includes the former).

Is there a file missing? Am I doing something wrong?

Please help,
Victor Secarin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.