Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-14704/c2hs-0.15.0/dist/setup/setup.hs, /tmp/cabal-tmp-14704/c2hs-0.15.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-14704/c2hs-0.15.0/dist/setup/setup ... Configuring c2hs-0.15.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: 'hs-source-dirs: base/admin' directory does not exist. Building c2hs-0.15.0... Preprocessing library c2hs-0.15.0... In-place registering c2hs-0.15.0... Preprocessing executable 'c2hs' for c2hs-0.15.0... base/state/CIO.hs:69:8: Could not find module ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.2.0@direc_KowvXytSqazBcvN7MGpFtg’. Perhaps you need to add ‘directory’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. base/state/CIO.hs:71:8: Could not find module ‘System.Cmd’ It is a member of the hidden package ‘process-1.2.3.0@proce_FLTz0SLwyG6LJUpZ52HjkU’. Perhaps you need to add ‘process’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. base/syms/Attributes.hs:95:8: Could not find module ‘Data.Map’ It is a member of the hidden package ‘containers-0.5.6.2@conta_LKCPrTJwOTOLk4OU37YmeN’. Perhaps you need to add ‘containers’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. base/syntax/Lexers.hs:136:8: Could not find module ‘Data.Array’ It is a member of the hidden package ‘array-0.5.1.0@array_E0sTtauuKsGDLZoT7lTbgZ’. Perhaps you need to add ‘array’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. c2hs/c/CParserMonad.hs:65:18: Could not find module ‘Data.Set’ It is a member of the hidden package ‘containers-0.5.6.2@conta_LKCPrTJwOTOLk4OU37YmeN’. Perhaps you need to add ‘containers’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. c2hs/c/CPretty.hs:36:8: Could not find module ‘Text.PrettyPrint.HughesPJ’ It is a member of the hidden package ‘pretty-1.1.2.0@prett_7UQTOB05U7lIYPkFOVraeR’. Perhaps you need to add ‘pretty’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. dist/build/c2hs/c2hs-tmp/CLexer.hs:25:8: Could not find module ‘Data.Array.Base’ It is a member of the hidden package ‘array-0.5.1.0@array_E0sTtauuKsGDLZoT7lTbgZ’. Perhaps you need to add ‘array’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Failed to install c2hs-0.15.0 cabal: Error: some packages failed to install: c2hs-0.15.0 failed during the building phase. The exception was: ExitFailure 1