build errors on Mac OSX with ghc-7.0.1-src.tar.bz source distro

Andrew Milkowski andrewmilkowski at gmail.com
Mon Jan 31 01:10:34 CET 2011


Hi

Trying to build ghc distribution ghc-7.0.1-src.tar.bz2  (source tar ball)

http://www.haskell.org/ghc/dist/7.0.1/ghc-7.0.1-src.tar.bz2

received make error: (truncating here message stream to the last pertinent
lines leading to build error message)

I have also included system configuration below,  (using mac port ghc for
bootstrap which is also x86_64)

Noticed that the same exact issue was reported previously on this list
(although configuration target was  i386-apple-darwin)

http://www.mail-archive.com/cvs-ghc@haskell.org/msg23325.html

warm regards

-------------------------

build script:

export HSCOLOUR="/opt/local/src/haskell/hscolour/hscolour-1.9/hscolour"

./configure --prefix=/opt/local/src/haskell/ghc/ghc-7.0.1/dist \
--with-iconv-includes=/opt/local/include \
--with-iconv-libraries=/opt/local/lib \
--with-gmp-includes=/opt/local/include \
--with-gmp-libraries=/opt/local/lib \
--host=x86_64-apple-darwin \
--build=x86_64-apple-darwin \
--target=x86_64-apple-darwin \
--with-ghc=/opt/local/bin/ghc

#make -j framework-pkg
make
make install

-------------------------

/opt/local/bin/ginstall -c -m 755 -d
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1"
"rm" -rf
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/package.conf.d"
/opt/local/bin/ginstall -c -m 755 -d
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/package.conf.d"
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/ghc-pkg" --force
--global-conf
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/package.conf.d"
update libffi/package.conf.install
Reading package info from "libffi/package.conf.install" ... done.
ffi-1.0: cannot find libHSffi.a on library path (ignoring)
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/ghc-pkg" --force
--global-conf
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/package.conf.d"
update rts/package.conf.install
Reading package info from "rts/package.conf.install" ... done.
rts-1.0: cannot find libHSrts.a on library path (ignoring)
"inplace/bin/ghc-cabal" install
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/ghc"
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/ghc-pkg" "strip"
"/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1" libraries/ghc-prim
dist-install '' '/opt/local/src/haskell/ghc/ghc-7.0.1/dist'
'/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1'
'/opt/local/src/haskell/ghc/ghc-7.0.1/dist/share/doc/ghc/html/libraries' NO

Installing library in
/opt/local/src/haskell/ghc/ghc-7.0.1/dist/lib/ghc-7.0.1/ghc-prim-0.2.0.0
ghc-cabal: Error: Could not find module: GHC.Bool with any suffix: ["p_hi"]
in
the search path: ["dist-install/build"]
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2




Configure completed successfully.

   Building GHC version  : 7.0.1

   Build platform        : x86_64-apple-darwin
   Host platform         : x86_64-apple-darwin
   Target platform       : x86_64-apple-darwin

   Bootstrapping using   : /opt/local/bin/ghc
      which is version   : 6.10.4

   Using GCC             : /opt/local/bin/gcc
      which is version   : 4.2.1

   ld       : /usr/bin/ld
   Happy    : /opt/local/src/haskell/platform/current/bin/happy (1.18.5)
   Alex     : /opt/local/src/haskell/platform/current/bin/alex (2.3.3)
   Python   :
/Library/Frameworks/Python.framework/Versions/Current/bin/python
   Perl     : /opt/local/bin/perl
   dblatex  : /opt/local/bin/dblatex
   xsltproc : /opt/local/bin/xsltproc
   HsColour : /opt/local/src/haskell/hscolour/hscolour-1.9/hscolour

   Building DocBook HTML documentation : YES
   Building DocBook PS documentation   : YES
   Building DocBook PDF documentation  : YES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20110130/a0a4d5b3/attachment.htm>


More information about the Cvs-ghc mailing list