santolp / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

pyrit/cpyrit installation issues #334

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.root@bt:~# svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit
2.root@bt:~# cd pyrit/pyrit && python setup.py build && python setup.py install

3.root@bt:~# cd /pyrit/cpyrit_cuda && python setup.py build && python setup.py 
install

What is the expected output? What do you see instead?
root@bt:/# cd pyrit/cpyrit_cuda && python setup.py build && python setup.py 
install
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...
building 'cpyrit._cpyrit_cuda' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/opt/cuda/include -I/usr/include/python2.6 -c 
_cpyrit_cuda.c -o build/temp.linux-i686-2.6/_cpyrit_cuda.o -Wall 
-fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
build/temp.linux-i686-2.6/_cpyrit_cuda.o -lcrypto -lcuda -lz -o 
build/lib.linux-i686-2.6/cpyrit/_cpyrit_cuda.so
/usr/bin/ld: cannot find -lcuda
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
root@bt:/pyrit/cpyrit_cuda# 

What version of the product are you using? On what operating system?
OS:BT5(gnome) 
root@bt:/pyrit/cpyrit_cuda# which nvcc
/opt/cuda/bin/nvcc
root@bt:/pyrit/cpyrit_cuda# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2011 NVIDIA Corporation
Built on Sun_Mar_20_16:47:09_PDT_2011
Cuda compilation tools, release 4.0, V0.2.1221
root@bt:/pyrit/cpyrit_cuda# 

Please provide any additional information below.
...

Original issue reported on code.google.com by Fad.m...@gmail.com on 7 Jul 2011 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by lukas.l...@gmail.com on 7 Jul 2011 at 8:11