[Haskell] cannot compile ghc on Debian unstable

Michael Vanier mvanier at cs.caltech.edu
Sun Aug 28 02:54:06 EDT 2005


> From: Michael Vanier <mvanier at cs.caltech.edu>
> Date: Sat, 27 Aug 2005 22:06:40 -0700 (PDT)
> 
> 
> Right now, the Debian unstable package for GHC 6.4 won't install due to
> some conflict with libgmp3 (the package maintainer has been notified).  I
> tried to compile the sources from scratch but found out that GHC requires a
> previously-existing version of itself to compile.  I have hugs working
> fine, but configuring using --enable-hc-boot --with-hc=/usr/bin/hugs
> doesn't work (the configure completes but the compile fails very quickly).
> Has anyone managed to get this working?  I'm actually somewhat surprised
> that there isn't a bootstrap-from-gcc-only mode available like there is in
> ocaml; what are the issues?
> 
> Thanks in advance,
> 
> Mike
> 

Some more information (sorry for omitting it): running distrib/hc-build
gives me this message:

==fptools== make boot -wr;
 in /home/mvanier/ghc/ghc-6.4/libraries/base
------------------------------------------------------------------------
make[1]: *** No rule to make target `System/CPUTime_hsc.c', needed by `depend'.  Stop.
make: *** [boot] Error 1
make: Leaving directory `/home/mvanier/ghc/ghc-6.4/libraries'

There doesn't appear to be a file CPUTime_hsc.c in the distribution.

Mike




More information about the Haskell mailing list