Re: RPM build problems

2007-08-26 Thread Sven Panne
On Sunday 26 August 2007 14:38, I wrote: > [...] >c) "make install" gets an additional argument "prefix=/var/foo/usr" > (where "/var/foo" is some temporary place and "/usr" is what was stated in > the configure stage for "--prefix"), so everything gets installed > below "/var/foo/usr". After so

Re: RPM build problems

2007-08-26 Thread Sven Panne
On Sunday 26 August 2007 15:56, I wrote: > GHCBIN and TOPDIROPT in the shell script wrappers for ghc and ghci contain > the install-time prefix (not the correct build-time one) [...] Furthermore, the package.conf is incorrect, too, as I just found out. :-( Cheers, S.

Re: RPM build problems

2007-08-26 Thread Sven Panne
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

Re: RPM build problems

2007-08-26 Thread Ian Lynagh
On Sun, Aug 26, 2007 at 02:38:27PM +0200, Sven Panne wrote: > I'm currently trying to resurrect ghc.spec.in after all those build system > changes in the last few months. One thing I'm currently fighting with is the > totally obscure non-standard logic regarding the handling of build/install > p

RPM build problems

2007-08-26 Thread Sven Panne
I'm currently trying to resurrect ghc.spec.in after all those build system changes in the last few months. One thing I'm currently fighting with is the totally obscure non-standard logic regarding the handling of build/install prefixes. Just to recap what is needed for sane (non-relocatable) RPM