Resolving dependencies... Downloading cuda-0.7.0.0... [1 of 1] Compiling Main ( /tmp/cabal-tmp-6979/cuda-0.7.0.0/dist/setup/setup.hs, /tmp/cabal-tmp-6979/cuda-0.7.0.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-6979/cuda-0.7.0.0/dist/setup/setup ... Configuring cuda-0.7.0.0... setup: The program 'c2hs' version >=0.21 is required but it could not be found. Failed to install cuda-0.7.0.0 cabal: Error: some packages failed to install: cuda-0.7.0.0 failed during the configure step. The exception was: ExitFailure 1 cufft-0.1.2.2 depends on cuda-0.7.0.0 which failed to install.