Resolving dependencies... Configuring bytestring-0.9.1.10... Building bytestring-0.9.1.10... Preprocessing library bytestring-0.9.1.10... ghc: unrecognised flags: -fno-method-sharing Usage: For basic information, try the `--help' option. Failed to install bytestring-0.9.1.10 cabal: Error: some packages failed to install: bytestring-0.9.1.10 failed during the building phase. The exception was: ExitFailure 1 dvi-processing-0.1 depends on bytestring-0.9.1.10 which failed to install.