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 bindings-DSL-1.0.25 Building bindings-DSL-1.0.25 Completed bindings-DSL-1.0.25 Starting bindings-hdf5-0.1.2 Building bindings-hdf5-0.1.2 Failed to install bindings-hdf5-0.1.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/bindings-hdf5-0.1.2-KfKwXj5IPLyKhFzrLF6QxQ.log ): cabal: Entering directory '/tmp/cabal-tmp-12994/bindings-hdf5-0.1.2' Configuring bindings-hdf5-0.1.2... checking for a sed that does not truncate output... /bin/sed checking for gawk... no checking for mawk... mawk checking for grep that handles long lines and -e... /bin/grep checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/gcc -E checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for h5cc... no checking for h5pcc... no checking for HDF5 libraries... no configure: WARNING: Unable to locate HDF5 compilation helper scripts 'h5cc' or 'h5pcc'. Please specify --with-hdf5= as the full path to h5cc or h5pcc. HDF5 support is being disabled (equivalent to --with-hdf5=no). configure: creating ./config.status config.status: creating bindings-hdf5.buildinfo Preprocessing library for bindings-hdf5-0.1.2.. Types.hsc:1:10: fatal error: hdf5.h: No such file or directory compilation terminated. compiling dist/build/Bindings/HDF5/Types_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Bindings/HDF5/Types_hsc_make.c -o dist/build/Bindings/HDF5/Types_hsc_make.o -fno-stack-protector -fno-stack-protector -fuse-ld=gold -D__GLASGOW_HASKELL__=806 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.6.3/bindings-DSL-1.0.25-2kwolusgL8L5V1adlcppFi/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/base-4.12.0.0/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/integer-gmp-1.0.2.0/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/include/ cabal: Leaving directory '/tmp/cabal-tmp-12994/bindings-hdf5-0.1.2' cabal: Error: some packages failed to install: bindings-hdf5-0.1.2-KfKwXj5IPLyKhFzrLF6QxQ failed during the building phase. The exception was: ExitFailure 1