[nhc-bugs] nhc98 1.14a build fails on Linux
Peter Simons
simons@cryp.to
06 Jan 2003 19:00:30 +0100
Hi,
I just tried to build the latest nhc98 version on Gentoo Linux/ix86.
And failed. ;-)
The build was initiated with
$ ./configue --prefix=/usr/local/nhc98 +docs
$ make
and it got this far: (Line-wrapping is mine.)
make[1]: Entering directory `/usr/local/src/nhc98-1.14a/src/prelude/ix86-Linux'
rm -f *.hi
rm -f DErrNo.hc
rm -f /usr/local/src/nhc98-1.14a/targets/ix86-Linux/obj/prelude/DErrNo/*.o *.o
rm -f
rm -f
/usr/local/src/nhc98-1.14a/script/nhc98 -cpp -c +CTS -lib -redefine
-CTS +RTS -H32M -RTS -o
/usr/local/src/nhc98-1.14a/targets/ix86-Linux/obj/prelude/DErrNo/DErrNo.o
DErrNo.hs
/usr/local/src/nhc98-1.14a/script/nhc98: line 600: 32003 Segmentation
fault $COMP $RUNFLAGS $COMPFLAGS $HINCDIRS $UNLIT -P${NHC98INCDIR}
$HSFILE $POSTGRFILE $TMPHIFILE $TMPCPPASFILE
make[1]: *** [/usr/local/src/nhc98-1.14a/targets/ix86-Linux/obj/prelude/DErrNo/DErrNo.o] Error 1
make[1]: Leaving directory `/usr/local/src/nhc98-1.14a/src/prelude/ix86-Linux'
make: *** [targets/ix86-Linux/compiler-gcc] Error 2
I am quite lost what to do and what to try. Does anyone have an idea?
One more thing: Is it possible that the build is screwed up pretty
much in case I do have a version of hmake installed already? (I do,
and hmake has been compiled with ghc support only, so far. I had to
take it out of the PATH to make the build get this far at all.)
-peter