Resolving dependencies... Starting ObjectName-1.1.0.1 Starting StateVar-1.2.2 Starting bindings-DSL-1.0.25 Starting bmp-1.2.6.3 Building ObjectName-1.1.0.1 Building StateVar-1.2.2 Building bindings-DSL-1.0.25 Building bmp-1.2.6.3 Completed bindings-DSL-1.0.25 Starting fixed-0.3 Completed ObjectName-1.1.0.1 Starting half-0.3.1 Completed StateVar-1.2.2 Starting primitive-0.7.1.0 Building fixed-0.3 Building half-0.3.1 Building primitive-0.7.1.0 Completed fixed-0.3 Starting zlib-0.6.2.3 Building zlib-0.6.2.3 Completed bmp-1.2.6.3 Starting bindings-GLFW-3.3.2.0 Completed half-0.3.1 Failed to install bindings-GLFW-3.3.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/bindings-GLFW-3.3.2.0-1ufNpjZTQYdKRJBE7e6TEN.log ): cabal: Entering directory '/tmp/cabal-tmp-30118/bindings-GLFW-3.3.2.0' Configuring bindings-GLFW-3.3.2.0... 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-30118/bindings-GLFW-3.3.2.0' Starting OpenGLRaw-3.3.4.0 Building OpenGLRaw-3.3.4.0 Completed zlib-0.6.2.3 Completed primitive-0.7.1.0 Completed OpenGLRaw-3.3.4.0 cabal: Error: some packages failed to install: GLFW-b-3.3.0.0-F4qN5yGeFOwK997DdpblNw depends on GLFW-b-3.3.0.0 which failed to install. bindings-GLFW-3.3.2.0-1ufNpjZTQYdKRJBE7e6TEN failed during the configure step. The exception was: ExitFailure 1 gloss-export-0.1.0.4-LE1qOmYjrZbIBWl7qHbzsg depends on gloss-export-0.1.0.4 which failed to install.