Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-2667/clipper-0.0.1' Configuring clipper-0.0.1... Building clipper-0.0.1... Preprocessing library clipper-0.0.1... In file included from Clipper.hsc:27:0: cbits/clipper.hpp:29:18: fatal error: vector: No such file or directory #include ^ compilation terminated. compiling dist/build/Algebra/Clipper_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Algebra/Clipper_hsc_make.c -o dist/build/Algebra/Clipper_hsc_make.o -fno-stack-protector -fno-stack-protector -D__GLASGOW_HASKELL__=800 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/base-4.9.0.0/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/integer-gmp-1.0.0.1/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/include -I/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/include/ cabal: Leaving directory '/tmp/cabal-tmp-2667/clipper-0.0.1' Failed to install clipper-0.0.1 cabal: Error: some packages failed to install: clipper-0.0.1 failed during the building phase. The exception was: ExitFailure 1