On Sat, Aug 11, 2007 at 11:44:17AM +0200, Marc A. Ziegert wrote:
> i just don't get it.
> please, can anybody explaim me how to do that?
> i tried it the last few days with ghc-6.7.20070807, ghc-6.7.20070809, and 
> ghc-6.7.20070810.
> it always results in a broken library (without Prelude):
> 
> # ghc-pkg list
> /usr/local/lib/ghc-6.7.20070810/package.conf:
>     {ghc-6.7.20070810}, rts-1.0
> 
> i did this on my gentoo-i386-box (pretty old, takes 1h for quick build, 3.5h 
> without mk/build.mk):
> 
> T=20070810
> tar xjf ghc-6.7.$T-src.tar.bz2 
> tar xjf ghc-6.7.$T-src-extralibs.tar.bz2 
> cd ghc-6.7.$T
> (
> #echo BuildFlavour = quick
> #cat mk/build.mk.sample
> echo HADDOCK_DOCS = YES
> ) > mk/build.mk
> ./configure && ( time nice -n 19 make all install )
> 
> 
> those extralibs seem to be installed in
>  /usr/local/lib/ghc-6.7.20070810/lib/
> but registered in
>  ghc-6.7.20070810/driver/package.conf.inplace
> instead of
>  /usr/local/lib/ghc-6.7.20070810/package.conf

Last time I built GHC, I needed to run 'sh boot' right before configure.
Don't know if this has anything to do with your problem, however.

(It would also be a Good Idea to add 2>&1 | tee -a make.log to that
command line, and look at the logs afterward...)

Stefan

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to