
I installed the libglfw-dev pkg and now :
find /usr -name *glfw* /usr/share/doc/libglfw-dev /usr/share/doc/libglfw2 /usr/lib/libglfw.so /usr/lib/libglfw.a /usr/lib/libglfw.so.2 /usr/lib/pkgconfig/libglfw.pc /usr/lib/libglfw.so.2.6 /usr/include/GL/glfw.h
gears.c and pong3D.c(lot of textures) play nicely. Now
ghc-pkg unregister GLFW Writing new package config file... done. cabal update 'http://hackage.haskell.org/packages/archive' cabal install GLFW --flags=dynamic Resolving dependencies... 'GLFW-0.4.1' is cached. Configuring GLFW-0.4.1... Preprocessing library GLFW-0.4.1... Building GLFW-0.4.1... [1 of 1] Compiling Graphics.UI.GLFW ( Graphics/UI/GLFW.hs, dist/build/Graphics/UI/GLFW.o ) /usr/bin/ar: creating dist/build/libHSGLFW-0.4.1.a Installing library in /home/jean/.cabal/lib/GLFW-0.4.1/ghc-6.10.4 Registering GLFW-0.4.1... Reading package info from "dist/installed-pkg-config" ... done. Writing new package config file... done.
and my two problems are still here :( By the way, does cabal really link to a .so ? Why does it say 'Compiling' then ?