Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-30613/NewBinary-0.1/dist/setup/setup.hs, /tmp/cabal-tmp-30613/NewBinary-0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-30613/NewBinary-0.1/dist/setup/setup ... Configuring NewBinary-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: Instead of 'ghc-options: -cpp' use 'extensions: CPP' Building NewBinary-0.1... Preprocessing library NewBinary-0.1... on the commandline: Warning: -fglasgow-exts is deprecated: Use individual extensions instead NewBinary/Binary.hs:76: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. NewBinary/Binary.hs:77:8: Could not find module ‘Data.Array.IO’ 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. NewBinary/Binary.hs:78: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. NewBinary/Binary.hs:81:8: Could not find module ‘GHC.Handle’ Perhaps you meant GHC.IO.Handle (from base-4.8.1.0) Use -v to see a list of the files searched for. NewBinary/FastMutInt.lhs:24:8: Could not find module ‘GHC.IOBase’ Perhaps you meant GHC.Base (from base-4.8.1.0) Use -v to see a list of the files searched for. Failed to install NewBinary-0.1 cabal: Error: some packages failed to install: NewBinary-0.1 failed during the building phase. The exception was: ExitFailure 1