Resolving dependencies... Downloading SFML-2.3.2.4... Configuring mtl-2.2.1... Configuring SFML-2.3.2.4... Building mtl-2.2.1... Failed to install SFML-2.3.2.4 Build log ( /home/builder/.cabal/logs/SFML-2.3.2.4.log ): cabal: Entering directory '/tmp/cabal-tmp-31982/SFML-2.3.2.4' Configuring SFML-2.3.2.4... cabal: Missing dependencies on foreign libraries: * Missing C libraries: csfml-window, csfml-system, csfml-graphics, csfml-network, csfml-audio This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. cabal: Leaving directory '/tmp/cabal-tmp-31982/SFML-2.3.2.4' Installed mtl-2.2.1 cabal: Error: some packages failed to install: SFML-2.3.2.4 failed during the configure step. The exception was: ExitFailure 1 SFML-control-0.2.0.1 depends on SFML-2.3.2.4 which failed to install.