Resolving dependencies... Configuring random-1.1... Configuring primitive-0.6.2.0... Building random-1.1... Building primitive-0.6.2.0... Configuring split-0.2.3.2... Installed random-1.1 Building split-0.2.3.2... Configuring storable-complex-0.2.2... Installed split-0.2.3.2 Building storable-complex-0.2.2... Installed storable-complex-0.2.2 Installed primitive-0.6.2.0 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed vector-0.12.0.1 Configuring hmatrix-0.18.1.0... Building hmatrix-0.18.1.0... Installed hmatrix-0.18.1.0 Configuring hmatrix-quadprogpp-0.4.0.0... Failed to install hmatrix-quadprogpp-0.4.0.0 Build log ( /home/builder/.cabal/logs/hmatrix-quadprogpp-0.4.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-8606/hmatrix-quadprogpp-0.4.0.0' Configuring hmatrix-quadprogpp-0.4.0.0... cabal: Missing dependency on a foreign library: * Missing C library: quadprog 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. cabal: Leaving directory '/tmp/cabal-tmp-8606/hmatrix-quadprogpp-0.4.0.0' cabal: Error: some packages failed to install: hmatrix-quadprogpp-0.4.0.0 failed during the configure step. The exception was: ExitFailure 1