dominic.steinitz at blueyonder.co.uk
Tue Jun 10 16:39:30 EDT 2008
I've built ghc previously and I assumed to keep it up to date I just did
but I got errors and according to the rebuilding instructions
http://hackage.haskell.org/trac/ghc/wiki/Building/Rebuilding I shouldn't
have done that.
I therefore followed the instructions but got the following error. By
the way darcs-pull all seemed to require a lot of manual intervention.
Is there a way of getting the latest patches automatically and building
overnight without intervention?
> if ifBuildable/ifBuildable /home/dom/ghc/libraries/boot-packages editline; then \
> cd editline && \
> cmp -s /home/dom/ghc/libraries/Makefile.local Makefile.local || cp /home/dom/ghc/libraries/Makefile.local .; \
> mv GNUmakefile GNUmakefile.tmp; \
> setup/Setup makefile -f GNUmakefile; \
> cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp GNUmakefile; \
> make -wr && \
> setup/Setup register --inplace; \
> mv: cannot stat `GNUmakefile': No such file or directory
> Preprocessing library editline-0.2...
> In file included from Editline.hsc:52:
> include/HsEditline.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘v’
> compiling dist/build/System/Console/Editline_hsc_make.c failed
> command was: gcc -c -D__GLASGOW_HASKELL__=609 -I/home/dom/ghc/includes -I/home/dom/ghc/gmp/gmpbuild -D__GLASGOW_HASKELL__=609 -Iinclude dist/build/System/Console/Editline_hsc_make.c -o dist/build/System/Console/Editline_hsc_make.o
> make: Entering directory `/home/dom/ghc/libraries/editline'
> make: *** No targets specified and no makefile found. Stop.
> make: Leaving directory `/home/dom/ghc/libraries/editline'
> make: *** [make.library.editline] Error 2
> make: Leaving directory `/home/dom/ghc/libraries'
> make: *** [stage1] Error 2
More information about the Glasgow-haskell-users