Resolving dependencies... Downloading cuda-0.6.6.2... [1 of 1] Compiling Main ( /tmp/cuda-0.6.6.2-26489/cuda-0.6.6.2/dist/setup/setup.hs, /tmp/cuda-0.6.6.2-26489/cuda-0.6.6.2/dist/setup/Main.o ) Linking /tmp/cuda-0.6.6.2-26489/cuda-0.6.6.2/dist/setup/setup ... Configuring cuda-0.6.6.2... checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for nvcc... no WARNING: Cannot find the CUDA compiler 'nvcc'. This is likely to cause problems. checking ghc version... 7.8.3 checking ghc architecture... x86_64 checking for Apple Blocks extension... no checking how to run the C preprocessor... /usr/bin/gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking cuda.h usability... no checking cuda.h presence... no checking for cuda.h... no configure: error: could not find CUDA headers ******************************************************************************** The configuration process failed to locate your CUDA installation. Ensure that you have installed both the developer driver and toolkit, available from: http://developer.nvidia.com/cuda-downloads and make sure that "nvcc" is available in your PATH. Check the above output log and run the command directly to ensure it can be located. If you have a non-standard installation, you can add additional search paths using --extra-include-dirs and --extra-lib-dirs. Note that 64-bit Linux flavours often require both "lib64" and "lib" library paths, in that order. ******************************************************************************** Failed to install cuda-0.6.6.2 cabal: Error: some packages failed to install: cuda-0.6.6.2 failed during the configure step. The exception was: ExitFailure 1 cufft-0.1.2.1 depends on cuda-0.6.6.2 which failed to install.