Re: HopenGL on GHC 6.3

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
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@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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.