[Haskell-cafe] Libraries in home dir

Daniel Fischer daniel.is.fischer at web.de
Thu Oct 9 09:31:54 EDT 2008

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 
> 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

More information about the Haskell-Cafe mailing list