[darcs-users] Can't compile darcs on OSX 10.8.1 from cabal

Ash Moran ash.moran at patchspace.co.uk
Mon Sep 10 15:50:20 UTC 2012


Hi all

I'm trying to get the latest darcs installed on my fresh Mountain Lion install. I've been following the Homebrew instructions on the Binaries page[1] and I've got as far as `cabal install`, but it fails. I've attached the (verbose) error output below. It means nothing to me unfortunately as I'm not a Haskell developer. Can anyone help me decipher it?

Also I noticed the latest OS X binary available is for Darcs 2.5. Does that mean nobody is using it on OS X any more, or is everyone just using a package manager of some sort to install it? (Presumably cabal, as the MacPorts port is about a year old now.)

Cheers
Ash

[1] http://darcs.net/Binaries

================================================
% cabal install -v --prefix=/usr/local darcs      
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Extracting
/Users/ashmoran/.cabal/packages/hackage.haskell.org/dataenc/0.14.0.3/dataenc-0.14.0.3.tar.gz
to /var/folders/l4/d10c6ygs5dg99x0lxwz3hgwr0000gn/T/dataenc-0.14.0.3-43443...
Configuring dataenc-0.14.0.3...
Flags chosen: buildtests=False
Dependency array ==0.4.0.0: using array-0.4.0.0
Dependency base ==4.5.1.0: using base-4.5.1.0
Dependency containers ==0.4.2.1: using containers-0.4.2.1
The build-tool has reset ENV. --env=std required.
Extracting
/Users/ashmoran/.cabal/packages/hackage.haskell.org/mmap/0.5.8/mmap-0.5.8.tar.gz
to /var/folders/l4/d10c6ygs5dg99x0lxwz3hgwr0000gn/T/mmap-0.5.8-43443...
Configuring mmap-0.5.8...
Flags chosen: mmaptest=False
Dependency base ==4.5.1.0: using base-4.5.1.0
Dependency bytestring ==0.9.2.1: using bytestring-0.9.2.1
The build-tool has reset ENV. --env=std required.
Extracting
/Users/ashmoran/.cabal/packages/hackage.haskell.org/primitive/0.4.1/primitive-0.4.1.tar.gz
to /var/folders/l4/d10c6ygs5dg99x0lxwz3hgwr0000gn/T/primitive-0.4.1-43443...
Configuring primitive-0.4.1...
Dependency base ==4.5.1.0: using base-4.5.1.0
Dependency ghc-prim ==0.2.0.0: using ghc-prim-0.2.0.0
The build-tool has reset ENV. --env=std required.
Extracting
/Users/ashmoran/.cabal/packages/hackage.haskell.org/tar/0.3.2.0/tar-0.3.2.0.tar.gz
to /var/folders/l4/d10c6ygs5dg99x0lxwz3hgwr0000gn/T/tar-0.3.2.0-43443...
Configuring tar-0.3.2.0...
Dependency base ==4.5.1.0: using base-4.5.1.0
Dependency bytestring ==0.9.2.1: using bytestring-0.9.2.1
Dependency directory ==1.1.0.2: using directory-1.1.0.2
Dependency filepath ==1.3.0.0: using filepath-1.3.0.0
Dependency old-time ==1.1.0.0: using old-time-1.1.0.0
The build-tool has reset ENV. --env=std required.
Extracting
/Users/ashmoran/.cabal/packages/hackage.haskell.org/terminfo/0.3.2.5/terminfo-0.3.2.5.tar.gz
to /var/folders/l4/d10c6ygs5dg99x0lxwz3hgwr0000gn/T/terminfo-0.3.2.5-43443...
Configuring terminfo-0.3.2.5...
Dependency base ==4.5.1.0: using base-4.5.1.0
The build-tool has reset ENV. --env=std required.
Extracting
/Users/ashmoran/.cabal/packages/hackage.haskell.org/utf8-string/0.3.7/utf8-string-0.3.7.tar.gz
to /var/folders/l4/d10c6ygs5dg99x0lxwz3hgwr0000gn/T/utf8-string-0.3.7-43443...
Configuring utf8-string-0.3.7...
Flags chosen: bytestring-in-base=False
Dependency base ==4.5.1.0: using base-4.5.1.0
Dependency bytestring ==0.9.2.1: using bytestring-0.9.2.1
The build-tool has reset ENV. --env=std required.
Updating world file...
cabal: Error: some packages failed to install:
darcs-2.8.2 depends on utf8-string-0.3.7 which failed to install.
dataenc-0.14.0.3 failed during the configure step. The exception was:
ExitFailure 1
hashed-storage-0.5.9 depends on mmap-0.5.8 which failed to install.
haskeline-0.6.4.7 depends on utf8-string-0.3.7 which failed to install.
mmap-0.5.8 failed during the configure step. The exception was:
ExitFailure 1
primitive-0.4.1 failed during the configure step. The exception was:
ExitFailure 1
tar-0.3.2.0 failed during the configure step. The exception was:
ExitFailure 1
terminfo-0.3.2.5 failed during the configure step. The exception was:
ExitFailure 1
utf8-string-0.3.7 failed during the configure step. The exception was:
ExitFailure 1
vector-0.9.1 depends on primitive-0.4.1 which failed to install.
================================================

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashmoran



More information about the darcs-users mailing list