Skip to content

Instantly share code, notes, and snippets.

@dagit
Created August 17, 2012 00:48
Show Gist options
  • Save dagit/3374891 to your computer and use it in GitHub Desktop.
Save dagit/3374891 to your computer and use it in GitHub Desktop.
dagit@flux:~/tmp$ cabal-dev install accelerate-cuda
Resolving dependencies...
Configuring accelerate-cuda-0.12.1.1...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for nvcc... nvcc
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... configure: error: in `/private/var/folders/wb/kzn7x2tj6db_g9qhwy3w1ss00000gp/T/accelerate-cuda-0.12.1.1-85898/accelerate-cuda-0.12.1.1':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
cabal: Error: some packages failed to install:
accelerate-cuda-0.12.1.1 failed during the configure step. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment