Resolving dependencies... Configuring SDL-0.6.5.1... Building SDL-0.6.5.1... Installed SDL-0.6.5.1 Configuring SDL-ttf-0.6.2.2... Failed to install SDL-ttf-0.6.2.2 Build log ( /home/builder/.cabal/logs/SDL-ttf-0.6.2.2.log ): cabal: Entering directory '/tmp/cabal-tmp-6935/SDL-ttf-0.6.2.2' [1 of 1] Compiling Main ( /tmp/cabal-tmp-6935/SDL-ttf-0.6.2.2/dist/setup/setup.hs, /tmp/cabal-tmp-6935/SDL-ttf-0.6.2.2/dist/setup/Main.o ) Linking /tmp/cabal-tmp-6935/SDL-ttf-0.6.2.2/dist/setup/setup ... Configuring SDL-ttf-0.6.2.2... checking for sdl-config... /usr/bin/sdl-config checking for gcc... /usr/bin/gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking for TTF_OpenFont in -lSDL_ttf... no configure: error: *** SDL_ttf lib not found! Get SDL_ttf from http://www.libsdl.org/projects/SDL_ttf/index.html cabal: Leaving directory '/tmp/cabal-tmp-6935/SDL-ttf-0.6.2.2' cabal: Error: some packages failed to install: SDL-ttf-0.6.2.2 failed during the configure step. The exception was: ExitFailure 1 TypeClass-0.1 depends on SDL-ttf-0.6.2.2 which failed to install.