Resolving dependencies... [1 of 1] Compiling Main ( /tmp/cuda-0.5.1.1-4106/cuda-0.5.1.1/Setup.hs, /tmp/cuda-0.5.1.1-4106/cuda-0.5.1.1/dist/setup/Main.o ) Linking /tmp/cuda-0.5.1.1-4106/cuda-0.5.1.1/dist/setup/setup ... Configuring cuda-0.5.1.1... setup: The program c2hs version >=0.16 is required but it could not be found. Failed to install cuda-0.5.1.1 cabal: Error: some packages failed to install: cuda-0.5.1.1 failed during the configure step. The exception was: ExitFailure 1