[Haskell-cafe] plugins can not be installed in ghc 6.10.1
Gwern Branwen
gwern0 at gmail.com
Mon Jan 19 12:30:17 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
2009/1/19 Alberto G. Corona :
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAkl0uKYACgkQvpDo5Pfl1oJ30wCfQzX80TulZxyyLLyaAcU/LPVc
PPMAoJl8tjhfrlWwoQ9yVGXlXStMDs+O
=lf6T
-----END PGP SIGNATURE-----
>
> Do really pluigins needs Cabal (>=1.4 && <1.5) ???
>
> C:\Documents and Settings\Administrator>cabal install plugins
> Resolving dependencies...
> cabal: dependencies conflict: ghc-6.10.1 requires Cabal ==1.6.0.1 however
> Cabal-1.6.0.1 was excluded because plugins-1.3.1 requires Cabal ==1.4.*
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
Yes. Suppose you change the deps:
hunk ./plugins.cabal 42
- Cabal >= 1.4 && < 1.5,
+ Cabal >= 1.4,
And then try to compile, you'll see (at least for me):
[ 3 of 16] Compiling System.Plugins.ParsePkgConfCabal (
src/System/Plugins/ParsePkgConfCabal.hs,
dist/build/System/Plugins/ParsePkgConfCabal.o )
src/System/Plugins/ParsePkgConfCabal.hs:287:34:
Ambiguous occurrence `depends'
It could refer to either
`Distribution.InstalledPackageInfo.depends', imported from
Distribution.InstalledPackageInfo at
src/System/Plugins/ParsePkgConfCabal.hs:8:0-39
or `Distribution.Package.depends', imported
from Distribution.Package at
src/System/Plugins/ParsePkgConfCabal.hs:9:0-26
src/System/Plugins/ParsePkgConfCabal.hs:300:36:
Ambiguous occurrence `depends'
It could refer to either
`Distribution.InstalledPackageInfo.depends', imported from
Distribution.InstalledPackageInfo at
src/System/Plugins/ParsePkgConfCabal.hs:8:0-39
or `Distribution.Package.depends', imported
from Distribution.Package at
src/System/Plugins/ParsePkgConfCabal.hs:9:0-26
--
gwern
More information about the Haskell-Cafe
mailing list