Dependencies missing when building ghc.

Yuras Shumovich shumovichy at gmail.com
Mon Oct 13 07:16:11 UTC 2014


Hello,

It is recommended to checkout 7.8 in special way, see
https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#checkout-old-branch

That is because repo structure was changed after 7.8

Thanks,
Yuras
13 Окт 2014 г. 4:03 пользователь "Magicloud Magiclouds" <
magicloud.magiclouds at gmail.com> написал:

> 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.
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20141013/3521c3aa/attachment.html>


More information about the Glasgow-haskell-users mailing list