Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cabal-tmp-31521/stream-fusion-0.1/dist/setup/setup.hs, /tmp/cabal-tmp-31521/stream-fusion-0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-31521/stream-fusion-0.1/dist/setup/setup ... Configuring stream-fusion-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: -DEXTERNAL_PACKAGE' use 'cpp-options: -DEXTERNAL_PACKAGE' Building stream-fusion-0.1... Preprocessing library stream-fusion-0.1... on the commandline: Warning: -fglasgow-exts is deprecated: Use individual extensions instead ghc: unrecognised flag: -fno-method-sharing Usage: For basic information, try the `--help' option. Failed to install stream-fusion-0.1 cabal: Error: some packages failed to install: stream-fusion-0.1 failed during the building phase. The exception was: ExitFailure 1