GHC 6.4 release candidates available (breakage on suse 9.2 x86 or x86-64)

Brian Strand bstrand at switchmanagement.com
Tue Feb 22 15:04:53 EST 2005


Hello,

I'm having some serious "issues" getting GHC to run on Suse 9.2/x86 (or x86-64
for that matter, although I didn't really expect that to work without some pain
and suffering).  I've had no luck with 6.2.2, or any 6.4 release candidate. 
Here is a typical example:  after doing a "./configure; make in-place", I get
the following:

/home/bstrand/haskell/ghc-6.4.20050221/lib/i386-unknown-linux/ghc-6.4.20050221:
error while loading shared libraries: libreadline.so.4: cannot open shared
object file: No such file or directory

Fair enough; "rpm -q readline" gives me readline-5.0-1.2.  So off to the sources
I go:

cd ~/src/ghc-6.4.20050221
./configure
...
configure: error: GHC is required unless bootstrapping from .hc files.

After reading through most of the GHC building guide (paying particular
attention to section 10), I try:

./configure --enable-hc-boot

After a few minutes, this dies with:

==fptools== make boot -wr;
 in /home/bstrand/src/ghc-6.4.20050221/libraries/base
------------------------------------------------------------------------
touch GHC/PrimopWrappers.hs
make[2]: *** No rule to make target `System/CPUTime_hsc.c', needed by `depend'.
 Stop.
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/home/bstrand/src/ghc-6.4.20050221/libraries'
make: *** [build] Error 1


"./configure --enable-hc-boot --enable-hc-boot-unregisterised" fails with the
same error.

Running "distrib/hc-build" runs for much longer, but then ends with the now
familiar:

===fptools== Recursively making `boot' in base haskell98 template-haskell unix
Cabal parsec readline ...
PWD = /home/bstrand/src/ghc-6.4.20050221/libraries
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== gmake boot -wr;
 in /home/bstrand/src/ghc-6.4.20050221/libraries/base
------------------------------------------------------------------------
gmake[1]: *** No rule to make target `System/CPUTime_hsc.c', needed by `depend'.
 Stop.
gmake: *** [boot] Error 1
gmake: Leaving directory `/home/bstrand/src/ghc-6.4.20050221/libraries'


Having spent about 10 hours on it over the weekend, I decided it was time to
call in the pros.  So, any advice on getting a working ghc on Suse 9.2 x86
and/or x86-64 would be greatly appreciated.



More information about the Glasgow-haskell-users mailing list