Resolving dependencies... Downloading hapstone-0.2.0.1... cabal: Entering directory '/tmp/cabal-tmp-3596/hapstone-0.2.0.1' Configuring hapstone-0.2.0.1... cabal: The program 'c2hs' is required but it could not be found. cabal: Leaving directory '/tmp/cabal-tmp-3596/hapstone-0.2.0.1' Failed to install hapstone-0.2.0.1 cabal: Error: some packages failed to install: hapstone-0.2.0.1 failed during the configure step. The exception was: ExitFailure 1