runhaskell and binary packages

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.fptools
Message-ID <[email protected]>
FYI: Recently the problem how to package runhaskell correctly into an RPM
came up, but we didn't find a solution, so the GHC 6.4 RPMs on haskell.org
simply contain /usr/bin/runhaskell. This is obviously not good, as there
could be a Hugs on the system, too, GHC could be uninstalled while there is
still Hugs, the admin could have different preferences, etc.

Having looked around a bit, I think that the update-alternatives script
from Debian (shipped with SuSE, too) is the right way to go, but I still
have to read a bit of documentation and play around with the .spec files.
When this is done, I think the GHC 6.4 RPMs on haskell.org should be
re-packaged.

Currently I use SuSE Linux exclusively as my *nix platform, so I don't have
a clue how to handle this correctly on *BSD, gentoo, MacOS X, etc. One
important question is how RedHat/Fedora handles this: If it is done differently,
we will have to provide separate RPMs... :-P * * *

Cheers,
    S.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.