[Haskell-cafe] glut installation using cabal failed

Raja Koduru kscraja at gmail.com
Tue Apr 14 02:25:52 EDT 2009


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 unistd.h... yes
checking windows.h usability... yes
checking windows.h presence... yes
checking for windows.h... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no
checking for GLUT library... no
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
See `config.log' for more details.
cabal: Error: some packages failed to install:
GLUT- failed during the configure step. The exception was:
exit: ExitFailure 1

But I do have "glut.h" in my "D:\ghc\ghc-6.10.2\include\mingw\GL".

Here is my `ghc-pkg list`
D:\ghc\ghc-6.10.2>ghc-pkg list
    Cabal-, GLFW-0.3, HUnit-, OpenGL-,
    QuickCheck-, Win32-, array-, base-,
    base-, bytestring-, containers-,
    directory-, (dph-base-0.3), (dph-par-0.3),
    (dph-prim-interface-0.3), (dph-prim-par-0.3), (dph-prim-seq-0.3),
    (dph-seq-0.3), filepath-, (ghc-6.10.2), ghc-paths-,
    ghc-prim-, haddock-2.4.2, haskell-src-,
    haskell98-, hpc-, html-, integer-,
    mtl-, network-2.2.1, old-locale-, old-time-,
    packedstring-, parallel-, parsec-,
    pretty-, process-, random-,
    regex-base-, regex-compat-, regex-posix-,
    rts-1.0, stm-, syb-, template-haskell-,

I am on windows XP using ghc-6.10.2

Please advice,


More information about the Haskell-Cafe mailing list