<div dir="ltr">Forgot this:<div><div><font face="monospace, monospace">----------------------------------------------------------------------</font></div><div><font face="monospace, monospace">Configure completed successfully.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">   Building GHC version  : 7.8.4</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">   Build platform        : x86_64-apple-darwin</font></div><div><font face="monospace, monospace">   Host platform         : x86_64-apple-darwin</font></div><div><font face="monospace, monospace">   Target platform       : x86_64-apple-darwin</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">   Bootstrapping using   : /opt/local/bin/ghc</font></div><div><font face="monospace, monospace">      which is version   : 7.8.3</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">   Using clang               : /usr/bin/gcc</font></div><div><font face="monospace, monospace">      which is version       : 6.0</font></div><div><font face="monospace, monospace">   Building a cross compiler : NO</font></div><div><font face="monospace, monospace">   cpp       : /usr/bin/gcc</font></div><div><font face="monospace, monospace">   cpp-flags : -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs</font></div><div><font face="monospace, monospace">   ld        : /opt/local/bin/ld</font></div><div><font face="monospace, monospace">   Happy     :  ()</font></div><div><font face="monospace, monospace">   Alex      :  ()</font></div><div><font face="monospace, monospace">   Perl      : /opt/local/bin/perl</font></div><div><font face="monospace, monospace">   dblatex   :</font></div><div><font face="monospace, monospace">   xsltproc  : /opt/local/bin/xsltproc</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">   Using LLVM tools</font></div><div><font face="monospace, monospace">      llc   :</font></div><div><font face="monospace, monospace">      opt   :</font></div><div><font face="monospace, monospace">   HsColour : /opt/local/bin/HsColour</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">   Building DocBook HTML documentation : YES</font></div><div><font face="monospace, monospace">   Building DocBook PS documentation   : NO</font></div><div><font face="monospace, monospace">   Building DocBook PDF documentation  : NO</font></div><div><font face="monospace, monospace">----------------------------------------------------------------------</font></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2015 at 11:24, 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">Well, I have port installed 7.8.3 as it needs an existing GHC, then I unpacked 7.8.4 from tarball and...............<div><br></div><div><div><font face="monospace, monospace">checking whether bootstrap compiler is affected by bug 9439... You are using a new version of LLVM that hasn't been tested yet!</font></div><div><font face="monospace, monospace">We will try though...</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/var/folders/15/fqzwrj1n32gfgx8yy5t8v1bc0000gq/T/ghc7339_0/ghc7339_6.s:3:2:</font></div><div><font face="monospace, monospace">     error: unknown directive</font></div><div><font face="monospace, monospace">            .macosx_version_min 10, 0</font></div><div><font face="monospace, monospace">            ^</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><no location info>:</font></div><div><font face="monospace, monospace">    Error running clang! you need clang installed to use theLLVM backend</font></div><div><font face="monospace, monospace">    (or GHC tried to execute clang incorrectly)</font></div><div><font face="monospace, monospace">failed to compile</font></div></div><div><br></div><div>Is that a problem??? It seems to have run the configure script just fine for all of that.</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2015 at 10:45, 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 am a 30+ years hacker Boris, building from source might just tempt me still!! HAHAHA<div>My machine is now "clean" so I will decide how to play it!</div><div><br></div><div>Thanks again everybody.</div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 4 March 2015 at 09:31, Boris <span dir="ltr"><<a href="mailto:d12frosted@icloud.com" target="_blank">d12frosted@icloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><p>Hey,</p>

<p>Little addition to what Michael already sent you.</p>

<p>To get ‘the latest’ you should build from sources :D</p>

<p>But in case it’s ok for you to have <code>ghc 7.8.3</code> and you don’t want to <code>./configure; make; make install</code>, you might also check this installation script on <a href="https://github.com/yogsototh/install-haskell" target="_blank">github</a>. </p>

<p></p></div><div><div><div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div> <br><p style="color:#000">On March 4, 2015 at 11:28:50, Michael Snoyman (<a href="mailto:michael@snoyman.com" target="_blank">michael@snoyman.com</a>) wrote:</p> <blockquote type="cite"><span><div><div></div><div>






<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>
<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>
_______________________________________________<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" 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>
_______________________________________________<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>
</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>
_______________________________________________<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>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></div></div></span></blockquote></div><div><p></p></div></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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>