[HOpenGL] HopenGL on GHC 6.3

Sven Panne Sven.Panne at aedion.de
Mon Jun 14 13:40:26 EDT 2004


Shiqi Cao wrote:
> [...] the first question is I can't find OpengGL or HOpenGL in package.conf, 

Could you send config.log and a log of the configuration/compilation, please?
Guessing is very hard. :-) It could e.g. be the case that configure was unable
to detect your OpenGL installation, although I haven't seen this in a while.

> the second one is ghc doesn't work well,
> 
>  caos2 at shiqicao Haskell $ ghc63 -o hw hw.hs
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lHShaskell98
> collect2: ld returned 1 exit status [...]

Alas, I've never seen this problem...

> #!/bin/bash
> GHC_CFLAGS="-optc-fno-pic -optc-fno-stack-protector"
> # Mini-driver for GHCi
> exec $GHCBIN $TOPDIROPT ${GHC_CFLAGS} --interactive ${1+"$@"}

Hmmm, this looks a bit hand-made. What exactly did you change?

Cheers,
    S.



More information about the HOpenGL mailing list