Re: Help installing pyrit
You might want to make sure you have all the dependencies installed. I see they call for python-devel which in ubuntu does not exist but python-all-dev does which says it provides all python development sources for your system. I see that none of the python dev packages are installed in my bt5 by default so I thought I would throw that out there.
Heres the pyrit installation wiki page with more info on compiling it.
http://code.google.com/p/pyrit/wiki/Installation
Good Luck
Re: Help installing pyrit
That maybe your problem.. I could be wrong try this
(http://www.backtrack-linux.org/forum...kde-64bit.html)
Re: Help installing pyrit
check to make sure you have all required dependencies installed.
Re: Help installing pyrit
Looks like dependencies here :D
is there something "python-gcc-dev" pkg ? try apt-cache search
Re: Help installing pyrit
I did it!
Were missing any pyton library!!
I found the solution
http://www.backtrack-linux.org/forum...kde-64bit.html (it work also for GNOME)
The solution has been suggested by an user, it's not in the guide!
Thank you all!
Re: Help installing pyrit bt5
Here is a quick guide to get ati sdk, pyrit and opencl working on your system (tested on a g73jh ati 5870 with an i7), most of this guide has been taken from
various other guides and then put together to be as simple as possible.
First prepare kernel sources by:
Code:
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
you must now download the ati driver to your root or home folder from the website and change the code below to the correct one
ie.. the present driver that i have is ati-driver-installer-11-9-x86.x86_64.run but the next one
will be ati-driver-installer-11-10-x86.x86_64.run
Now install ati driver by running:
Code:
sh ati-driver-installer-11-9-x86.x86_64.run
Follow install and then restart computer.
Download the AMD-APP SDK from
http://orwell.fiit.stuba.sk/~nou/amd-app_2.4_amd64.deb
Install amd-app (SDK) by clicking on the
amd-app_2.4_amd64.deb file and clicking install.
*** Note this installs the amd app sdk with opencl support only ***
Also download the AMD-APP-SDK-v2.4-lnx64.tgz (With CAL++ Libraries) from:
http://developer.amd.com/gpu/AMDAPPS...s/default.aspx
Untar by typing:
Code:
tar -xvzf AMD-APP-SDK-v2.4-lnx64.tgz
Then go into the directory:
Code:
cd AMD-APP-SDK-v2.4-lnx64
tar -xvzf icd-regisration.tgz
make
make install
Install the boost library and dev tools by typing:
Code:
apt-get install libboost1.40-all-dev
apt-get install cmake
Download cal++ to your root directory from:
http://sourceforge.net/projects/calp...ar.gz/download
Now untar calpp-0.90 by typing:
Code:
tar -xvzf calpp-0.90.tar.gz
cd calpp-0.90
First edit the CMakeLists.txt file in the cal++ directory so that it knows where ATI APP is installed.
Open the file in nano by:
Code:
nano CMakeLists.txt
Find the lines that start with FIND_LIBRARY() and edit to look like this:
FIND_LIBRARY( LIB_ATICALCL aticalcl PATHS "/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" )
FIND_LIBRARY( LIB_ATICALRT aticalrt PATHS "/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/" )
FIND_PATH( LIB_ATICAL_INCLUDE NAMES cal.h calcl.h PATHS "/root/AMD-APP-SDK-v2.4-lnx64/include/CAL" )
Then press crtl + x followed by 'y' and then enter
Then edit the bashrc file by typing:
Code:
nano ~/.bashrc
Go to the bottom and add this:
ATISTREAMSDKROOT=/root/AMD-APP-SDK-v2.4-lnx64/
ATISTREAMSDKSAMPLESROOT=/root/AMD-APP-SDK-v2.4-lnx64/samples
LD_LIBRARY_PATH=opt/oracle/instantclient_10_2:$ATISTREAMSDKROOT/lib/x86_64
export ATISTREAMSDKROOT
export ATISTREAMSDKSAMPLESROOT
Then press crtl + x followed by 'y' and then enter
Then install cal++ by going into the cal++ directory (cd calpp-0.90) and typing:
Code:
cmake . (dont forget to type the period)
once that's finished, type
Code:
make
make install
next we download the pyrit directory by typing:
svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
We have just created a dir /pyrit_svn
This will install libs and other stuff needed:
Code:
apt-get install libssl-dev
Going to build pyrit
Code:
cd pyrit_svn/pyrit
python setup.py build
python setup.py install
next build cpyrit_opencl
cd pyrit_svn/cpyrit_opencl
python setup.py build
python setup.py install
now you can type: pyrit list_cores
and hopefully you will get something like this:
root@bt:~# pyrit list_cores
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
The following cores seem available...
#1: 'OpenCL-Device 'Juniper''
#2: 'CPU-Core (SSE2)'
#3: 'CPU-Core (SSE2)'
#4: 'CPU-Core (SSE2)'
#5: 'CPU-Core (SSE2)'
#6: 'CPU-Core (SSE2)'
#7: 'CPU-Core (SSE2)'
#8: 'CPU-Core (SSE2)'
root@bt:~#
This is on a Asus g73-jh with an i7 processor and an ati 5870 graphics card.
I can get anything from 16000 to 21000 pkms depending on the word lenghts
i have tried very hard to get cal++ working on this laptop but all of my attempt have been futile,
if anyone else can manage to get working on one of these rigs i would love to hear from you.