[Haskell-cafe] Dependencies missing when building ghc.

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Tue Oct 14 02:07:38 UTC 2014


Works like a charm. Thank you.

On Mon, Oct 13, 2014 at 3:16 PM, Yuras Shumovich <shumovichy at gmail.com>
wrote:

> 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
>>
>>


-- 
竹密岂妨流水过
山高哪阻野云飞

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


More information about the Haskell-Cafe mailing list