Dependencies missing when building ghc.

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Mon Oct 13 01:03:40 UTC 2014


Hi,

  I am with my new Ubuntu Trusty box. I have installed ghc by apt-get. Then
I wanted to build ghc from git to upgrade to 7.8.3.

  I did following commands. I tried 'make clean', or reget the source. No
luck yet.

$ git clone --recursive git://git.haskell.org/ghc.git
$ ./sync-all -r git://git.haskell.org remote set-url origin
$ git checkout ghc-7.8.3-release
$ ./sync-all get
$ rm -r libraries/time # as prompted by sync-all
$ ./sync-all get
$ ./boot
$ ./configure
$ make
===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
make[1]: Nothing to be done for `phase_0_builds'.
===--- building phase 1
make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
"inplace/bin/ghc-cabal" check libraries/haskell98
"inplace/bin/ghc-cabal" configure libraries/haskell98 dist-install ""
--with-ghc="/home/local/ANT/shida/src/git/ghc/inplace/bin/ghc-stage1"
--with-ghc-pkg="/home/local/ANT/shida/src/git/ghc/inplace/bin/ghc-pkg"
 --disable-library-for-ghci --enable-library-vanilla
--enable-library-profiling --enable-shared --configure-option=CFLAGS="
-fno-stack-protector   " --configure-option=LDFLAGS="   "
--configure-option=CPPFLAGS="   " --gcc-options=" -fno-stack-protector
  " --with-gcc="/usr/bin/gcc" --with-ld="/usr/bin/ld"
--configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar"
--with-ranlib="/usr/bin/ranlib" --with-alex="/usr/bin/alex"
--with-happy="/usr/bin/happy"
Configuring haskell98-2.0.0.4...
ghc-cabal: At least the following dependencies are missing:
base ==4.8.*
make[1]: *** [libraries/haskell98/dist-install/package-data.mk] Error 1
make: *** [all] Error 2
-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20141013/cd901d6d/attachment.html>


More information about the Glasgow-haskell-users mailing list