
On Wed, 2009-04-15 at 01:53 +0200, Henk-Jan van Tuyl wrote:
On Tue, 14 Apr 2009 08:25:52 +0200, Raja Koduru
wrote: hi,
I am a beginner to haskell.
I am trying to install glut using "cabal install glut" Pasting here a tail of the output
checking for GLUT/glut.h... no configure: error: no GLUT header found, so this package cannot be built See `config.log' for more details.
But I do have "glut.h" in my "D:\ghc\ghc-6.10.2\include\mingw\GL".
Define the environment variable: C_INCLUDE_PATH=D:\ghc\ghc-6.10.2\include\mingw (you can add more directories, separate them by ';') To let the linker find the libraries, define LIBRARY_PATH.
Hmm, that is annoying. I've filed a tracker bug here: http://trac.haskell.org/haskell-platform/ticket/11 and also noted the issue here: http://hackage.haskell.org/trac/hackage/ticket/458#comment:2 Duncan