
9 Oct
2008
9 Oct
'08
9:31 a.m.
Am Donnerstag, 9. Oktober 2008 15:08 schrieb Mauricio:
Hi,
I want to use a few libraries from hackage and have already download and built them. Can I install those libraries somewhere in my home dir (I want to avoid installing as root) so that ghc can find them?
runghc ./Setup.hs configure --user --prefix=$HOME runghc ./Setup.hs build runghc ./Setup.hs install I'm afraid you would have to build again to get a correct $TOP/dist/build/autogen/Paths_${library}.hs
If so, which options should I give to Setup.hs (with main=defaultMain) so that the libraries are going to be copy to that dir?
Thanks, MaurĂcio