On Sunday 26 August 2007 15:29, Ian Lynagh wrote:
> Exactly which paths are getting baked in where?
>
> If it's the libraries causing problems then I think we need to set a
> CopyDest in installPackage.hs.

GHCBIN and TOPDIROPT in the shell script wrappers for ghc and ghci contain the 
install-time prefix (not the correct build-time one), I am not sure if there 
are other places. I think that there are basically 2 options:

   * Generate the shell wrappers at "make" time, not "make install" time.

   * Even better: Substitute the paths at "rpm -i" time, enabling relocatable 
RPMs.

Cheers,
   S.

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to