<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="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> <span title="this comment was edited 3 times" style="margin:0px;padding:0px;border:0px;overflow:hidden;display:inline-block;vertical-align:text-bottom;line-height:12px;min-height:15px;width:16px;background-image:url(http://cdn.sstatic.net/stackoverflow/img/sprites.svg?v=1bc6a0c03b68),none;background-repeat:no-repeat"></span></div></td></tr></tbody></table></div></div></div>
</blockquote></div><br></div>