
kai.grossjohann:
dons@cse.unsw.edu.au (Donald Bruce Stewart) writes:
Might be best to just build [X11-1.2.2] with cabal, manually?
It's difficult to install:
$ runhaskell Setup.hs configure --prefix=$HOME [... elided ...] $ runhaskell Setup.hs build [... elided ...] $ runhaskell Setup.hs install Installing: /home/kgrossjo/lib/X11-1.2.2/ghc-6.6 & /home/kgrossjo/bin X11-1.2.2... Registering X11-1.2.2... Reading package info from ".installed-pkg-config" ... done. Unable to rename "/usr/lib/ghc-6.6/package.conf" to "/usr/lib/ghc-6.6/package.conf.old" Saving old package config file... ghc-pkg.bin: /usr/lib/ghc-6.6/package.conf: renameFile: permission denied (Permission denied)
I don't like to modify system files (owned by dpkg) by self-installed software.
I guess I might just install my own GHC in $HOME. But that sounds like quite a bit of work...
No, that's easy. I'll add a section to the FAQ. To install a library, as a user, append --user to your install phase: $ runhaskell Setup.hs install --user And no system files will be modified, just your user package database, in ~/.ghc/ -- Don