Package Details: cpyrit-cuda 0.4.0-2

Git Clone URL: https://aur.archlinux.org/cpyrit-cuda.git (read-only)
Package Base: cpyrit-cuda
Description: Pyrit support for Nvidia-CUDA.
Upstream URL: https://code.google.com/p/pyrit/
Keywords: io mrbit sono
Licenses: GPL3
Submitter: None
Maintainer: mrbit
Last Packager: mrbit
Votes: 24
Popularity: 0.000360
First Submitted: 2009-08-05 21:33
Last Updated: 2017-06-01 09:08

Latest Comments

darthnet commented on 2017-05-31 15:49

any help on these matter would be helpfull new in linux cant see to get it working i have succesfully in debian but not in arch i get the following error


--------------------------------------------------------------------------------

-> Downloading cpyrit-cuda-0.4.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22050 100 22050 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k
==> Validating source files with md5sums...
cpyrit-cuda-0.4.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting cpyrit-cuda-0.4.0.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
ln -s /opt/cuda-toolkit /opt/cuda
svn: E155007: '/tmp/yaourt-tmp-vader/aur-cpyrit-cuda/src/cpyrit-cuda-0.4.0' is not a working copy
running build
running build_ext
Compiling CUDA module using nvcc 8.0, V8.0.61...
Executing '/opt/cuda/bin/nvcc -m64 --host-compilation C -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu'
nvcc fatal : Unknown option '-host-compilation'
Traceback (most recent call last):
File "setup.py", line 175, in <module>
setup(**setup_args)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 100, in run
subprocess.check_call(nvcc_cmd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/opt/cuda/bin/nvcc -m64 --host-compilation C -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu' returned non-zero exit status 1

vendforce commented on 2016-11-05 09:25

Download the snapshot and Change the line in the PKGBUILD file

#sed -e "s|'/opt/cuda'|'/opt/cuda-toolkit'|" -e "s|' --host-compilation C'||" -i setup.py
---------------- to This -----------------
sed -e "s|' --host-compilation C'||" -i ${srcdir}/cpyrit-cuda-0.4.0/setup.py

you also need to do the following

sudo pacaur -Syu downgrade
sudo downgrade scapy
# downgrade CURRENT SCAPY 2.3.3 to 2.3.2 version theres a problem with scapy and pyrit

sudo pyrit -r capture-01.cap analyze

ERROR BitEnumField' object has no attribute 'names'


ifree commented on 2016-10-16 13:47

I have a problem with installation this package.

Here is output:
----------------------------------------------------------------------------
ln -s /opt/cuda-toolkit /opt/cuda
running build
running build_ext
Compiling CUDA module using nvcc 8.0, V8.0.44...
Executing '/opt/cuda/bin/nvcc -m64 --host-compilation C -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu'
nvcc fatal : Unknown option '-host-compilation'
Traceback (most recent call last):
File "setup.py", line 175, in <module>
setup(**setup_args)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 100, in run
subprocess.check_call(nvcc_cmd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/opt/cuda/bin/nvcc -m64 --host-compilation C -Xcompiler "-fPIC" --ptx ./_cpyrit_cudakernel.cu' returned non-zero exit status 1
----------------------------------------------------------------------------

mrbit commented on 2016-09-06 17:25

update source link

mrbit commented on 2016-09-05 20:05

source link: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pyrit/cpyrit-cuda-0.4.0.tar.gz

sorry, as soon as possible lighthouse editing PKGBUILD

F1nny commented on 2015-08-24 02:39

Hey guys this still functional with the current CUDA packages? Also the PKGBUILD is depreciated/needs the package() function, thanks!

mrbit commented on 2012-10-29 20:46

fixed!

Anonymous comment on 2012-10-29 17:59

I had to recompile the package to get it to work, and to do that I had to edit setup.py. I changed NVIDIA_INC_DIRS = [] to NVIDIA_INC_DIRS = ['/opt/cuda/include'] on line 33 and then it compiled. Not sure how to fix that in the PKGBUILD.

mrbit commented on 2012-10-29 17:46

then ... makedepends = cuda ?

Anonymous comment on 2012-10-29 16:43

As I said in the svn package, this no longer works with the new cuda package in community which seems to be version 5. Looks like we're going to have to get a cuda4-toolkit package going or something, the last update to pyrit was in April 2011.

All comments