David Waern wrote:
David Waern wrote:
Hi,
I'm trying to install GHC HEAD but the "make install" phase fails.
Here's
the last part of the output:
...
It seems like GHC_PKG_PROG is null, even though the configure step says
it
has located ghc-pkg.
The GHC_PKG_PROG in mk/package.mk should be GHC_PKG_INPLACE. Could you
make that change and see if it fixes it for you? (I removed GHC_PKG_PROG
recently as it was duplicating GHC_PKG_INPLACE, but looks like I missed
that reference to it).
Yes, this fixes it for me. However, when I do "make install" again I get a
new problem:
------------------------------------------------------------------------
== make install -r;
in /home/davve/repos/ghc-partial/libraries
------------------------------------------------------------------------
if ifBuildable/ifBuildable base; then \
cd base && \
../installPackage/installPackage
'../utils/ghc-pkg/ghc-pkg-inplace'
'/home/davve/local/lib/ghc-6.9.20071107/package.conf' ''
'/home/davve/local' '/home/davve/local' '/home/davve/local/bin'
'/home/davve/local/lib/ghc-6.9.20071107'
'/home/davve/local/lib/ghc-6.9.20071107'
'/home/davve/local/share/ghc-6.9.20071107'
'/home/davve/local/share/doc/ghc/libraries/$pkgid'
'/home/davve/local/share/doc/ghc/libraries/$pkgid'
'/home/davve/local/share/doc/ghc/libraries/$pkgid' ; \
fi
Installing: /home/davve/local/lib/ghc-6.9.20071107/base-3.0
Registering base-3.0...
make[1]: *** [install.library.base] Error 127
make: *** [install] Error 1
Ah, looks like my GHC_PKG_PROG "cleanup" fully broke installation. I'll
revert it, stay tuned...
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc