Yeah, one might call Michael Snoyman god :D

Writing this because it is Michael who provided you this link

On March 4, 2015 at 11:28:50, Michael Snoyman (michael@snoyman.com) wrote:

I'd recommend looking at:

http://www.stackage.org/install#mac-os-x
https://github.com/bitemyapp/learnhaskell/blob/master/README.md#mac-os-x

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.

On March 4, 2015 at 16:13:43, emacstheviking (objitsu@gmail.com) wrote:

The Gods provided me with serendipity;


JOB DONE, FLAWLESS!

Many thanks to those concerned!

:)


On 4 March 2015 at 14:05, emacstheviking <objitsu@gmail.com> wrote:
tried adding:

LIBS="-framework OpenGL" ./configure

same result.... bummer.

On 4 March 2015 at 12:51, emacstheviking <objitsu@gmail.com> wrote:

ld: couldn't dlopen() /usr/lib/libdtrace.dylib: dlopen(/usr/lib/libdtrace.dylib, 1): Symbol not found: _CGLGetCurrentContext
  Referenced from: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
  Expected in: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
 in /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [rts/dist/build/libHSrts-ghc7.8.4.dylib] Error 1
make: *** [all] Error 2
iMac:ghc-7.8.4 vosabristol$

Perhaps I need to tweak the configure parameters and try again... stackoverflow has this page:

There is no CGL framework in OS X (CGL is included in the OpenGL framework, you need only #include OpenGL/OpenGL.h), and you do not use -lXXX 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 also need to include -framework OpenGL there. This directive does both, include path resolution and linker path resolution for frameworks.
 –  Andon M. Coleman Oct 20 '13 at 19:36 


_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners