
Hi everyone I have some problem for install 'cabal-install package' I downloaded and succesfully build a binary source ghc-7.0.2. Then I want to install cabal-0.10.2 and ı see some warning and last output like this Linking Setup ... Configuring Cabal-1.10.1.0... Setup: At least the following dependencies are missing: base >=4 && <3 && >=2 && <5, unix >=2.0 && <2.5 Error during cabal-install bootstrap: Configuring the Cabal package failed Then ı want to use cabal-0.8 and output like this Linking Setup ... Configuring Cabal-1.8.0.2... Setup: At least the following dependencies are missing: base >=4 && <3 && >=1 && <5, filepath >=1 && <1.2, unix >=2.1 && <2.5 Error during cabal-install bootstrap: Configuring the Cabal package failed So Which compatible versiyon for cabal-install version I use Kde4 on Pardushttp://www.pardus.org.tr/ Best Regards

You should already have the Cabal library installed (it comes with
GHC, and should not be upgraded -- it is released in tandem with
changes to GHC's internals). If you are trying to install the "cabal"
command, the package to get from Hackage is called "cabal-install".
Sorry about the weird naming, and good luck.
~d
Quoting Tayfur Yilmaz
Hi everyone I have some problem for install 'cabal-install package' I downloaded and succesfully build a binary source ghc-7.0.2. Then I want to install cabal-0.10.2 and ? see some warning and last output like this Linking Setup ... Configuring Cabal-1.10.1.0... Setup: At least the following dependencies are missing: base >=4 && <3 && >=2 && <5, unix >=2.0 && <2.5
Error during cabal-install bootstrap: Configuring the Cabal package failed
Then ? want to use cabal-0.8 and output like this Linking Setup ... Configuring Cabal-1.8.0.2... Setup: At least the following dependencies are missing: base >=4 && <3 && >=1 && <5, filepath >=1 && <1.2, unix >=2.1 && <2.5
Error during cabal-install bootstrap: Configuring the Cabal package failed
So Which compatible versiyon for cabal-install version I use Kde4 on Pardushttp://www.pardus.org.tr/
Best Regards

The OP was in fact running the cabal-install bootstrap script. The strange thing is why the cabal-install bootstrap script was trying to install the Cabal library. I don't know the answer though. -Brent On Mon, Aug 29, 2011 at 03:49:31PM -0400, wagnerdm@seas.upenn.edu wrote:
You should already have the Cabal library installed (it comes with GHC, and should not be upgraded -- it is released in tandem with changes to GHC's internals). If you are trying to install the "cabal" command, the package to get from Hackage is called "cabal-install".
Sorry about the weird naming, and good luck. ~d
Quoting Tayfur Yilmaz
: Hi everyone I have some problem for install 'cabal-install package' I downloaded and succesfully build a binary source ghc-7.0.2. Then I want to install cabal-0.10.2 and ? see some warning and last output like this Linking Setup ... Configuring Cabal-1.10.1.0... Setup: At least the following dependencies are missing: base >=4 && <3 && >=2 && <5, unix >=2.0 && <2.5
Error during cabal-install bootstrap: Configuring the Cabal package failed
Then ? want to use cabal-0.8 and output like this Linking Setup ... Configuring Cabal-1.8.0.2... Setup: At least the following dependencies are missing: base >=4 && <3 && >=1 && <5, filepath >=1 && <1.2, unix >=2.1 && <2.5
Error during cabal-install bootstrap: Configuring the Cabal package failed
So Which compatible versiyon for cabal-install version I use Kde4 on Pardushttp://www.pardus.org.tr/
Best Regards
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

I ran into this exact problem and solved it more or less. I eventually gave up on the motivating task and ditched my ~/.ghc and ~/.cabal anyway so let me try to remember how it got it going... 1. Install darcs 1.a. Don't use MacPorts as it pulls in an older GHC as a dependency, google around for a once-click darcs installer which will use your existing GHC 2. darcs get http://darcs.haskell.org/cabal 3. Manually fix the bootstrap.sh file Towards the top of the script should be a few lines that specify VER and VER_REGEX variables. You need to update these variables to the latest versions available on hackage. Also, update the version regex to include the Cabal version that came with your GHC installation (so bootstrap won't reinstall it). This prevents bootstrap from pulling older library versions with a base < whatever version bound. I also had to add a new library dependency for "random". This means a VER/VER_REGEX line, an info_pkg line and a do_pkg line. 4. /bin/sh bootstrap.sh ...and hope. The darcs step might not be needed, only the updates to bootstrap -- at the point I realized the core issue (bootstrap downloading outdated versions of support libraries) I had already darcs gotten it... Anyway, this got me a working cabal- install with a preexisting GHC 7.2 on Mac OS X 10.6 as recently as this morning. HTH, Pat PS: I lol'd at "base >=4 && <3"... On 08/29/11 at 04:41pm, Brent Yorgey wrote:
The OP was in fact running the cabal-install bootstrap script. The strange thing is why the cabal-install bootstrap script was trying to install the Cabal library. I don't know the answer though.
-Brent
On Mon, Aug 29, 2011 at 03:49:31PM -0400, wagnerdm@seas.upenn.edu wrote:
You should already have the Cabal library installed (it comes with GHC, and should not be upgraded -- it is released in tandem with changes to GHC's internals). If you are trying to install the "cabal" command, the package to get from Hackage is called "cabal-install".
Sorry about the weird naming, and good luck. ~d
Quoting Tayfur Yilmaz
: Hi everyone I have some problem for install 'cabal-install package' I downloaded and succesfully build a binary source ghc-7.0.2. Then I want to install cabal-0.10.2 and ? see some warning and last output like this Linking Setup ... Configuring Cabal-1.10.1.0... Setup: At least the following dependencies are missing: base >=4 && <3 && >=2 && <5, unix >=2.0 && <2.5
Error during cabal-install bootstrap: Configuring the Cabal package failed
Then ? want to use cabal-0.8 and output like this Linking Setup ... Configuring Cabal-1.8.0.2... Setup: At least the following dependencies are missing: base >=4 && <3 && >=1 && <5, filepath >=1 && <1.2, unix >=2.1 && <2.5
Error during cabal-install bootstrap: Configuring the Cabal package failed
So Which compatible versiyon for cabal-install version I use Kde4 on Pardushttp://www.pardus.org.tr/
Best Regards
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- patrick brisbin

2011/8/29 Tayfur Yilmaz
Hi everyone I have some problem for install 'cabal-install package' I downloaded and succesfully build a binary source ghc-7.0.2. Then I want to install cabal-0.10.2 and ı see some warning and last output like this Linking Setup ... Configuring Cabal-1.10.1.0... Setup: At least the following dependencies are missing: base >=4 && <3 && >=2 && <5, unix >=2.0 && <2.5
For what it's worth, I got this while manually bootstrapping haskell-platform onto a GHC HEAD build and it turned out to be a complex interaction between unix, network, bytestring, and base versions. Cabal's ability to report such things is limited, to say the least. (More specifically: I'd have to go through the bootstrap again to get the full details, but Cabal somehow managed to conclude that it needed a version of base with bytestring in it at the same time that it needed a modern version of base, and this was triggered somehow by newer versions of network which have subsumed the old network-bytestring package. IIRC it actually made a certain twisted sense at the time.) -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
participants (5)
-
Brandon Allbery
-
Brent Yorgey
-
Patrick Brisbin
-
Tayfur Yilmaz
-
wagnerdm@seas.upenn.edu