problems getting cabal-install to work on CentOS
chris at chrisdornan.com
Mon Apr 12 20:09:39 EDT 2010
I sent the message below out to libraries and then haskell-café before I
thought to try, or realised that there must be, a Cabal development list
(which I have now joined).
Basically I am trying to get the latest cabal-install to work with
GHC-6.12.1 on CentOS 5 and it is giving me an ExitFailure 127 when it
tries to configure the app with Cabal. Note that I can manually configure,
build and install the app myself without any problemI can even down load
the cabal tarbal, cd into the root directory and type cabal install and it
will work (provided it doesnt have to download and install any dependent
I dont know what is going wrong but, unless somebody knows what is failing,
to make progress it looks as if I need to add some instrumentation around
the code that is generating the error.
Can anybody point me in the right direction? If somebody has encountered
this before, or knows what is likely to be going on, or of Cabal debug
infrastructure I can call on, or the part of the source code that I can
instrument, I would be very grateful!
I am trying to install cabal-install 0.8.2 with GHC 6.12.1 on a CentOS 5.2
system and am running up against a ExitFailure 127 error.
I can download the package and run cabal install inside the package
directory and all will be fine, but if I let cabal download and install the
package cabal runs into problems as soon as it tries to configure.
For example, if I try cabal install permutation --verbose=3 it finishes
*** Deleting temp files:
*** Deleting temp dirs:
--verbose=3 --ghc --prefix=/home/chris/.cabal --user --constraint=base
==184.108.40.206 --constraint=ghc-prim ==0.2.0.0
cabal: Error: some packages failed to install:
permutation-0.4.1 failed during the configure step. The exception was:
I have tried the same exercise with GHC 6.10.4 with cabal-install 0.8.0 the
I have downloaded the Cabal sources to try and add some instrumentation to
find out what is going wrong but have yet to succeed.
Does anybody have any suggestions? Is there an easier way of getting
cabal-install working on CentOS?
Any help much appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cabal-devel