Cabal problem: cannot satisfy package-id ...

Alistair Bayley alistair at
Tue Feb 8 03:57:47 CET 2011

(Is this the best place for cabal help?)

I'm trying to install Takusen and build the tests on an Ubuntu 10.4
machine, with haskell-platform 2010. Takusen itself built and
installed correctly. When building the tests I get this failure:

Building Takusen-0.8.7...
Building executable takusen_tests...
Creating dist/build/takusen_tests (and its parents)
Creating dist/build/takusen_tests/takusen_tests-tmp (and its parents)
/usr/bin/ghc --make -o dist/build/takusen_tests/takusen_tests
-hide-all-packages -fbuilding-cabal-package -no-user-package-conf
-package-conf dist/package.conf.inplace -i
-idist/build/takusen_tests/takusen_tests-tmp -i. -idist/build/autogen
-Idist/build/autogen -Idist/build/takusen_tests/takusen_tests-tmp
-optP-DUSE_NEW_EXCEPTIONS -optP-include
-optPdist/build/autogen/cabal_macros.h -odir
dist/build/takusen_tests/takusen_tests-tmp -hidir
dist/build/takusen_tests/takusen_tests-tmp -stubdir
dist/build/takusen_tests/takusen_tests-tmp -package-id
QuickCheck- -package-id
base- -package-id
mtl- -package-id
old-time- -package-id
random- -package-id
time-1.1.4-1ced433acd576e314843b083f147bc38 -package-id Takusen-0.8.7
-O -XCPP -XDeriveDataTypeable -XScopedTypeVariables ./Main.lhs
<command line>: cannot satisfy -package-id Takusen-0.8.7
    (use -v for more information)

(and that was the -v output)

There's no clue as to why "-package-id Takusen-0.8.7" cannot be
satisfied. "ghc-pkg list" shows the package (in the global database),
as does "cabal list Takusen".


More information about the Libraries mailing list