Simon Marlow marlowsd at
Fri Nov 14 08:31:30 EST 2008

James Swaine wrote:
> Aha!  That *seems* to have fixed the problem with  Now ghc 
> is complaining about something else:
> grep: packages: No such file or directory
> make -C libraries boot
> make[1]: Entering directory `/home/jswaine/ghc/ghc-6.10.1/libraries'
> mkdir bootstrapping
> mkdir: cannot create directory `bootstrapping': File exists
> make[1]: [cabal-bin] Error 1 (ignored)
> /home/jswaine/ghc/ghc-6.10.1/ghc/ghc -Wall -DCABAL_VERSION=1,6,0,1 -odir 
> /home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping -hidir 
> /home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping 
> -i/home/jswaine/ghc/ghc-6.10.1/libraries/Cabal 
> -i/home/jswaine/ghc/ghc-6.10.1/libraries/filepath 
> -i/home/jswaine/ghc/ghc-6.10.1/libraries/hpc --make cabal-bin -o cabal-bin
> ghc: missing -B<dir> option
> make[1]: *** [cabal-bin] Error 1
> make[1]: Leaving directory `/home/jswaine/ghc/ghc-6.10.1/libraries'
> make: *** [stage1] Error 2

This is a highly mysterious error.  Did you clean the tree before 
rebuilding?  Always a good idea to do a 'make distclean' if you're not sure 
what state your build tree is in.

If you get this from a clean build, then please put up a complete log of 
the build somewhere and we'll try to diagnose.


More information about the Glasgow-haskell-users mailing list