Resolving dependencies... Configuring SDL-0.6.7.0... Building SDL-0.6.7.0... Installed SDL-0.6.7.0 Downloading SDL-ttf-0.6.3.0... Configuring SDL-ttf-0.6.3.0... Failed to install SDL-ttf-0.6.3.0 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/SDL-ttf-0.6.3.0-2vTpaV9FE8wI4W5vq06lrD.log ): cabal: Entering directory '/tmp/cabal-tmp-28604/SDL-ttf-0.6.3.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-28604/SDL-ttf-0.6.3.0/dist/setup/setup.hs, /tmp/cabal-tmp-28604/SDL-ttf-0.6.3.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-28604/SDL-ttf-0.6.3.0/dist/setup/setup ... Configuring SDL-ttf-0.6.3.0... 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-28604/SDL-ttf-0.6.3.0' cabal: Error: some packages failed to install: SDL-ttf-0.6.3.0-2vTpaV9FE8wI4W5vq06lrD failed during the configure step. The exception was: ExitFailure 1