
Hello, first post here, so forgive me if i'm breaking any rules... i'd like to report the following issue with HOpenGL: during the 'make install' step GLUT/Graphics never gets put in the corresponding .../lib/ghc/imports directory. the examples too never get installed anywhere on the system. as an effect that prohibits compilation of HOpenGL programs which use glut. i mean, -package HOpenGL still works, but "import Graphics.UI.GLUT" fails... copying the entire GLUT/Graphics directory by hand into .../lib/ghc/imports/HOpenGL/ fixes this. note that the freebsd port of HOpenGL installs the glut stuff correctly, and even puts all the examples in /usr/local/examples/HOpenGL/.. too bad FBSD doesn't have decent OpenGL hardware acceleration... here's my first HOpenGL program (and first Haskell program too, so you can smack me over the head if the code is not too good), a visualization of a Klein Bottle.. compile with: ghc -package HOpenGL -package lang -fglasgow-exts \ -I/usr/X11R6/include -lHOpenGL -lglut -lGLU -lGL -lSM -lICE \ -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm Klein.hs -o Klein interesting fact: the Haskell implementation runs at a slightly higher frame rate than the corresponding C implementation... i think i know why.. cheers, andrey