|
RE: locating package.conf: msg#00022lang.haskell.glasgow.bugs
> After building GHC6.1 from CVS a few days old now, on Win2k with MinGW > 3.2, I tested it in the build tree and it worked fine. After > performing > make install, the GHC completely stopped working because it couldn't > find package.conf(.inplace). I eventually tracked it down to a > self-described "hack" in SysTools.lhs that decides if it's > installed or in the build tree by whether package.conf can be found in > TopDir (which I'm assuming is (usu.) $prefix). Sometime in the past > couple months all the files in $prefix got moved to $prefix/lib, the > result being the installed GHC thinks it's in the build tree and dies > when it can't find $prefix/driver/package.conf.inplace. I'm not sure > where in the build system this was changed or what's the best thing to > do about it (in general; moving lib to $prefix and copying gcc to > $prefix [though that's probably due to the way I configured] seems to > get it working for me.) This change was made to remove some special Windows-only cases in the build system. We weren't sure exactly what it might break, but 'make install' on Windows is very rare anyway (most people just install from the .msi or run it from the build tree). I'd only be guessing at the right way to fix this. Perhaps SysTools should look for $prefix/lib/package.conf in addition to $prefix/package.conf? Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ghc --make and missing interface files, Simon Marlow |
|---|---|
| Next by Date: | Re: ANNOUNCE: GreenCard 3.00 (alpha release), Jens Petersen |
| Previous by Thread: | locating package.conf, Derek Elkins |
| Next by Thread: | Re: locating package.conf, Sven Panne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |