
download binary distribution for ghc-6.12.1, configure, sudo make install - fine try to build some packages: cabal configure ...: cabal: This version of the cabal program is too old to work with ghc-6.12+. You will need to install the 'cabal-install' package version 0.8 or higher. If you still have an older ghc installed (eg 6.10.4), run: $ cabal install -w ghc-6.10.4 'cabal-install >= 0.8' Right - looks like a very useful error message! Then let's do it: cabal install -w ghc-6.10.4 'cabal-install >= 0.8' Resolving dependencies... cabal: There is no available version of cabal-install that satisfies >=0.8 Indeed, a package with that version does not seem to exist. darcs get --partial http://darcs.haskell.org/cabal-install/ It says 0.7.5, but let's try anyway: sudo ./bootstrap.sh --global ... Error during cabal-install bootstrap: The Haskell package 'network' is required but it is not installed. Aha. Then let's get network from hackage, as in the olden days. And parsec. And mtl. And bytesting. And syb. Well, let's try to use "cabal fetch" to avoid at least some typing. But no, cabal ist too old for 6.12 - and "cabal fetch" does not understand "-w ghc-6.10.4" Manually download HTTP and zlib, and then cabal-install really builds. Great. Try to use it to build some packages, which finally breaks at derive-2.0.1 - but it seems this page is going to be helpful (thanks, guys): http://www.haskell.org/haskellwiki/Patches_and_forks_for_GHC_6.12 anyway I'm stopped now because somewhere along the way this happened: waldmann@octopus:~/software/haskell/ghc-syb$ ghc-pkg check There are problems in package ghc-binary-0.5.0.2: dependency "bytestring-0.9.1.5-01c5fa5da70289596d73fa2e44360d8a" doesn't exist best - J.W.

I noticed noise on the cabal list about updating for 6.12, and that it was nontrivial. Also, haddock won't compile with 6.12, and I couldn't find anything about a new release. If someone else doesn't get there first, I'll add them to the wiki tonight.

Ohh, it's for *patches*, not just warnings. Never mind then...
On Mon, Dec 14, 2009 at 4:08 PM, Evan Laforge
I noticed noise on the cabal list about updating for 6.12, and that it was nontrivial.
Also, haddock won't compile with 6.12, and I couldn't find anything about a new release.
If someone else doesn't get there first, I'll add them to the wiki tonight.

Am Dienstag 15 Dezember 2009 00:56:19 schrieb Johannes Waldmann:
download binary distribution for ghc-6.12.1, configure, sudo make install - fine
try to build some packages: cabal configure ...:
cabal: This version of the cabal program is too old to work with ghc-6.12+. You will need to install the 'cabal-install' package version 0.8 or higher. If you still have an older ghc installed (eg 6.10.4), run: $ cabal install -w ghc-6.10.4 'cabal-install >= 0.8'
Right - looks like a very useful error message! Then let's do it:
cabal install -w ghc-6.10.4 'cabal-install >= 0.8' Resolving dependencies... cabal: There is no available version of cabal-install that satisfies >=0.8
What I wrote to ghc-users: Oh great, that's not what I expected: $ cabal install cabal-install cabal: This version of the cabal program is too old to work with ghc-6.12+. You will need to install the 'cabal-install' package version 0.8 or higher. If you still have an older ghc installed (eg 6.10.4), run: $ cabal install -w ghc-6.10.4 'cabal-install >= 0.8' $ cabal install -w ghc-6.10.3 'cabal-install >= 0.8' Resolving dependencies... cabal: There is no available version of cabal-install that satisfies >=0.8 Oops, nothing higher than 0.6.4 on Hackage, even darcs.haskell.org/cabal-install is only version 0.7.5. That seems to work, though, but I needed to manually install network, mtl and parsec before bootstrap.sh ran. So: $ darcs get http://darcs.haskell.org/cabal-install $ cabal unpack network $ cabal unpack mtl $ cabal unpack parsec -- cabal unpack and cabal update worked with my cabal-0.6.4, those commands apparently don't need ghc for p in { network, mtl, parsec } cd p ghc --make Setup.(l)hs ./Setup configure --options ./Setup build ./Setup install cd cabal-install chmod +x bootstrap.sh ./bootstrap.sh Phew, works (for me, at least) Duncan says the release of cabal-install-0.8 is near.
Indeed, a package with that version does not seem to exist. darcs get --partial http://darcs.haskell.org/cabal-install/ It says 0.7.5, but let's try anyway:
sudo ./bootstrap.sh --global ... Error during cabal-install bootstrap: The Haskell package 'network' is required but it is not installed.
Aha. Then let's get network from hackage, as in the olden days. And parsec. And mtl. And bytesting. And syb. Well, let's try to use "cabal fetch" to avoid at least some typing. But no, cabal ist too old for 6.12 - and "cabal fetch" does not understand "-w ghc-6.10.4"
Manually download HTTP and zlib, and then cabal-install really builds. Great. Try to use it to build some packages, which finally breaks at derive-2.0.1 -
but it seems this page is going to be helpful (thanks, guys): http://www.haskell.org/haskellwiki/Patches_and_forks_for_GHC_6.12
anyway I'm stopped now because somewhere along the way this happened:
waldmann@octopus:~/software/haskell/ghc-syb$ ghc-pkg check There are problems in package ghc-binary-0.5.0.2: dependency "bytestring-0.9.1.5-01c5fa5da70289596d73fa2e44360d8a" doesn't exist
best - J.W.
participants (3)
-
Daniel Fischer
-
Evan Laforge
-
Johannes Waldmann