
Hi Café. I'm building GHC from package ghc-7.4.1-src.tar.bz2 as the binary download was throwing segfaults for me (and apparently a few others). This has worked well and my issues with GHC and GHCi are now resolved. However I have needed to build cabal-install. This can't be done using cabal-install because it isn't installed :) I've found that I had to make several modifications to the bootstrap.sh and cabal-install.cabal files in order to get this to work. I am wondering how the maintainers of the Haskell-platform, etc are dealing with these issues. There seems to be a cabal-install-7.4.1 package on Hackage to address these issues, but I couldn't get it to work for me. Is this actually being used by the community? I realize that I am making trouble for myself by not just using the Haskell-Platform, but there are some packages I want to use that depend on recent versions of base. Thanks!

On Apr 16, 2012, at 5:28 AM, Lyndon Maydwell wrote:
I've found that I had to make several modifications to the bootstrap.sh and cabal-install.cabal files in order to get this to work. I am wondering how the maintainers of the Haskell-platform, etc are dealing with these issues.
I usually get a recent cabal-install from the Cabal Darcs repository, which normally builds without modifications to bootstrap.sh on a recent GHC: darcs get http://darcs.haskell.org/cabal/ Or if you want a particular branch (such as 1.14): darcs get http://darcs.haskell.org/cabal-branches/cabal-1.14/ Of course, you need Darcs to do this, but binary builds of Darcs are provided on the Darcs website. -- Daniël

Nice tip!
On Mon, Apr 16, 2012 at 4:42 PM, Daniël de Kok
On Apr 16, 2012, at 5:28 AM, Lyndon Maydwell wrote:
I've found that I had to make several modifications to the bootstrap.sh and cabal-install.cabal files in order to get this to work. I am wondering how the maintainers of the Haskell-platform, etc are dealing with these issues.
I usually get a recent cabal-install from the Cabal Darcs repository, which normally builds without modifications to bootstrap.sh on a recent GHC:
darcs get http://darcs.haskell.org/cabal/
Or if you want a particular branch (such as 1.14):
darcs get http://darcs.haskell.org/cabal-branches/cabal-1.14/
Of course, you need Darcs to do this, but binary builds of Darcs are provided on the Darcs website.
-- Daniël
participants (2)
-
Daniël de Kok
-
Lyndon Maydwell