Hello, On Sunday 07 September 2008 13:07, Eric Kow wrote: > ... > So the cabal-install > dependencies are Cabal, HTTP and zlib. Do you know which subset of > these installs painlessly on GHC 6.6?
This seems to answer your question: > thorkil-naurs-mac-mini:~ thorkilnaur$ ghc-pkg list > /Users/thorkilnaur/tn/install/ghc-6.6.1/lib/ghc-6.6.1/package.conf: > Cabal-1.1.6.2, GLUT-2.1.1, HGL-3.1.1, HUnit-1.1.1, OpenAL-1.3.1, > OpenGL-2.2.1, QuickCheck-1.0.1, X11-1.2.1, base-2.1.1, > cgi-3001.1.1, fgl-5.4.1, filepath-1.0, (ghc-6.6.1), > haskell-src-1.0.1, haskell98-1.0, html-1.0.1, mtl-1.0.1, > network-2.0.1, parsec-2.0, readline-1.0, regex-base-0.72, > regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, > template-haskell-2.1, time-1.1.1, unix-2.1, xhtml-3000.0.2 > /Users/thorkilnaur/.ghc/powerpc-darwin-6.6.1/package.conf: > Cabal-1.4.0.2, HTTP-3001.0.4, old-locale-1.0.0.0, polyparse-1.1, > zlib-0.4.0.4 > thorkil-naurs-mac-mini:~ thorkilnaur$ So it appears that all three of the packages that you ask about install fine, only cabal install itself doesn't. (I use the --user and --prefix=... flags on my "Setup configure"s.) > ... > > > 2. Install maybench > > > ------------------- > > > cabal update > > > cabal install maybench --global > > > > Without cabal install, I was unable to do this. I did try to install it as an > > ardinary Cabal package, but got: > > > > > Setup: maybench.cabal:8: 'Executable' stanza starting with field 'category' > > My guess here is that you have an older version of Cabal. Could you > try ghc-pkg list Cabal? In my eager GHC 6.6 days, I recall that > upgrading the Cabal library was not such a bad experience. Maybe there > is an older but good-enough version of Cabal that will do the trick. As the ghc-pkg list output quoted earlier reveals, after running the cabal install bootstrap script, I have several Cabal versions installed. At this point, I got creative and tried to compile the maybench Setup.lhs using ghc -v --make Setup.lhs. The output contained the encouraging line: > hiding package Cabal-1.1.6.2 to avoid conflict with later version Cabal-1.4.0.2 and using this ghc-6.6.1-compiled Setup.lhs, I was able to complete the installation of maybench. One explanation of the earlier failure could be that runhaskell doesn't take --user packages into account. In any case, there were the minor matters > Setup: At least the following dependencies are missing: > benchpress >=0.2.2.1 && <0.2.3 && >=0.2.2.1 && <0.2.3 && >=0.2.2.1 && <0.2.3, > filepath >=1.1 && <1.2 but I was able to install those without additional problems. Also: > Warning: This package indirectly depends on multiple versions of the same > package. This is highly likely to cause a compile failure. > package Cabal-1.4.0.2 requires filepath-1.0 > package maybench-0.2.4.1 requires filepath-1.1.0.0 Nevertheless, it didn't. And, as you can see on the http://buildbot.darcs.net/buildbot-darcs/waterfall display, tn20 now runs maybench. > ... Thanks a lot and best regards Thorkil _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
