Resolving dependencies... Downloading mpi-hs-0.1.0.1... Configuring mpi-hs-0.1.0.1... Building mpi-hs-0.1.0.1... Failed to install mpi-hs-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/mpi-hs-0.1.0.1-F3WQsiGLm6aI9VYmsnL8TQ.log ): cabal: Entering directory '/tmp/cabal-tmp-25426/mpi-hs-0.1.0.1' Configuring mpi-hs-0.1.0.1... Preprocessing library for mpi-hs-0.1.0.1.. dist/build/Control/Distributed/MPI.chs.h:2:17: fatal error: mpi.h: No such file or directory #include ^ compilation terminated. c2hs: Error during preprocessing custom header file cabal: Leaving directory '/tmp/cabal-tmp-25426/mpi-hs-0.1.0.1' cabal: Error: some packages failed to install: mpi-hs-0.1.0.1-F3WQsiGLm6aI9VYmsnL8TQ failed during the building phase. The exception was: ExitFailure 1