
Hi all,
Apologies if this has already been reported, or is a symptom of
something already reported.
I downloaded the GHC source
(http://www.haskell.org/ghc/dist/6.8.1/ghc-6.8.1-src.tar.bz2) and
attempted to build as follows, bootstrapping with GHC 6.6.1:
./configure ; make -j3
(The error manifests even without `-j3'.) This eventually results in
the error [1]:
ghc-pkg: dependency readline doesn't exist (use --force to override)
But config.log reports:
configure:2809: checking for ghc-pkg matching /opt/local/bin/ghc
configure:2821: result: /opt/local/bin/ghc-pkg
configure:2868: checking whether ghc has readline package
configure:2879: result: yes
Via MacPorts I have gmp 4.2.2 and readline 5.2.007 installed; I am
using XCode 2.5 and gcc 4.0.1. The failure also happens if extralibs
is built alongside GHC. I've checked
http://hackage.haskell.org/trac/ghc/wiki/X86OSXGhc and googled the
error message, but found nothing useful.
If there any more useful information I could provide, let me know.
--
Denis
[1] Here is more of the erroneous output:
== Finished recursively making `all' for ways: p ...
Registering haskell98-1.0.1.0...
Reading package info from "dist/inplace-pkg-config" ... done.
Saving old package config file... done.
Writing new package config file... done.
make stage2
make -C compiler boot stage=2
../utils/mkdirhier/mkdirhier stage2
gcc -E -undef -traditional -P \
-DIMPORT_DIR='"/Users/Shared/incoming/ghc-6.8.1/libraries/ghc"' \
-DLIB_DIR='"/Users/Shared/incoming/ghc-6.8.1/libraries/ghc"' \
-DINCLUDE_DIR='"/Users/Shared/incoming/ghc-6.8.1/libraries/ghc/include"' \
-DDATA_DIR='"/Users/Shared/incoming/ghc-6.8.1/libraries/ghc"' \
-DHTML_DIR='"/Users/Shared/incoming/ghc-6.8.1/libraries/ghc/html"' \
-DHADDOCK_IFACE='"/Users/Shared/incoming/ghc-6.8.1/libraries/ghc/html/ghc.haddock"'
\
-DFPTOOLS_TOP_ABS='"/Users/Shared/incoming/ghc-6.8.1"' \
-x c -DPKG_DEPENDS='hpc bytestring template-haskell readline unix
Cabal base haskell98' -DSTAGE='"2"' -I../includes -Iinclude
-DPACKAGE=ghc -DVERSION=6.8.1
-DPKG_LIBDIR='"/usr/local/lib/ghc-6.8.1"'
-DPKG_DATADIR='"/usr/local/share/ghc-6.8.1"' package.conf.in | \
grep -v '^#pragma GCC' | \
sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace
mkdir stage2
../utils/ghc-pkg/ghc-pkg-inplace update - --force-files