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 colour-2.3.5 Starting base-orphans-0.8.2 Starting hashable-1.3.0.0 Starting exceptions-0.10.4 Building base-orphans-0.8.2 Building colour-2.3.5 Building hashable-1.3.0.0 Building exceptions-0.10.4 Completed hashable-1.3.0.0 Starting integer-logarithms-1.0.3 Completed exceptions-0.10.4 Starting primitive-0.7.0.1 Building integer-logarithms-1.0.3 Completed base-orphans-0.8.2 Starting semigroups-0.19.1 Building primitive-0.7.0.1 Building semigroups-0.19.1 Completed integer-logarithms-1.0.3 Starting zlib-0.6.2.1 Completed semigroups-0.19.1 Starting unordered-containers-0.2.10.0 Building zlib-0.6.2.1 Completed colour-2.3.5 Starting safe-exceptions-0.1.7.0 Building unordered-containers-0.2.10.0 Building safe-exceptions-0.1.7.0 Completed safe-exceptions-0.1.7.0 Starting ansi-terminal-0.10.3 Building ansi-terminal-0.10.3 Completed zlib-0.6.2.1 Completed ansi-terminal-0.10.3 Starting ansi-wl-pprint-0.6.9 Building ansi-wl-pprint-0.6.9 Completed unordered-containers-0.2.10.0 Starting charset-0.3.7.1 Building charset-0.3.7.1 Completed primitive-0.7.0.1 Starting scientific-0.3.6.2 Starting vector-0.12.1.2 Completed ansi-wl-pprint-0.6.9 Building scientific-0.3.6.2 Building vector-0.12.1.2 Completed charset-0.3.7.1 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.3 Building attoparsec-0.13.2.3 Completed attoparsec-0.13.2.3 Starting parsers-0.12.10 Building parsers-0.12.10 Completed parsers-0.12.10 Completed vector-0.12.1.2 Starting inline-c-0.9.0.0 Starting JuicyPixels-3.3.5 Building JuicyPixels-3.3.5 Building inline-c-0.9.0.0 Completed inline-c-0.9.0.0 Starting inline-c-cpp-0.4.0.2 Building inline-c-cpp-0.4.0.2 Completed inline-c-cpp-0.4.0.2 Completed JuicyPixels-3.3.5 Downloading HsWebots-0.1.1.3 Downloaded HsWebots-0.1.1.3 Starting HsWebots-0.1.1.3 Failed to install HsWebots-0.1.1.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/HsWebots-0.1.1.3-KPDwRNjYY0KEQ5eQIAy3TN.log ): cabal: Entering directory '/tmp/cabal-tmp-16532/HsWebots-0.1.1.3' Configuring HsWebots-0.1.1.3... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: Controller, driver 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-16532/HsWebots-0.1.1.3' cabal: Error: some packages failed to install: HsWebots-0.1.1.3-KPDwRNjYY0KEQ5eQIAy3TN failed during the configure step. The exception was: ExitFailure 1