Resolving dependencies... Configuring extensible-exceptions-0.1.1.4... Building extensible-exceptions-0.1.1.4... Installed extensible-exceptions-0.1.1.4 Configuring cuda-0.4.0.1... Failed to install cuda-0.4.0.1 Build log ( /home/builder/.cabal/logs/cuda-0.4.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-31920/cuda-0.4.0.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-31920/cuda-0.4.0.1/dist/setup/setup.hs, /tmp/cabal-tmp-31920/cuda-0.4.0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-31920/cuda-0.4.0.1/dist/setup/setup ... Configuring cuda-0.4.0.1... checking for gcc... /usr/bin/gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 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 the driver and developer toolkit, available from: http://developer.nvidia.com/cuda-downloads Then make sure that "nvcc" is available in your PATH, or set the appropriate directories with --extra-include-dirs and --extra-lib-dirs. ******************************************************************************** cabal: Leaving directory '/tmp/cabal-tmp-31920/cuda-0.4.0.1' cabal: Error: some packages failed to install: cuda-0.4.0.1 failed during the configure step. The exception was: ExitFailure 1