Resolving dependencies... Configuring OpenGLRaw-1.4.0.0... cabal: Missing dependency on a foreign library: * Missing C library: GL This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. Failed to install OpenGLRaw-1.4.0.0 [1 of 1] Compiling Main ( /tmp/SDL-0.6.5-4611/SDL-0.6.5/Setup.lhs, /tmp/SDL-0.6.5-4611/SDL-0.6.5/dist/setup/Main.o ) Linking /tmp/SDL-0.6.5-4611/SDL-0.6.5/dist/setup/setup ... Configuring SDL-0.6.5... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for sdl-config... no checking for sdl11-config... no configure: error: *** SDL not found! Get SDL from www.libsdl.org. If you already installed it, check it's in the path. If problem remains, please send a mail to the address that appears in ./configure --version indicating your platform, the version of configure script and the problem. Failed to install SDL-0.6.5 Downloading cal3d-0.1... Configuring cal3d-0.1... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: cal3d/cal3d.h * Missing C library: cal3d This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. Failed to install cal3d-0.1 cabal: Error: some packages failed to install: GLURaw-1.4.0.0 depends on OpenGLRaw-1.4.0.0 which failed to install. OpenGL-2.9.1.0 depends on OpenGLRaw-1.4.0.0 which failed to install. OpenGLRaw-1.4.0.0 failed during the configure step. The exception was: ExitFailure 1 SDL-0.6.5 failed during the configure step. The exception was: ExitFailure 1 cal3d-0.1 failed during the configure step. The exception was: ExitFailure 1 cal3d-examples-0.1 depends on cal3d-0.1 which failed to install. cal3d-opengl-0.1 depends on cal3d-0.1 which failed to install.