[Haskell-cafe] Building fresh cabal-install on raspberry-pi
lambda.fairy at gmail.com
Wed Dec 24 09:49:15 UTC 2014
You're experiencing a phenomenon commonly known as "dependency hell".
The usual and most straightforward solution is to nuke ~/.cabal and
~/.ghc and reinstall.
In the future, you should aim to install as many packages as possible
in one go, so that Cabal can ensure they work together up front. Also,
if you have multiple projects going, consider using Cabal sandboxes to
keep them separate.
These links might help:
On Wed, Dec 24, 2014 at 8:06 PM, Konstantine Rybnikov <k-bx at k-bx.com> wrote:
> Hi! I just got raspberry pi and installed debian wheezy on it. It has ghc
> 7.4.1 with cabal 1.14.0.
> I tried to do cabal install cabal-install and got this:
> In-place registering Cabal-126.96.36.199...
> Installing library in /home/pi/.cabal/lib/arm-linux-ghc-7.4.1/Cabal-188.8.131.52
> Registering Cabal-184.108.40.206...
> Downloading cabal-install-220.127.116.11...
> Configuring cabal-install-18.104.22.168...
> cabal: At least the following dependencies are missing:
> random >=1 && <1.1 && ==1.1
> cabal: Error: some packages failed to install:
> cabal-install-22.214.171.124 failed during the configure step. The exception was:
> If I do `cabal list --installed | less` and search for random I see:
> * random
> Synopsis: random number library
> Default available version: 1.1
> Installed versions: 126.96.36.199, 1.1
> License: BSD3
> Can anyone please help how do I resolve this and similar problems?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe