Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Haskell-cafe] plugins can not be installed in ghc 6.10.1

0 views
Skip to first unread message

Alberto G. Corona

unread,
Jan 19, 2009, 12:27:03 PM1/19/09
to haskel...@haskell.org
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.*

Gwern Branwen

unread,
Jan 19, 2009, 12:34:05 PM1/19/09
to Alberto G. Corona, haskel...@haskell.org
-----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-----

> _______________________________________________
> Haskell-Cafe mailing list
> Haskel...@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
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Don Stewart

unread,
Jan 19, 2009, 1:16:39 PM1/19/09
to Alberto G. Corona, haskel...@haskell.org
agocorona:


Patches welcome. Probably switching to the 1.6 API won't be too hard.

0 new messages