What does ghc-pkg list and ghc-pkg check say?
Cabal-1.10.1.0, directory-1.1.0.0 and process-1.0.1.5 should be there
after installation of GHC 7.0.2. (I've actually installed
cabal-install-0.10.0 using an older cabal, but that does not work on
macs and may not be the recommended way.)
I think
ghc-pkg list returns these:
/usr/local/lib/ghc-7.0.2/package.conf.d:
Cabal-1.10.1.0
array-0.3.0.2
base-4.3.1.0
bin-package-db-0.0.0.0
bytestring-0.9.1.10
containers-0.4.0.0
directory-1.1.0.0
extensible-exceptions-0.1.1.2
ffi-1.0
filepath-1.2.0.0
On Wednesday 09 March 2011 11:42:48, Qi Qi wrote:
ghc-pkg check returns this:
There are problems in package network-2.2.1.10:
dependency parsec-3.1.1-583092e3fd1a17b79365b197467a185d doesn't
exist
Seems parsec-3.1.1 was rebuilt after network-2.2.1.10 was installed.
Any idea what package
Thank you!
I fixed the broken package, network-2.2.1.10 by manually removing it locally
and recache the ghc's package cache by running ghc-pkg recache. Thanks
though for the unregister option.
Now ghc-pkg check doesn't return any broken packages. But Cabal seems still
got problem. I got the same
The problem is solved! I found out that both global and local package db get
directory-1.1.0.0 and process-1.0.1.5. I unregistered them and other caused
broken packages in the local package db. Then I successfully installed back
hmatrix, ghc-mod, happy and etc. It seems that xmobar will install
Hi,
After I installed GHC 7.0.2 and cabal-install 0.10.0 using Cabal library
1.10.1, I found that some package failed to install. For example like
Happy, I got the following error:
cabal install happy
Resolving dependencies...
command line: cannot satisfy -package Cabal-1.10.1.0: