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 integer-logarithms-1.0.3 Starting hashable-1.3.0.0 Starting base-orphans-0.8.1 Building colour-2.3.5 Building hashable-1.3.0.0 Building integer-logarithms-1.0.3 Building base-orphans-0.8.1 Completed base-orphans-0.8.1 Starting primitive-0.7.0.0 Completed integer-logarithms-1.0.3 Starting random-1.1 Building primitive-0.7.0.0 Building random-1.1 Completed hashable-1.3.0.0 Starting semigroups-0.19 Building semigroups-0.19 Completed semigroups-0.19 Starting split-0.2.3.3 Completed random-1.1 Starting storable-complex-0.2.3.0 Building split-0.2.3.3 Building storable-complex-0.2.3.0 Completed colour-2.3.5 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed storable-complex-0.2.3.0 Starting ansi-terminal-0.9.1 Building ansi-terminal-0.9.1 Completed split-0.2.3.3 Completed ansi-terminal-0.9.1 Starting ansi-wl-pprint-0.6.9 Building ansi-wl-pprint-0.6.9 Completed primitive-0.7.0.0 Starting scientific-0.3.6.2 Starting vector-0.12.0.3 Completed ansi-wl-pprint-0.6.9 Building scientific-0.3.6.2 Building vector-0.12.0.3 Completed unordered-containers-0.2.10.0 Starting charset-0.3.7.1 Building charset-0.3.7.1 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed charset-0.3.7.1 Completed attoparsec-0.13.2.2 Starting parsers-0.12.10 Building parsers-0.12.10 Completed parsers-0.12.10 Completed vector-0.12.0.3 Starting inline-c-0.8.0.1 Starting hmatrix-0.20.0.0 Building inline-c-0.8.0.1 Building hmatrix-0.20.0.0 Completed inline-c-0.8.0.1 Completed hmatrix-0.20.0.0 Starting hmatrix-sundials-0.20.1.0 Failed to install hmatrix-sundials-0.20.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hmatrix-sundials-0.20.1.0-DIiVzFdEi9S2H22Lcaf5Dp.log ): cabal: Entering directory '/tmp/cabal-tmp-22292/hmatrix-sundials-0.20.1.0' Configuring hmatrix-sundials-0.20.1.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: sundials_arkode, sundials_cvode 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-22292/hmatrix-sundials-0.20.1.0' cabal: Error: some packages failed to install: hmatrix-sundials-0.20.1.0-DIiVzFdEi9S2H22Lcaf5Dp failed during the configure step. The exception was: ExitFailure 1