Resolving dependencies... Configuring SDL-0.6.7.0... Building SDL-0.6.7.0... Installed SDL-0.6.7.0 Configuring SDL-image-0.6.2.0... Failed to install SDL-image-0.6.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/SDL-image-0.6.2.0-6cp7XbGYPwQ2PPpyzciVSg.log ): cabal: Entering directory '/tmp/cabal-tmp-30903/SDL-image-0.6.2.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-30903/SDL-image-0.6.2.0/dist/setup/setup.hs, /tmp/cabal-tmp-30903/SDL-image-0.6.2.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-30903/SDL-image-0.6.2.0/dist/setup/setup ... Configuring SDL-image-0.6.2.0... configure: WARNING: unrecognized options: --with-compiler checking for sdl-config... /usr/bin/sdl-config checking for gcc... /usr/bin/gcc checking whether the C compiler works... no configure: error: in `/tmp/cabal-tmp-30903/SDL-image-0.6.2.0/dist/build': configure: error: C compiler cannot create executables See `config.log' for more details. cabal: Leaving directory '/tmp/cabal-tmp-30903/SDL-image-0.6.2.0' cabal: Error: some packages failed to install: SDL-image-0.6.2.0-6cp7XbGYPwQ2PPpyzciVSg failed during the configure step. The exception was: ExitFailure 77