Problem installing cabal on OS X
benjohn at fysh.org
Wed Apr 8 14:28:11 EDT 2009
After following the quick unix instructions here:
Cabal itself seems to download and install okay, but then the HTTP
dependency fails, I think. I get the following error anyway (and the
same error if I re-run).
> Checking installed packages for ghc-6.6.1...
> parsec is already installed and the version is ok.
> network is already installed and the version is ok.
> Cabal is already installed and the version is ok.
> HTTP-4000.0.4 will be downloaded and installed.
> zlib-0.5.0.0 will be downloaded and installed.
> Downloading HTTP-4000.0.4...
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 44063 100 44063 0 0 14887 0 0:00:02 0:00:02 --:--:-- 26357
> [1 of 1] Compiling Main ( Setup.lhs, Setup.o )
> Linking Setup ...
> Configuring HTTP-4000.0.4...
> Setup: At least the following dependencies are missing:
> array -any, bytestring -any, old-time -any
> Error during cabal-install bootstrap:
> Configuring the HTTP package failed
My GHC is:
> cabal-install-0.6.2 # ghc -v
> Glasgow Haskell Compiler, Version 6.6.1, for Haskell 98, compiled by GHC version 6.6.1
> Using package config file: /opt/local/lib/ghc-6.6.1/package.conf
> Using package config file: /Users/benjohn/.ghc/powerpc-darwin-6.6.1/package.conf
> hiding package Cabal-184.108.40.206 to avoid conflict with later version Cabal-220.127.116.11
> wired-in package base mapped to base-2.1.1
> wired-in package rts mapped to rts-1.0
> wired-in package haskell98 mapped to haskell98-1.0
> wired-in package template-haskell mapped to template-haskell-2.1
> Hsc static flags: -static
> *** Deleting temp files:
> *** Deleting temp dirs:
> ghc-6.6.1: no input files
> Usage: For basic information, try the `--help' option.
> cabal-install-0.6.2 #
I'm running OS X 10.5.6 on a 1.3 GHz PowerPC G4.
Any ideas? :-)
More information about the cabal-devel