
19 Nov
2007
19 Nov
'07
3:20 a.m.
Christian Maeder:
Manuel M T Chakravarty wrote:
What we really need is a proper .mpkg
How about a simple disk image (.dmg) that can be moved around as long as the relative paths within the image remain the same?
This would require to allow relative paths in package.conf files (which would be useful, anyway). The wrapper scripts for ghc, ghci and ghc- pkg could be easily rewritten.
I'm not sure if ranlib needs to be called, whenever the archives are moved.
A dmg makes it potentially harder to deal with readline and gmp, as a mpkg can embed other sub-packages. Secondly, if you look at the installation process of binary distributions, it does run code in order to re-locate GHC. With an mpkg we can have a post-install script. Manuel