<div dir="ltr">Aaaaaarrrrrrrrrggghhh!<div><br></div><div>LMAO. 30 years ago it was all simpler.... but we didn't have Haskell!</div><div><br></div><div>;)<br><br>Thanks. I will read that page and try again.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2015 at 09:28, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'd recommend looking at:<br><br><a href="http://www.stackage.org/install#mac-os-x" target="_blank">http://www.stackage.org/install#mac-os-x</a><br><div><a href="https://github.com/bitemyapp/learnhaskell/blob/master/README.md#mac-os-x" target="_blank">https://github.com/bitemyapp/learnhaskell/blob/master/README.md#mac-os-x</a><br></div><div><br></div><div>I don't generally recommend using the platform installer, it ends up pegging libraries to old versions which causes dependency problems, or in some cases have known bugs.</div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 11:26 AM emacstheviking <<a href="mailto:objitsu@gmail.com" target="_blank">objitsu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Agreed Michael!<div><br></div><div>I am currently wiping all Mac Ports packages and I will perform a clean up of /Library/Haskell etc.</div><div><br></div><div>What is the *preferred* way to get the lastest for OSX: Using homebrew, macports or the Haskell Platform. I *used* to use the platform installer but for some reason (cabal I expect!) I started trying out other ways...</div><div><br></div><div>I think actually I will go the platform packager again...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2015 at 09:13, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I can't really explain the details of what's going on here. It seems that in some cases different versions of the executables are being found, but I don't know why. Wiping out your sandbox (cabal sandbox delete) and starting over may be sufficient to recover.<br></div><div><div><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 11:11 AM emacstheviking <<a href="mailto:objitsu@gmail.com" target="_blank">objitsu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>As requested,</div><div><br></div><div><font face="monospace, monospace">iMac:~ vosabristol$ ghc --version</font></div><div><font face="monospace, monospace">The Glorious Glasgow Haskell Compilation System, version 7.8.3</font></div><div><br></div><div><font face="monospace, monospace">which ghc</font></div><div><font face="monospace, monospace">/opt/local/bin/ghc</font><br></div><div><br></div><div>Hmm.... it shows a macports instsallation of GHC... but I am sure that's how I git it... I *used* to use the OSX installation package but I thought a clean start using MacPorts would somehow change the mood...</div><div><br></div><div><div><font face="monospace, monospace">iMac:~ vosabristol$ cabal --version</font></div><div><font face="monospace, monospace">cabal-install version 1.16.0.2</font></div><div><font face="monospace, monospace">using version 1.16.0 of the Cabal library</font></div></div><div><br></div><div><div><font face="monospace, monospace">iMac:~ vosabristol$ which cabal</font></div><div><font face="monospace, monospace">/usr/bin/cabal</font></div></div><div><br></div><div>So... there is a possible case for *once again* performing a complete and utter removal of Haskell and its partners in crime and doing a fresh installation?</div><div><br></div><div><br></div><div>Out of frustration I built OCaml and OPAM from sources last night but I'd still like to go with GHC!</div><div><br></div><div>:)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 March 2015 at 20:43, Michael Snoyman <span dir="ltr"><<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Funny that there's an issue being discussed in the cabal issue tracker right now[1] similar to this. <span style="font-size:13.1999998092651px;line-height:1.5">But the report you're giving here is particularly strange. Cabal-1.16 implies that you're using GHC 7.6, which is supported by the claim that base 4.7 isn't available. I'd recommend starting off with running the following commands and pasting the output:</span><div><br></div><div>ghc --version</div><div>which ghc</div><div>cabal --version</div><div>which cabal</div><div><div><br>[1] <a href="https://github.com/haskell/cabal/issues/2438" target="_blank">https://github.com/haskell/cabal/issues/2438</a><br></div></div></div><br><div class="gmail_quote"><div><div>On Tue, Mar 3, 2015 at 10:21 PM emacstheviking <<a href="mailto:objitsu@gmail.com" target="_blank">objitsu@gmail.com</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Forgot to add that somehow, despite the upgrade, my cabal version has gone backwards from 1.20.0.1 to 1.16.0<div><br></div><div>WTF?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 March 2015 at 20:19, emacstheviking <span dir="ltr"><<a href="mailto:objitsu@gmail.com" target="_blank">objitsu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>The very next time I tried to work on my code.... I got this:</div><div><br></div><div><div><font face="monospace, monospace">bash-3.2$ pwd</font></div><div><font face="monospace, monospace">/Users/seancharles/Documents/Coding/haskell/lts1</font></div><div><font face="monospace, monospace">bash-3.2$ cabal build</font></div><div><font face="monospace, monospace">cabal: You need to re-run the 'configure' command. The version of Cabal being</font></div><div><font face="monospace, monospace">used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).</font></div><div><font face="monospace, monospace">bash-3.2$ cabal configure</font></div><div><font face="monospace, monospace">Resolving dependencies...</font></div><div><font face="monospace, monospace">Configuring lts1-0.1.0.0...</font></div><div><font face="monospace, monospace">cabal: At least the following dependencies are missing:</font></div><div><font face="monospace, monospace">base ==4.7.*</font></div><div><font face="monospace, monospace">bash-3.2$ cabal build</font></div><div><font face="monospace, monospace">cabal: You need to re-run the 'configure' command. The version of Cabal being</font></div><div><font face="monospace, monospace">used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).</font></div><div><font face="monospace, monospace">bash-3.2$ ls -l</font></div><div><font face="monospace, monospace">total 112</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 19 Mar 2 12:53 LICENCSE</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 552 Mar 3 20:09 Main.hs</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 477 Mar 3 20:07 Main.hs~</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 46 Mar 2 12:52 Setup.hs</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 30198 Mar 2 12:51 cabal.config</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 1090 Mar 2 12:51 cabal.sandbox.config</font></div><div><font face="monospace, monospace">drwxr-xr-x 5 seancharles staff 170 Mar 2 12:53 dist</font></div><div><font face="monospace, monospace">-rw-r--r-- 1 seancharles staff 1932 Mar 2 12:52 lts1.cabal</font></div><div><font face="monospace, monospace">bash-3.2$ </font></div></div><div><br></div><div>So, welcome to a different kind of hell, "cabal version hell" perhaps?</div><div><br></div><div>Can anybody help me get it running again?</div><div>Thanks.</div><div>Sean.</div><div><br></div></div>
</blockquote></div><br></div></div></div>
______________________________<u></u>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-<u></u>bin/mailman/listinfo/beginners</a><br>
</blockquote></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
______________________________<u></u>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-<u></u>bin/mailman/listinfo/beginners</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
______________________________<u></u>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-<u></u>bin/mailman/listinfo/beginners</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>