On Fri, Mar 25, 2011 at 10:15 AM, Corey O'Connor <[email protected]> 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 [email protected] http://groups.google.com/group/yi-devel
