[Haskell-beginners] installing cabal 1.20 on linux mint debian edition (LMDE)
Ovidiu Deac
ovidiudeac at gmail.com
Thu May 29 18:44:46 UTC 2014
If I do cabal update && cabal install cabal
Apparently cabal is installed correctly
ovidiu at thinkpad ~ $ cabal update && cabal install cabal
Downloading the latest package list from hackage.haskell.org
Resolving dependencies...
Downloading Cabal-1.20.0.1..
[...skipping many lines...]
In-place registering Cabal-1.20.0.1...
Installing library in
/home/ovidiu/.cabal/lib/x86_64-linux-ghc-7.6.3/Cabal-1.20.0.1
Registering Cabal-1.20.0.1...
Installed Cabal-1.20.0.1
But I can't find ~/.cabal/bin anywhere
ovidiu at thinkpad ~ $ ls ~/.cabal
config lib logs packages share world
On Thu, May 29, 2014 at 1:55 PM, Vlatko Basic <vlatko.basic at gmail.com>
wrote:
> Install (any) cabal package in Ubuntu (with synaptic), and than run
>
> cabal update
> cabal install cabal
>
>
> After that new cabal will be in your .cabal/bin directory (which should be
> on your path), and available to you only.
>
>
> Cabal is just another package that can be installed. Current version is
> 1.20
>
> vlatko
>
>
> -------- Original Message --------
> Subject: Re: [Haskell-beginners] installing cabal 1.20 on linux mint
> debian edition (LMDE)
> From: Ovidiu Deac <ovidiudeac at gmail.com> <ovidiudeac at gmail.com>
> To: The Haskell-Beginners Mailing List - Discussion of primarily
> beginner-level topics related to Haskell <beginners at haskell.org>
> <beginners at haskell.org>
> Date: 29.05.2014 09:29
>
>
> 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
>> <https://launchpad.net/%7Ehvr/+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
>>
>>
>
>
> _______________________________________________
> Beginners mailing listBeginners at haskell.orghttp://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/c7625211/attachment-0001.html>
More information about the Beginners
mailing list