Stephen Paul Weber | 12 Jan 19:13 2013
Picon

make install failing

I just did a clean build of my cross-compiling GHC with --prefix set in the 
top-level ./configure call.

When I run `make install` I get:

"/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/lib/ghc-7.7.20130112/bin/ghc-pkg"
--force --global-package-db
"/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/lib/ghc-7.7.20130112/package.conf.d"
update rts/package.conf.install
/bin/sh: 1:
/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/lib/ghc-7.7.20130112/bin/ghc-pkg: not found
make[1]: *** [install_packages] Error 127
make: *** [install] Error 2

Grepping the output for pkg:

$ make install 2>&1 | grep pkg
"rm" -f
"/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/bin/i486-pc-nto-qnx8.0.0-ghc-pkg"  
ln -s i486-pc-nto-qnx8.0.0-ghc-pkg-7.7.20130112 "/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/bin/i486-pc-nto-qnx8.0.0-ghc-pkg"
"/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/lib/ghc-7.7.20130112/bin/ghc-pkg"
--force --global-package-db
"/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/lib/ghc-7.7.20130112/package.conf.d"
update rts/package.conf.install
/bin/sh: 1:
/home/singpolyma/bbndk/host_10_0_9_404/linux/x86/usr/lib/ghc-7.7.20130112/bin/ghc-pkg: not found

/bbndk/host_10_0_9_404/linux/x86/usr/bin/i486-pc-nto-qnx8.0.0-ghc-pkg is a 
symlink to i486-pc-nto-qnx8.0.0-ghc-pkg-7.7.20130112 which does not exist 
(and I see no attempt to make it exist), and either way it seems that we are 
(Continue reading)


Gmane