On 04/08/2011, at 6:17 PM, Max Bolingbroke wrote:

> On 4 August 2011 09:06, Ben Lippmeier <[email protected]> wrote:
>> 
>> Can someone please explain how to pull patches into the GHC trees when 
>> you've got branches? I was following the instructions on the GHC wiki. I've 
>> got the 7.2 branch but I can't work out how to pull new patches into it.
>> 
>> 
>> desire:ghc-head benl$ ./sync-all checkout 7.2
> 
> Is this really the 7.2 branch? The branch is called ghc-7.2, not just 7.2.

Thanks, fixing this gets me further. I think my git repo got into a weird state 
where it though there really was a branch called '7.2'.

I still can't manage to build it though. Following the instructions on the GHC 
wiki gets me:

 $ git clone http://darcs.haskell.org/ghc.git/
 $ cd ghc
 $ ./sync-all --testsuite get

 $ ./sync-all checkout ghc-7.2

 $ perl boot ; ./configure ; make -j8

"inplace/bin/ghc-cabal" configure 
--with-ghc="/Users/benl/devel/ghc/ghc/inplace/bin/ghc-stage1" 
--with-ghc-pkg="/Users/benl/devel/ghc/ghc/inplace/bin/ghc-pkg"  
--enable-library-profiling --enable-shared --enable-library-for-ghci 
--configure-option=CFLAGS=" -m32 -fno-stack-protector  " 
--configure-option=LDFLAGS=" -m32  " --configure-option=CPPFLAGS=" -m32  " 
--with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" 
--with-ar="/usr/bin/ar" --with-ranlib="ranlib" -- dist-install 
libraries/Cabal/cabal
Configuring Cabal-1.11.0...
ghc-cabal: At least the following dependencies are missing:
base >=4 && <3 && >=2 && <5, unix >=2.0 && <2.5
make[1]: *** [libraries/Cabal/cabal/dist-install/package-data.mk] Error 1
make: *** [all] Error 2

Ben.


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to