
Greetings, I was doing a clean, from scratch install of ghc-7.4.1 and was trying to get cabal-install to work, and since I am new I tried to do all the bootstrap.sh stuff myself. After failing and starting over I saw this package (cabal-install-ghc74) and gave it a shot. Unfortunately with a fresh install there are three things wrong. 1. It was not checking for the right .cabal file. 2. network-2.3.0.5 has the restriction of base <4.5, ghc-7.4.1 ships with base 4.5 so bootstrap.sh fails. Using the latest version (2.3.0.13 at time of writing) solved that issue. 3. HTTP-4000.1.2 has the same restriction as the previous (base <4.5). I just used HTTP-4000.2.3 instead. This builds cabal correctly on my x86_64 Debian stable box. I don't know how I am supposed to do this, but I just attached a diff if that helps. Thanks === BEGIN DIFF === 50c50 < NETWORK_VER="2.3.0.5"; NETWORK_VER_REGEXP="2\." # == 2.* ---
NETWORK_VER="2.3.0.13"; NETWORK_VER_REGEXP="2\." # == 2.* 54c54 < HTTP_VER="4000.1.2"; HTTP_VER_REGEXP="4000\.[01]\." # == 4000.0.* || 4000.1.*
HTTP_VER="4000.2.3"; HTTP_VER_REGEXP="4000\.2\." # == 4000.2.* 69c69 < grep "cabal-install-ghc72" ./cabal-install-ghc72.cabal > /dev/null 2>&1 \
grep "cabal-install-ghc74" ./cabal-install-ghc74.cabal > /dev/null 2>&1 \
=== END DIFF === PS: There are a lot of emacs temp files (~) in this tarball as well. I don't know what the policy is on removing them or if anyone cares.

On Sat, May 26, 2012 at 7:32 PM, xemdetia .
Greetings,
I was doing a clean, from scratch install of ghc-7.4.1 and was trying to get cabal-install to work, and since I am new I tried to do all the bootstrap.sh stuff myself. After failing and starting over I saw this package (cabal-install-ghc74) and gave it a shot. Unfortunately with a fresh install there are three things wrong.
Hi, As far as I can tell, cabal-install-ghc74 is not an official distribution, it's maintained by someone unrelated to the Cabal team (and hence possibly not on this mailing list). Furthermore, it says at the top of its description page "Don't complain if it does not work for you", so I imagine your time might be better spent talking more about why your first attempt failed :) For reference, the official cabal-install package is here: http://hackage.haskell.org/package/cabal-install and I'm using cabal-install-0.14.0 with ghc-7.4.1 fine here, although I admit I don't remember if I installed it with that version of ghc (I seem to have several nowadays).

Hi. As Ben said, cabal-install-0.14.0 should just work with ghc-7.4.1. The cabal-install-ghc74 package is "unofficial". Cheers, Andres -- Andres Löh, Haskell Consultant Well-Typed LLP, http://www.well-typed.com
participants (3)
-
Andres Löh
-
Ben Millwood
-
xemdetia .