Changes between Initial Version and Version 1 of Ticket #5693


Ignore:
Timestamp:
Dec 25, 2011 11:20:06 AM (2 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5693

    • Property Difficulty changed from to Unknown
  • Ticket #5693 – Description

    initial v1  
    11I am unable to build the local-gc branch of ghc (http://www.haskell.org/pipermail/cvs-ghc/2011-June/062748.html). I did the following:  
    2  
     2{{{ 
    33"git clone http://darcs.haskell.org/ghc.git/; cd ghc; ./sync-all --testsuite get; ./utils/fingerprint/fingerprint.py restore -f local-gc.fp; cd libraries; rm -rf dph vector primitive; cd .. ; perl boot; configure; make" 
    4  
     4}}} 
    55I then get the error: 
    6  
     6{{{ 
    77"inplace/bin/ghc-cabal" configure --with-ghc="/home/andreas/bin/ghc" --with-ghc-pkg="/home/andreas/bin/ghc-pkg"  --package-db=/home/andreas/Download/ghc-source/ghc/libraries/bootstrapping.conf --enable-library-profiling --enable-shared --enable-library-for-ghci --configure-option=CFLAGS=" -fno-stack-protector  " --configure-option=LDFLAGS="   " --configure-option=CPPFLAGS="   " --constraint "Cabal == 1.11.0" --constraint "hpc == 0.5.0.6" --constraint "extensible-exceptions == 0.1.1.2" --constraint "binary == 0.5.0.2" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.8.7.0" --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-ranlib="true" -- dist-boot libraries/Cabal 
    88Configuring Cabal-1.11.0... 
     
    1111make[1]: *** [libraries/Cabal/dist-boot/package-data.mk] Error 1 
    1212make: *** [all] Error 2 
    13  
     13}}} 
    1414 
    1515The fingerprint file I use (named local-gc.fp) is  
    16  
     16{{{ 
    1717.|ab5aad587de8e3d9dde539982ae728b33e5bca50 
    1818ghc-tarballs|e7b7b152083f7c3e3559e557a239757d41ac02a6 
     
    5353utils/haddock|ebb07175062cf5122f3c49fa025163a9d6392e63 
    5454utils/hsc2hs|c46eed44ce96f1719334ffb190eddf63695bc553 
     55}}} 
    5556 
    5657The output of configure command shows how my setup: 
    57  
     58{{{ 
    5859Configure completed successfully. 
    5960 
     
    7778   dblatex  :  
    7879   xsltproc : /usr/bin/xsltproc 
    79  
     80}}} 
    8081 
    8182I also tried building with ghc-7.0.3. So I installed 7.0.3, ran make maintainer-clean in my build directory for the local gc branch, then ran perl boot and configure again. Configure shows this:  
    8283 
    83  
     84{{{ 
    8485---------------------------------------------------------------------- 
    8586Configure completed successfully. 
     
    123124make[1]: *** [utils/genprimopcode/dist/build/Lexer.o] Error 1 
    124125make: *** [all] Error 2 
     126}}}