
Cabal, the library you are using when manuallying running Setup.hs,
assumes you are doing a global installation and will ignore locally
installed libraries (iirc). If you do 'cabal install crypto',
cabal-install defaults to user installs and will use the user
libraries.
Thomas
On Sun, Sep 13, 2009 at 10:54 AM,
Hi,
Cabal is still fighting me all the time. Its latest move is to be oblivious of some of the installed packages:
$ cabal unpack crypto Unpacking Crypto-4.2.0... $ cd Crypto-4.2.0/ $ runghc ./Setup.hs configure --prefix=/tmp2/ Configuring Crypto-4.2.0... Setup.hs: At least the following dependencies are missing: HUnit -any, QuickCheck -any $ ghc-pkg list | grep -i -e '\(cabal\|hunit\)' Cabal-1.6.0.3, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0, HTTP-4000.0.8, HUnit-1.2.2.0, ObjectName-1.0.0.0, OpenGL-2.3.0.0,
My ghc version is 6.10.4.20090719. (Perhaps I should go get myself a more stable version?)
How does Cabal find its packages other than by ghc-pkg? I read the documentation, and did a quick search, but came up empty-handed.
thanks, matthias _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe