Resolving dependencies... Configuring storable-complex-0.2.2... Configuring semigroups-0.18.4... Building storable-complex-0.2.2... Building semigroups-0.18.4... Installed storable-complex-0.2.2 Installed semigroups-0.18.4 Configuring hmatrix-0.19.0.0... Building hmatrix-0.19.0.0... Installed hmatrix-0.19.0.0 Configuring hmatrix-sparse-0.19.0.0... Failed to install hmatrix-sparse-0.19.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/hmatrix-sparse-0.19.0.0-LvYiZsyzb2n2ui6cOPy9f9.log ): cabal: Entering directory '/tmp/cabal-tmp-11262/hmatrix-sparse-0.19.0.0' Configuring hmatrix-sparse-0.19.0.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: mkl_intel, mkl_sequential, mkl_core 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-11262/hmatrix-sparse-0.19.0.0' cabal: Error: some packages failed to install: hmatrix-sparse-0.19.0.0-LvYiZsyzb2n2ui6cOPy9f9 failed during the configure step. The exception was: ExitFailure 1