-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Grzegorz wrote: > Hi, > > It seems that if GHC is installed non-user-writable directory, and you want to > install a package in the home directory (using "runghc Setup configure > --prefix=$HOME") this isn't possible: when running "runghc Setup install" you > get an error like this: > Unable to rename "/usr/lib/ghc-6.6.1/package.conf" to > "/usr/lib/ghc-6.6.1/package.conf.old" > Saving old package config file... ghc-pkg.bin: > /usr/lib/ghc-6.6.1/package.conf: > renameFile: permission denied (Permission denied) > > Shouldn't that be fixed?
You don't have permission to install it in a way that all users of that GHC will then be able to use it. You should pass --user to "runghc Setup install" for your desired effect. (whereas I shouldn't because my GHC itself is also compiled by my user and in my home directory - which confused me once upon a time) Isaac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXC1gHgcxvIWYTTURArjxAJ0YLb94o4DAif8TuEqWpuhj8M5juQCgjkkE aOZl3x/6h5r0bHvD2hEvccs= =IqgU -----END PGP SIGNATURE----- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe