Re: [Haskell-cafe] [xmonad] Cabal install problem

On Tue, Aug 30, 2011 at 12:30:08AM +0300, Tayfur Yilmaz wrote:
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
Can someone describe install packages sort list.. I read some document and 1.Firstly ı download a binary version of Ghc (version 7.0.2) (bootstrap.py)
bootstrap.py? There should not be any python scripts involved in installing a binary version of GHC. Where did you download it from? After installing it, does it work? If you type ghci at a command prompt, what happens? -Brent
2. cabal-install package download and install bu I send this bug
And now I want to build hackage platform
Command $ sudo ./configure Output ************************************************** * * Haskell Platform Source Installer * * For the Haskell Platform 2011.2.0.1 and GHC 7.0.3 * ************************************************** checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu *checking for ghc... notfound* configure: error: This installer for the Haskell Platform requires ghc to be installed first * If ghc is installed not on the PATH then use --with-ghc= and --with-ghc-pkg=* Command $ sudo ./configure --with-ghc= --with-ghc-pkg= Output ************************************************** * * Haskell Platform Source Installer * * For the Haskell Platform 2011.2.0.1 and GHC 7.0.3 * ************************************************** checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu *checking for hsc2hs... notfound* configure: error: The hsc2hs program could not be found. It is usually installed along with ghc. You may need to specify --with-hsc2hs=
Command sudo ./configure --with-ghc= --with-ghc-pkg= --with-hsc2hs= Output ************************************************** * * Haskell Platform Source Installer * * For the Haskell Platform 2011.2.0.1 and GHC 7.0.3 * ************************************************** checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking version of ghc... *configure: error: does not seem to work (or maybe it is not actually ghc). *
I build ghc binary and why I can't solve this problems.

I am also interested in the complete output of "ghc -v" and "ghc-pkg list -v". Meanwhile, the pros may notice that
Configuring Cabal-1.10.1.0...
is very suspicious because GHC 7.0.2 comes with exactly Cabal-1.10.1.0, so there is no normal reason why it is being re-installed (cabal-install's bootstrap.sh certainly detects that, and I have just tested it); and immediately next
Setup: At least the following dependencies are missing: base>=4&& <3&& >=2&& <5, unix>=2.0&& <2.5
base >= 4 && <3 is very very ill, usually a sign of a very messed up collection of packages.
participants (2)
-
Albert Y. C. Lai
-
Brent Yorgey