On Friday I merged the meta-haskell branch onto the HEAD. So abandon the meta-haskell branch, and use the HEAD instead. (cvs up -A) As to the configure thing, you first need to run configure in the GHC directory. See Section 7.4 of the building guide http://haskell.cs.yale.edu/ghc/docs/latest/html/building/sec-building-fr om-source.html Simon | -----Original Message----- | From: Saswat Anand [mailto:saswat@comp.nus.edu.sg] | Sent: 16 September 2002 10:39 | To: glasgow-haskell-users@haskell.org | Subject: meta-haskell-branch | | Hi | I am trying to compile the meta-haskell-branch of ghc from cvs. I get the | following error messages. Please help me with some hints. | | Thanks, | Saswat | | # when I do ./configure in fptools directory, It ends with the following | error: | | configuring in ghc | running /bin/sh | ./configure --prefix=/root/fptools/prefix --cache-file=.././config.cache -- | srcdir=. | ./configure: ./configure: No such file or directory | configure: error: ./configure failed for ghc | | # when I went ahead to do ./make in fptools dir, it dies with: | | echo '#!/bin/sh' >>ghc-inplace | echo exec /root/fptools/ghc/compiler/ghc-5.05 '-B/root/fptools' | '"$@"'>>ghc-inplace | chmod 755 ghc-inplace | ------------------------------------------------------------------------ | ==fptools== make all -wr; | in /root/fptools/ghc/rts | ------------------------------------------------------------------------ | ../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prot | otypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline - | optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. | -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -ldl -O2 -sta | tic -c Adjustor.c -o Adjustor.o | make[2]: *** [Adjustor.o] Error 1 | make[1]: *** [all] Error 1 | make[1]: Leaving directory `/root/fptools/ghc' | make: *** [all] Error 1 | | | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Thanks for the pointer. I still get the following error, when I do gmake.
echo '#!/bin/sh' >>ghc-inplace echo exec /root/fptools/ghc/compiler/ghc-5.05 '-B/root/fptools' '"$@"'
ghc-inplace chmod 755 ghc-inplace
==fptools== gmake all -wr; in /root/fptools/ghc/rts ------------------------------------------------------------------------ ../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -ldl -O2 -static -c Adjustor.c -o Adjustor.o gmake[2]: *** [Adjustor.o] Error 1 gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/root/fptools/ghc' gmake: *** [all] Error 1
It seems ghc-inplace has some problem:
sh-2.05# ../../ghc/compiler/ghc-inplace -c Adjustor.c -o Adjustor.o sh-2.05# ls *.o ls: *.o: No such file or directory
What might be wrong? Saswat
participants (2)
-
Saswat Anand -
Simon Peyton-Jones