RPM build problems
Sven Panne
sven.panne at aedion.de
Sun Aug 26 09:56:54 EDT 2007
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.
More information about the Cvs-ghc
mailing list