ghc requesting package version 1.1.7 but 0.1.7 is installed ?

Simon Marlow simonmar at microsoft.com
Mon Jan 15 10:50:20 EST 2007


Marc Weber wrote:
> $ ghc -o setup --make -package Cabal-0.1.7 setup.hs
> Linking setup ... 
> ghc-6.5.20060917: unknown package: Cabal-1.1.7
> 
> I don't understand this.
> 
> I've substituted 
> Version 1.1.7 by 0.1.7 to get a low version which won't be used unless requested.
> This is the only Cabal package beeing installed.
> 	$ ghc-pkg describe Cabal 
> shows
> 	name: Cabal
> 	version: 0.1.7
> 	license: BSD3
> 	...
> 
> Why is ghc requesting still 1.1.7?
> set | grep 1.1.7 doesn't list any interesting environment variable except of pwd and OLDPWD
> 
> The Cabal which has been destributed with my ghc is verison 1.1.5.9.2 thus can't be the problem.

I'm not sure.  Can you send us your package.conf (also your 
~/.ghc/.../package.conf if you have one)?

Cheers,
	Simon



More information about the cabal-devel mailing list