Resolving dependencies... Configuring colour-2.3.4... Configuring base-orphans-0.7... Building colour-2.3.4... Building base-orphans-0.7... Installed base-orphans-0.7 Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring storable-complex-0.2.2... Building storable-complex-0.2.2... Installed storable-complex-0.2.2 Configuring charset-0.3.7.1... Installed colour-2.3.4 Configuring hmatrix-0.19.0.0... Building charset-0.3.7.1... Building hmatrix-0.19.0.0... Installed charset-0.3.7.1 Configuring ansi-terminal-0.8.0.2... Building ansi-terminal-0.8.0.2... Installed ansi-terminal-0.8.0.2 Configuring parsers-0.12.8... Building parsers-0.12.8... Installed parsers-0.12.8 Configuring ansi-wl-pprint-0.6.8.2... Building ansi-wl-pprint-0.6.8.2... Installed ansi-wl-pprint-0.6.8.2 Configuring inline-c-0.6.0.5... Building inline-c-0.6.0.5... Installed inline-c-0.6.0.5 Installed hmatrix-0.19.0.0 Configuring hmatrix-sundials-0.19.0.0... Failed to install hmatrix-sundials-0.19.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/hmatrix-sundials-0.19.0.0-EG8aeQPIc04IEcrqBBPWJw.log ): cabal: Entering directory '/tmp/cabal-tmp-22437/hmatrix-sundials-0.19.0.0' Configuring hmatrix-sundials-0.19.0.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: sundials_arkode This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does 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-22437/hmatrix-sundials-0.19.0.0' cabal: Error: some packages failed to install: hmatrix-sundials-0.19.0.0-EG8aeQPIc04IEcrqBBPWJw failed during the configure step. The exception was: ExitFailure 1