[Haskell-beginners] LTS is good but...

emacstheviking objitsu at gmail.com
Tue Mar 3 20:20:59 UTC 2015


Forgot to add that somehow, despite the upgrade, my cabal version has gone
backwards from 1.20.0.1 to 1.16.0

WTF?


On 3 March 2015 at 20:19, emacstheviking <objitsu at gmail.com> wrote:

> I started an OpenGL project within an LTS sandbox as guided on another
> post and, somewhat foolishly it would see, I did a "cabal install
> cabal-install" when prompted that a new version was available.
>
> The very next time I tried to work on my code.... I got this:
>
> bash-3.2$ pwd
> /Users/seancharles/Documents/Coding/haskell/lts1
> bash-3.2$ cabal build
> cabal: You need to re-run the 'configure' command. The version of Cabal
> being
> used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).
> bash-3.2$ cabal configure
> Resolving dependencies...
> Configuring lts1-0.1.0.0...
> cabal: At least the following dependencies are missing:
> base ==4.7.*
> bash-3.2$ cabal build
> cabal: You need to re-run the 'configure' command. The version of Cabal
> being
> used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).
> bash-3.2$ ls -l
> total 112
> -rw-r--r--  1 seancharles  staff     19 Mar  2 12:53 LICENCSE
> -rw-r--r--  1 seancharles  staff    552 Mar  3 20:09 Main.hs
> -rw-r--r--  1 seancharles  staff    477 Mar  3 20:07 Main.hs~
> -rw-r--r--  1 seancharles  staff     46 Mar  2 12:52 Setup.hs
> -rw-r--r--  1 seancharles  staff  30198 Mar  2 12:51 cabal.config
> -rw-r--r--  1 seancharles  staff   1090 Mar  2 12:51 cabal.sandbox.config
> drwxr-xr-x  5 seancharles  staff    170 Mar  2 12:53 dist
> -rw-r--r--  1 seancharles  staff   1932 Mar  2 12:52 lts1.cabal
> bash-3.2$
>
> So, welcome to a different kind of hell, "cabal version hell" perhaps?
>
> Can anybody help me get it running again?
> Thanks.
> Sean.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150303/b2e67bed/attachment.html>


More information about the Beginners mailing list