<html><head><style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding:1em;
margin:auto;
background:#fefefe;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}
h1 {
color: #000000;
font-size: 28pt;
}
h2 {
border-bottom: 1px solid #CCCCCC;
color: #000000;
font-size: 24px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
h5 {
font-size: 14px;
}
h6 {
color: #777777;
background-color: inherit;
font-size: 14px;
}
hr {
height: 0.2em;
border: 0;
color: #CCCCCC;
background-color: #CCCCCC;
display: inherit;
}
p, blockquote, ul, ol, dl, li, table, pre {
margin: 15px 0;
}
a, a:visited {
color: #4183C4;
background-color: inherit;
text-decoration: none;
}
#message {
border-radius: 6px;
border: 1px solid #ccc;
display:block;
width:100%;
height:60px;
margin:6px 0px;
}
button, #ws {
font-size: 12 pt;
padding: 4px 6px;
border-radius: 5px;
border: 1px solid #bbb;
background-color: #eee;
}
code, pre, #ws, #message {
font-family: Monaco;
font-size: 10pt;
border-radius: 3px;
background-color: #F8F8F8;
color: inherit;
}
code {
border: 1px solid #EAEAEA;
margin: 0 2px;
padding: 0 5px;
}
pre {
border: 1px solid #CCCCCC;
overflow: auto;
padding: 4px 8px;
}
pre > code {
border: 0;
margin: 0;
padding: 0;
}
#ws { background-color: #f8f8f8; }
.bloop_markdown table {
border-collapse: collapse;
font-family: Helvetica, arial, freesans, clean, sans-serif;
color: rgb(51, 51, 51);
font-size: 15px; line-height: 25px;
padding: 0; }
.bloop_markdown table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0; }
.bloop_markdown table tr:nth-child(2n) {
background-color: #f8f8f8; }
.bloop_markdown table tr th {
font-weight: bold;
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }
.bloop_markdown table tr td {
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }
.bloop_markdown table tr th :first-child, table tr td :first-child {
margin-top: 0; }
.bloop_markdown table tr th :last-child, table tr td :last-child {
margin-bottom: 0; }
.bloop_markdown blockquote{
border-left: 4px solid #dddddd;
padding: 0 15px;
color: #777777; }
blockquote > :first-child {
margin-top: 0; }
blockquote > :last-child {
margin-bottom: 0; }
code, pre, #ws, #message {
word-break: normal;
word-wrap: normal;
}
hr {
display: inherit;
}
.bloop_markdown :first-child {
-webkit-margin-before: 0;
}
code, pre, #ws, #message {
font-family: Menlo, Consolas, Liberation Mono, Courier, monospace;
}
.send { color:#77bb77; }
.server { color:#7799bb; }
.error { color:#AA0000; }</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="bloop_markdown"><p>Hey,</p>
<p>Check your <code>$PATH</code> variable. It looks like the macports installation directory has precedence over <code>/user/local/bin/</code>.</p>
<p>But you also might want to remove the old version installed via macports. </p>
<p>~ d12frosted</p>
<p></p></div><div class="bloop_original_html"><style>body{font-family:Helvetica,Arial;font-size:13px}</style><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><p class="airmail_on" style="color:#000;">On March 4, 2015 at 11:11:05, emacstheviking (<a href="mailto:objitsu@gmail.com">objitsu@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>
<title></title>
<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 class="h5">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 class="h5">
<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>
_______________________________________________<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>
</blockquote>
</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>
_______________________________________________
<br>Beginners mailing list
<br>Beginners@haskell.org
<br>http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
<br></div></div></span></blockquote></div><div class="bloop_markdown"><p></p></div></body></html>