[HOpenGL] Configure bug? Re: SOLVED. Re: [Haskell-cafe] Linker Errors For OpenGL / GLUT 'Hello World' Program.

Donnie Jones donnie at darthik.com
Sat Sep 20 22:24:46 EDT 2008


Hello Brandon,

Maybe this is a bug in the configure script of Haskell OpenGL or GLUT
packages?  Any suggestion from the package maintainers (or someone more
familiar with these packages)?

Thanks!  :)
__
Donnie

On Sat, Sep 20, 2008 at 10:13 PM, Brandon S. Allbery KF8NH <
allbery at ece.cmu.edu> wrote:

> On 2008 Sep 20, at 22:10, Donnie Jones wrote:
>
> ghc -package GLUT -lglut Hello1.hs -o Hello1 --- works!  :)
>
> I'm not sure why I must specify "-package GLUT" and "-lglut" but that
> prevents the linker errors.  Also, shouldn't configure correctly figure out
> how to link the GLUT libraries?  Can someone explain?
>
>
> You're overriding the information recorded by ghc-pkg (which is used if you
> use ghc --make).
>
> As for why configure doesn't work, I think you'd have to let someone who
> knows the HOpenGL build stuff look at your system.
>
> --
> brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
> system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university    KF8NH
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/hopengl/attachments/20080920/ac0a5a0a/attachment.htm


More information about the HOpenGL mailing list