On 07/11/2008, at 14.12, Jules Colding wrote: > > On 07/11/2008, at 14.09, Eric Kow wrote: > >> On Fri, Nov 07, 2008 at 10:18:54 +0100, Jules Colding wrote: >>>>> /Users/colding/.ghc/i386-darwin-6.8.3/package.conf: >>>>> QuickCheck-2.1.0.1, mtl-1.1.0.2 >>>> >>>> Whoops. It's the right directory, but installed as the wrong user. >> >>> "colding" is me. >> >>> Wouldn't that go into my $HOME again? Anyway, I'll try... >> >> Oh that's fine. By default cabal-install uses the user's directory >> to >> install packages. >> >> If you really do not want this behaviour, you can also do: >> sudo cabal install --global quickcheck mtl > > It won't recognise the global option: > > [EMAIL PROTECTED] ~ $ sudo cabal --global update > unrecognized option `--global'
OK, I got it working: [EMAIL PROTECTED] ~ $ ghc-pkg list /opt/local/lib/ghc-6.8.3/package.conf: Cabal-1.2.4.0, Cabal-1.4.0.2, HTTP-3001.0.4, HUnit-1.2.0.0, QuickCheck-1.1.0.0, QuickCheck-2.1.0.1, array-0.1.0.0, base-3.0.2.0, benchpress-0.2.2.2, bytestring-0.9.0.1.1, cgi-3001.1.6.0, containers-0.1.0.2, directory-1.0.0.1, fgl-5.4.2.0, filepath-1.1.0.0, (ghc-6.8.3), haskell-src-1.0.1.2, haskell98-1.0.1.0, hpc-0.5.0.1, html-1.0.1.1, maybench-0.2.4.1, mtl-1.1.0.1, mtl-1.1.0.2, network-2.2.0.0, old-locale-1.0.0.0, old-time-1.0.0.0, packedstring-0.1.0.0, parallel-1.0.0.1, parsec-2.1.0.1, pretty-1.0.0.0, process-1.0.0.1, random-1.0.0.0, readline-1.0.1.0, regex-base-0.72.0.1, regex-compat-0.71.0.1, regex-posix-0.72.0.2, rts-1.0, stm-2.1.1.1, template-haskell-2.2.0.0, time-1.1.2.1, unix-2.3.0.1, xhtml-3000.2.0.0, zlib-0.4.0.4 Notice that there are two versions of QuickCheck installed. Is that a problem? Thanks, jules _______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users