[Haskell-beginners] installing cabal 1.20 on linux mint debian edition (LMDE)
Ovidiu Deac
ovidiudeac at gmail.com
Thu May 29 07:29:38 UTC 2014
I'm trying to install a new version of cabal which supports sandboxes
(>=1.18). Note that the default version of cabal is 1.16.
Thanks for the pointers! I'll try installing from PPA in a few hours and
get back with an update
On Thu, May 29, 2014 at 9:22 AM, Christopher Allen <cma at bitemyapp.com>wrote:
> Not to judo past the original question, but would it solve your problem to
> use an Ubuntu PPA[1]or the cabal binary distribution[2]?
>
> Also were you trying to build it in a sandbox? You shouldn't be installing
> things willy-nilly outside of a sandbox[3].
>
> [1]: https://launchpad.net/~hvr/+archive/ghc
> [2]: http://www.haskell.org/cabal/download.html
> [3]https://github.com/bitemyapp/learnhaskell#cabal-guidelines
>
>
>
> On Thu, May 29, 2014 at 1:01 AM, Ovidiu Deac <ovidiudeac at gmail.com> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140529/9ca6e9a9/attachment.html>
More information about the Beginners
mailing list