[Haskell] macports, cabal, cabal-install difficulty
research at fairtlough.net
Sat Dec 18 14:52:11 CET 2010
Hello, I'm new to this list and to hackage/cabal/cabal-install and
haskell on the mac generally. I don't dare post on cabal-devel because
I'm a newbie.
I came to this question because I haven't been able to install the unix
package properly (some packages I want depend on it) but I've posted
separately in haskell-cafe on that.
I've port version 1.9.2 and haskell-platform @2009.2.0.2 (devel, haskell)
My question: Is cabal currently out-of-the-box compatible with
macports? I seem to have problems with cabal-install, in particular the
ld warning and the fact that cabal doesn't seem to know what version of
cabal-install is installed.
bash-3.2# cabal info cabal
* Cabal (library)
Synopsis: A framework for packaging Haskell software
Latest version available: 188.8.131.52
Latest version installed: 184.108.40.206
bash-3.2# cabal install cabal-install-0.8.2
Preprocessing executables for cabal-install-0.8.2...
....<lots of build information deleted>...
[40 of 40] Compiling Main ( Main.hs,
Linking dist/build/cabal/cabal ...
ld: warning: -read_only_relocs cannot be used with x86_64
Installing executable(s) in /Users/matthew/.cabal/bin
bash-3.2# cabal info cabal-install
* cabal-install (program)
Synopsis: The command-line interface for Cabal and Hackage.
Latest version available: 0.8.2
Latest version installed: [ Unknown ]
....and lots more:...
Bug reports: http://hackage.haskell.org/trac/hackage/
Description: The \'cabal\' command-line program simplifies the
managing Haskell software by automating the fetching,
configuration, compilation and installation of Haskell
libraries and programs.
Author: Lemmih <lemmih at gmail.com>
Paolo Martini <paolo at nemail.it>
Bjorn Bringert <bjorn at bringert.net>
Isaac Potoczny-Jones <ijones at syntaxpolice.org>
Duncan Coutts <duncan at haskell.org>
Maintainer: cabal-devel at haskell.org
Source repo: http://darcs.haskell.org/cabal-install/
Flags: old-base, bytestring-in-base
Dependencies: unix >=1.0 && <2.5, Win32 ==2.*, bytestring >=0.9,
base <2.0 || >=3.0, base >=2.0 && <2.2, old-time >=1
array >=0.1 && <0.4, containers >=0.1 && <0.4,
random >=1 && <1.1, pretty >=1 && <1.1,
directory >=1 && <1.1, process >=1 && <1.1, base >=3,
base <3, time ==1.1.*, zlib >=0.4 && <0.6,
HTTP >=4000.0.2 && <4001, network >=1 && <3,
Cabal ==1.8.*, base >=2 && <5
More information about the Haskell