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 unliftio-core-0.1.2.0 Starting exceptions-0.10.4 Building unliftio-core-0.1.2.0 Building exceptions-0.10.4 Completed unliftio-core-0.1.2.0 Completed exceptions-0.10.4 Starting linenoise-0.3.0 Building linenoise-0.3.0 Failed to install linenoise-0.3.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/linenoise-0.3.0-F73SlWKwh1aCOC4lUZc0wo.log ): cabal: Entering directory '/tmp/cabal-tmp-24528/linenoise-0.3.0' Configuring linenoise-0.3.0... Preprocessing library for linenoise-0.3.0.. Building library for linenoise-0.3.0.. [1 of 6] Compiling Linenoise.Completion ( src/Linenoise/Completion.hs, dist/build/Linenoise/Completion.o ) [2 of 6] Compiling Linenoise.FFI ( src/Linenoise/FFI.hs, dist/build/Linenoise/FFI.o ) [3 of 6] Compiling Linenoise.Unlift ( src/Linenoise/Unlift.hs, dist/build/Linenoise/Unlift.o ) [4 of 6] Compiling Linenoise.Repl ( src/Linenoise/Repl.hs, dist/build/Linenoise/Repl.o ) [5 of 6] Compiling Linenoise ( src/Linenoise.hs, dist/build/Linenoise.o ) [6 of 6] Compiling Paths_linenoise ( dist/build/autogen/Paths_linenoise.hs, dist/build/Paths_linenoise.o ) cbits/linenoise.c:118:10: error: fatal error: linenoise.h: No such file or directory #include "linenoise.h" ^~~~~~~~~~~~~ | 118 | #include "linenoise.h" | ^ compilation terminated. `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-24528/linenoise-0.3.0' cabal: Error: some packages failed to install: linenoise-0.3.0-F73SlWKwh1aCOC4lUZc0wo failed during the building phase. The exception was: ExitFailure 1