cvs commit: fptools/ghc/utils/ghc-pkg Main.hs Package.hs

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Tue, 27 Mar 2001 16:37:02 +0100


> To get the ghc version:
> 	ghc --version
> or
> 	ghc --numeric-version
> to get the import paths:
> 	ghc-pkg --list-packages
> 	ghc-pkg --show-package std --field import_dirs
> 	ghc-pkg --show-package lang --field import_dirs

Great, thanks.

> > (I'm afraid I still haven't worked out how to build the
> > CVS version of ghc to try these things out.)

What I meant to say was not "how do I build ghc?", but "why does
a ghc build never complete successfully?"  :-)

> if it doesn't work, please tell us.

It doesn't work.  Today's error is the following:

------------------------------------------------------------------------
==fptools== make all --no-print-directory -r;
 in /local/hda5/malcolm/haskell/compilers/ghc/cvs-rw/ghc/utils/ghc-pkg
------------------------------------------------------------------------
make INSTALLING=0 BIN_DIST=0 --no-print-directory -r all
/grp/haskell/bin/ghc -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text    -c Package.hs -o Package.o -osuf o
/grp/haskell/bin/ghc -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text    -c Main.hs -o Main.o -osuf o
/grp/haskell/bin/ghc -o ghc-pkg.bin -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text       Main.o Package.o
make[4]: *** No rule to make target `ghc-pkg.sh', needed by `ghc-pkg-inplace'.
Stop.
make[3]: *** [all] Error 2
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/local/hda5/malcolm/haskell/compilers/ghc/cvs-rw/ghc'