Resolving dependencies... Downloading HTTP-3000.0.0... [1 of 1] Compiling Main ( /tmp/HTTP-3000.0.0-30560/HTTP-3000.0.0/Setup.lhs, /tmp/HTTP-3000.0.0-30560/HTTP-3000.0.0/dist/setup/Main.o ) Linking /tmp/HTTP-3000.0.0-30560/HTTP-3000.0.0/dist/setup/setup ... Configuring HTTP-3000.0.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building HTTP-3000.0.0... Preprocessing library HTTP-3000.0.0... Network/HTTP.hs:149:8: Could not find module `Data.Array.MArray' It is a member of the hidden package `array-0.4.0.1'. 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 HTTP-3000.0.0 cabal: Error: some packages failed to install: HTTP-3000.0.0 failed during the building phase. The exception was: ExitFailure 1 cabal-upload-0.4 depends on HTTP-3000.0.0 which failed to install.