Ticket #11 (closed defect: fixed)
glut installation on Windows via cabal doesn't work by default
| Reported by: | duncan | Owned by: | panne |
|---|---|---|---|
| Priority: | minor | Milestone: | 2010.2.0.0 |
| Component: | GLUT | Keywords: | |
| Cc: |
Description
This is really a bug in GLUT but GLUT doesn't have a bug tracker yet it seems. Grr.
The ./configure script for GLUT does not notice the include dirs for GHC's mingw installation on Windows. See http://haskell.org/pipermail/haskell-cafe/2009-April/059883.html
Setting env vars makes it work for the configure script but presumably the base package or the rts already specifies this path. If we were doing this directly in Cabal or the Setup.hs then presumably it'd work. It'd be really good to get rid of the ./configure script so that this kind of thing just works without having to set env vars. Alternatively perhaps Cabal should set these env vars when it calls configure.
