[Haskell-beginners] installing cabal 1.20 on linux mint debian edition (LMDE)

Ovidiu Deac ovidiudeac at gmail.com
Thu May 29 06:01:33 UTC 2014


I'm trying to install cabal 1.20 like this:

I installed ghc and ghc-prof from apt repository so I got the following:
ii  ghc            7.6.3-5      amd64        The Glasgow Haskell
Compilation s
ii  ghc-prof       7.6.3-5      amd64        Profiling libraries for the
Glasg

Then I git cloned cabal and checked out Cabal-v1.20.0.0

Then I ran bootstrap.sh in cabal-install dir and I get the following error:

Using gcc for C compiler. If this is not what you want, set CC.
Using /usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 instead.
Checking installed packages for ghc-7.6.3...
deepseq is already installed and the version is ok.
time is already installed and the version is ok.
Cabal is already installed and the version is ok.
transformers is already installed and the version is ok.
mtl is already installed and the version is ok.
text is already installed and the version is ok.
parsec is already installed and the version is ok.
network is already installed and the version is ok.
HTTP is already installed and the version is ok.
zlib is already installed and the version is ok.
random is already installed and the version is ok.
stm is already installed and the version is ok.

[...skipping many lines]

package cabal-install-1.20.0.0 requires network-2.4.1.2
Building cabal-install-1.20.0.0...
Preprocessing executable 'cabal' for cabal-install-1.20.0.0...
<command line>: cannot satisfy -package-id
network-2.4.1.2-fc99093587d92370c7febe034504fb40:
    network-2.4.1.2-fc99093587d92370c7febe034504fb40 is shadowed by package
network-2.4.1.2-040cee5ece44014a8574cb3f87b1eec4
    (use -v for more information)

Error during cabal-install bootstrap:
Building the cabal-install package failed.

What am I doing wrong here?

Thanks,
Ovidiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140529/282b7bc3/attachment-0001.html>


More information about the Beginners mailing list