[Haskell-cafe] Glut using freeglut and non starndard header / lib location?

Marc Weber marco-oweber at gmx.de
Fri Oct 17 19:19:42 EDT 2008

Which is the way to install the glut library with non standard header /
lib location?

I've tried setting CFLAGS before running 
./setup configure

and adding the include directory this way
  include-dirs: include, /nix/store/rz4nfm5qcrjrk0jsr1lxnjwamgxmgip8-freeglut-2.4.0/include

All results in
checking for GL/glut.h... (cached) no
checking GLUT/glut.h usability... no
checking GLUT/glut.h presence... no
checking for GLUT/glut.h... no
configure: error: no GLUT header found, so this package cannot be built

The configure script is meant to be run by cabal only?


More information about the Haskell-Cafe mailing list