Can you do a "cabal configure --dry-run -v" and attach the full output. It'll be quite long.
The -v dumps out more information about the logic that cabal goes through. Sometimes it's short summaries of the problems are woefully incomplete :-) -Corey O'Connor coreyocon...@gmail.com http://inebriatedrobot.com/ On Sat, Mar 26, 2011 at 10:13 AM, Tony Miller <mcfiredr...@gmail.com> wrote: > On Fri, Mar 25, 2011 at 10:15 AM, Corey O'Connor <coreyocon...@gmail.com> > wrote: >> I think two things are necessary in this case: >> 1. Upgrade GHC to get the GHC package to depend on the same Cabal as yi. >> 2. Reinstall the dependencies making sure mtl >= 2 is selected. Use >> "--constraint 'mtl >= 2.0.0'" as a parameter to cabal. > > Alright, I've got GHC 7 and all the libraries, but now I'm having cabal > issues. > > Registering Cabal-1.10.1.0... > Installing library in /home/tony/.cabal/lib/Cabal-1.10.1.0/ghc-7.0.2 > Registering Cabal-1.10.1.0... > █▓▒░tony@pp░▒▓█ ~/src/yi/yi $ cabal configure > Warning: yi.cabal: This package requires Cabal version: >=1.10 > > As far as I can tell, I *do* have Cabal-1.10.1.0 installed despite > gripes from the configure script. > > Any help? Sorry, I think the issue is now more the fault of my less > than pristine development environment than Yi's. Here's the full > `cabal configure` output: > > Warning: yi.cabal: This package requires Cabal version: >=1.10 > Warning: yi.cabal: Unknown fields: default-language (line 67) > Fields allowed in this section: > exposed-modules, exposed, buildable, build-tools, cpp-options, > cc-options, ld-options, pkgconfig-depends, frameworks, c-sources, > extensions, extra-libraries, extra-lib-dirs, includes, > install-includes, include-dirs, hs-source-dirs, other-modules, > ghc-prof-options, ghc-shared-options, ghc-options, hugs-options, > nhc98-options, jhc-options > Warning: yi.cabal: Unknown fields: default-language (line 316) > Fields allowed in this section: > executable, main-is, buildable, build-tools, cpp-options, > cc-options, ld-options, pkgconfig-depends, frameworks, c-sources, > extensions, extra-libraries, extra-lib-dirs, includes, > install-includes, include-dirs, hs-source-dirs, other-modules, > ghc-prof-options, ghc-shared-options, ghc-options, hugs-options, > nhc98-options, jhc-options > Warning: yi.cabal: Unknown fields: default-language (line 333) > Fields allowed in this section: > executable, main-is, buildable, build-tools, cpp-options, > cc-options, ld-options, pkgconfig-depends, frameworks, c-sources, > extensions, extra-libraries, extra-lib-dirs, includes, > install-includes, include-dirs, hs-source-dirs, other-modules, > ghc-prof-options, ghc-shared-options, ghc-options, hugs-options, > nhc98-options, jhc-options > Resolving dependencies... > Configuring yi-0.6.3.0... > Warning: This package indirectly depends on multiple versions of the same > package. This is highly likely to cause a compile failure. > package ghc-7.0.2 requires Cabal-1.10.1.0 > package bin-package-db-0.0.0.0 requires Cabal-1.10.1.0 > package yi-0.6.3.0 requires Cabal-1.10.1.0 > > -- > Yi development mailing list > yi-devel@googlegroups.com > http://groups.google.com/group/yi-devel -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel