Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  GHC 7.8.4 source build fails on OSX... (emacstheviking)
   2. Re:  GHC 7.8.4 source build fails on OSX... (Boris)
   3. Re:  LTS is good but... (Brandon Allbery)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 Mar 2015 14:12:44 +0000
From: emacstheviking <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] GHC 7.8.4 source build fails on
        OSX...
Message-ID:
        <CAEiEuUJ60DH=fM-QRGMhc5TXbVgVLefstJHKMDH8g6=vroo...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

The Gods provided me with serendipity;

https://ghcformacosx.github.io/

JOB DONE, FLAWLESS!

Many thanks to those concerned!

:)


On 4 March 2015 at 14:05, emacstheviking <[email protected]> wrote:

> tried adding:
>
> LIBS="-framework OpenGL" ./configure
>
> same result.... bummer.
>
> On 4 March 2015 at 12:51, emacstheviking <[email protected]> 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:
>>
>> http://stackoverflow.com/questions/19480099/compiling-macos-application-with-cgl
>>
>> 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
>> <http://stackoverflow.com/users/2423205/andon-m-coleman> Oct 20 '13 at
>> 19:36
>> <http://stackoverflow.com/questions/19480099/compiling-macos-application-with-cgl#comment28894036_19480099>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/5fc4d8b5/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 04 Mar 2015 16:18:45 +0200
From: Boris <[email protected]>
To: emacstheviking <[email protected]>, The Haskell-Beginners Mailing
        List - Discussion of primarily beginner-level topics related to
        Haskell <[email protected]>
Subject: Re: [Haskell-beginners] GHC 7.8.4 source build fails on
        OSX...
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

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 ([email protected]) 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 ([email protected]) wrote:

The Gods provided me with serendipity;

https://ghcformacosx.github.io/

JOB DONE, FLAWLESS!

Many thanks to those concerned!

:)


On 4 March 2015 at 14:05, emacstheviking <[email protected]> wrote:
tried adding:

LIBS="-framework OpenGL" ./configure

same result.... bummer.

On 4 March 2015 at 12:51, emacstheviking <[email protected]> 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:
http://stackoverflow.com/questions/19480099/compiling-macos-application-with-cgl

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  
[email protected]  
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/98e2c1fb/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 4 Mar 2015 09:32:50 -0500
From: Brandon Allbery <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] LTS is good but...
Message-ID:
        <CAKFCL4Xn_QUn=1+Sseorpc36j+YXsNRNJquseP=aam_p-ee...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking <[email protected]> wrote:

> 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...


Depends on who you ask. I use MacPorts and keep it updated, but
please-root-me (aka Homebrew) is preferred by most people these days. You
will find people arguing that you should use the Platform and people who
insist you should always install just ghc and cabal, or people who insist
you shouldn't ever look beyond Stackage (great if Stackage bothers to
acknowledge that the library you need exists).

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/9b247d7e/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 81, Issue 22
*****************************************

Reply via email to