Resolving dependencies... [1 of 1] Compiling Main ( /tmp/SDL-0.6.5-30552/SDL-0.6.5/Setup.lhs, /tmp/SDL-0.6.5-30552/SDL-0.6.5/dist/setup/Main.o ) Linking /tmp/SDL-0.6.5-30552/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 cabal: Error: some packages failed to install: HTicTacToe-0.2 depends on SDL-0.6.5 which failed to install. SDL-0.6.5 failed during the configure step. The exception was: ExitFailure 1 SDL-image-0.6.1 depends on SDL-0.6.5 which failed to install. SDL-ttf-0.6.2 depends on SDL-0.6.5 which failed to install.