<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Yeah, one might call Michael Snoyman god :D</div><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><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Writing this because it is Michael who provided you this link</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><p class="airmail_on">On March 4, 2015 at 11:28:50, Michael Snoyman (<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>) wrote:</p><blockquote type="cite" class="clean_bq"><div></div><div><div dir="ltr">I'd recommend looking at:<br><br><a href="http://www.stackage.org/install#mac-os-x">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">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></blockquote></div><p class="airmail_on" style="color:#000;">On March 4, 2015 at 16:13:43, 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">The Gods provided me with serendipity;
<div><br></div>
<div><a href="https://ghcformacosx.github.io/">https://ghcformacosx.github.io/</a><br>
</div>
<div><br></div>
<div>JOB DONE, FLAWLESS!</div>
<div><br></div>
<div>Many thanks to those concerned!</div>
<div><br></div>
<div>:)</div>
<div><br></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 4 March 2015 at 14:05, 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">tried adding:
<div><br></div>
<div>LIBS="-framework OpenGL" ./configure<br>
<div><br></div>
</div>
<div>same result.... bummer.</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 4 March 2015 at 12:51, 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">
<div class="gmail_extra"><span style="font-size:12.8000001907349px"><br></span></div>
<div class="gmail_extra">
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">ld: couldn't dlopen()
/usr/lib/libdtrace.dylib: dlopen(/usr/lib/libdtrace.dylib, 1):
Symbol not found: _CGLGetCurrentContext</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">  Referenced from:
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">  Expected in:
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace"> in
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
for architecture x86_64</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">clang: error: linker command failed with
exit code 1 (use -v to see invocation)</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">make[1]: ***
[rts/dist/build/libHSrts-ghc7.8.4.dylib] Error 1</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">make: *** [all] Error 2</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace">iMac:ghc-7.8.4 vosabristol$</font></div>
<div style="font-size:12.8000001907349px"><font face="monospace, monospace"><br></font></div>
</div>
<div class="gmail_extra"><span style="font-size:12.8000001907349px">Perhaps I need to tweak the
configure parameters and try again... stackoverflow has this
page:</span>
<div style="font-size:12.8000001907349px"><a href="http://stackoverflow.com/questions/19480099/compiling-macos-application-with-cgl" target="_blank">http://stackoverflow.com/questions/19480099/compiling-macos-application-with-cgl</a></div>
<div style="font-size:12.8000001907349px">
<table style="font-size:13px;margin:0px;padding:0px;border:0px;border-collapse:collapse;border-spacing:0px;width:660px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:17.5499992370605px">
<tbody style="margin:0px;padding:0px;border:0px">
<tr style="margin:0px;padding:0px;border:0px">
<td style="padding:6px 6px 6px 0px;border-width:0px 0px 1px;border-bottom-style:solid;border-bottom-color:rgb(240,240,240);vertical-align:top;line-height:1.3">
<div style="margin:0px;padding:0px;border:0px"><span style="margin:0px;padding:0px;border:0px"><br>
There is no CGL framework in OS X (CGL is included in the OpenGL
framework, you need only <code style="margin:0px;padding:1px 5px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;background-color:rgb(238,238,238)">#include
OpenGL/OpenGL.h</code>), and you do not use <code style="margin:0px;padding:1px 5px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;background-color:rgb(238,238,238)">-lXXX</code> to
link against a framework either. Now, depending on how your
Makefile is structured, you may also have a property known as
LD_FLAGS for a separate linking stage - you <b style="margin:0px;padding:0px;border:0px">also</b> need to
include <code style="margin:0px;padding:1px 5px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;background-color:rgb(238,238,238)">-framework
OpenGL</code> there. This directive does <i style="margin:0px;padding:0px;border:0px">both</i>, include path
resolution and linker path resolution for
frameworks.</span> –  <a href="http://stackoverflow.com/users/2423205/andon-m-coleman" title="23637 reputation" style="color:rgb(12,101,165);margin:0px;padding:0px;border:0px;text-decoration:none;white-space:nowrap" target="_blank">Andon M. Coleman</a> <span dir="ltr" style="margin:0px;padding:0px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-style:none;color:rgb(153,153,153)"><a href="http://stackoverflow.com/questions/19480099/compiling-macos-application-with-cgl#comment28894036_19480099" style="color:rgb(153,153,153);margin:0px;padding:0px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-style:none;text-decoration:none" target="_blank">Oct 20 '13 at 19:36</a></span> </div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</blockquote>
</div>
<br></div>
</div>
</div>
</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></body></html>