Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting Boolean-0.2.4 Starting StateVar-1.2 Starting bindings-DSL-1.0.25 Starting base-orphans-0.8.1 Building Boolean-0.2.4 Building bindings-DSL-1.0.25 Building StateVar-1.2 Building base-orphans-0.8.1 Completed bindings-DSL-1.0.25 Starting cabal-doctest-1.0.6 Completed base-orphans-0.8.1 Starting call-stack-0.2.0 Completed StateVar-1.2 Starting cereal-0.5.8.1 Building cabal-doctest-1.0.6 Building call-stack-0.2.0 Completed Boolean-0.2.4 Starting fixed-0.3 Building cereal-0.5.8.1 Building fixed-0.3 Completed call-stack-0.2.0 Starting half-0.3 Building half-0.3 Completed fixed-0.3 Starting hashable-1.3.0.0 Completed cabal-doctest-1.0.6 Starting hxt-charproperties-9.4.0.0 Building hashable-1.3.0.0 Building hxt-charproperties-9.4.0.0 Completed half-0.3 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting network-uri-2.6.1.0 Completed cereal-0.5.8.1 Starting parallel-3.2.2.0 Building network-uri-2.6.1.0 Completed integer-logarithms-1.0.3 Starting primitive-0.7.0.0 Building parallel-3.2.2.0 Building primitive-0.7.0.0 Completed parallel-3.2.2.0 Starting reflection-2.1.4 Completed network-uri-2.6.1.0 Starting semigroups-0.19 Building reflection-2.1.4 Building semigroups-0.19 Completed hxt-charproperties-9.4.0.0 Starting tagged-0.8.6 Building tagged-0.8.6 Completed semigroups-0.19 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed reflection-2.1.4 Starting void-0.7.3 Building void-0.7.3 Completed th-abstraction-0.3.1.0 Starting bindings-GLFW-3.2.1.1 Completed void-0.7.3 Starting contravariant-1.5.2 Building contravariant-1.5.2 Failed to install bindings-GLFW-3.2.1.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/bindings-GLFW-3.2.1.1-IALeMu12KtQDCMmZCh81IW.log ): cabal: Entering directory '/tmp/cabal-tmp-24809/bindings-GLFW-3.2.1.1' Configuring bindings-GLFW-3.2.1.1... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: Xi, Xrandr, Xcursor, Xinerama 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.If the library files do exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-24809/bindings-GLFW-3.2.1.1' Starting unordered-containers-0.2.10.0 Completed transformers-compat-0.6.5 Building unordered-containers-0.2.10.0 Completed primitive-0.7.0.0 Completed contravariant-1.5.2 Completed unordered-containers-0.2.10.0 cabal: Error: some packages failed to install: GLFW-b-3.2.1.0-12HQBbx9KRkJap7LlAm5Ut depends on GLFW-b-3.2.1.0 which failed to install. GPipe-GLFW-1.4.1.2-7hqd60PLYxdDEiAOfJa3AE depends on GPipe-GLFW-1.4.1.2 which failed to install. bindings-GLFW-3.2.1.1-IALeMu12KtQDCMmZCh81IW failed during the configure step. The exception was: ExitFailure 1