Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-26019/hsc2hs-0.67.20061107' [1 of 1] Compiling Main ( /tmp/cabal-tmp-26019/hsc2hs-0.67.20061107/dist/setup/setup.hs, /tmp/cabal-tmp-26019/hsc2hs-0.67.20061107/dist/setup/Main.o ) Linking /tmp/cabal-tmp-26019/hsc2hs-0.67.20061107/dist/setup/setup ... Configuring hsc2hs-0.67.20061107... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building hsc2hs-0.67.20061107... Preprocessing executable 'hsc2hs' for hsc2hs-0.67.20061107... [1 of 2] Compiling Paths_hsc2hs ( dist/build/autogen/Paths_hsc2hs.hs, dist/build/hsc2hs/hsc2hs-tmp/Paths_hsc2hs.o ) [2 of 2] Compiling Main ( Main.hs, dist/build/hsc2hs/hsc2hs-tmp/Main.o ) Main.hs:16:1: error: Failed to load interface for ‘System.Cmd’ It is a member of the hidden package ‘process-1.4.2.0’. 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. Main.hs:18:1: error: Failed to load interface for ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.6.2’. 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. Main.hs:24:1: error: Failed to load interface for ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.6.2’. 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. Main.hs:32:1: error: Failed to load interface for ‘System.Process’ It is a member of the hidden package ‘process-1.4.2.0’. 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. cabal: Leaving directory '/tmp/cabal-tmp-26019/hsc2hs-0.67.20061107' Failed to install hsc2hs-0.67.20061107 cabal: Error: some packages failed to install: hsc2hs-0.67.20061107 failed during the building phase. The exception was: ExitFailure 1