Bootstrapping the compiler
Colin Paul Adams
colin at colina.demon.co.uk
Wed Mar 18 07:41:32 EDT 2009
I tried again with the same result.
Is this a known problem, or do I have investigate myself?
>>>>> "Colin" == Colin Paul Adams <colin at colina.demon.co.uk> writes:
Colin> I have just downloaded a darcs snapshot, pulled patches and
Colin> followed the instructions at
Colin> http://hackage.haskell.org/trac/ghc/wiki/Building/QuickStart
Colin> When I got to do
Colin> make
Colin> it didn't work. The tail of the output looks like this:
Colin> [55 of 55] Compiling Main ( cabal-bin.hs,
Colin> /home/colin/ghc/libraries/bootstrapping/Main.o ) Linking
Colin> cabal-bin ... echo "[]" > bootstrapping.conf.tmp cd
Colin> extensible-exceptions &&
Colin> /home/colin/ghc/libraries/cabal-bin ghc --make
Colin> -fno-warn-unrecognised-pragmas
Colin> /home/colin/ghc/libraries/bootstrapping.conf 1.7.0 clean
Colin> --distpref=dist-bootstrapping unrecognised command:
Colin> /home/colin/ghc/libraries/bootstrapping.conf (try --help)
Colin> make[1]: [bootstrapping.conf] Error 1 (ignored) cd
Colin> extensible-exceptions &&
Colin> /home/colin/ghc/libraries/cabal-bin ghc --make
Colin> -fno-warn-unrecognised-pragmas
Colin> /home/colin/ghc/libraries/bootstrapping.conf 1.7.0
Colin> configure --distpref=dist-bootstrapping --with-compiler=ghc
Colin> --make -fno-warn-unrecognised-pragmas
Colin> --with-hc-pkg=/usr/local/bin/ghc-pkg
Colin> --package-db=/home/colin/ghc/libraries/bootstrapping.conf.tmp
Colin> unrecognised command:
Colin> /home/colin/ghc/libraries/bootstrapping.conf (try --help)
Colin> make[1]: *** [bootstrapping.conf] Error 1 make[1]: Leaving
Colin> directory `/home/colin/ghc/libraries' make: *** [stage1]
Colin> Error 2
Colin> I then tried the following:
Colin> [colin at susannah ghc]$ ls libraries/bootstrapping.conf ls:
Colin> cannot access libraries/bootstrapping.conf: No such file or
Colin> directory [colin at susannah ghc]$ ls
Colin> libraries/bootstrapping.conf.tmp
Colin> libraries/bootstrapping.conf.tmp
Colin> It looks to me like all I have to do is to rename
Colin> libraries/bootstrapping.conf.tmp
Colin> to
Colin> libraries/bootstrapping.conf
Colin> but I don't see why this is happening.
--
Colin Adams
Preston Lancashire
More information about the Glasgow-haskell-users
mailing list