dtrip / pyrit

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

"./setup.py build" errors #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1../setup.py build

What is the expected output? What do you see instead?

elect@elect-desktop:~/Scaricati/pyrit-0.3.0$ python setup.py build
svn: '.' non è una copia locale
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
copying pyrit_cli.py -> build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/__init__.py -> build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/cpyrit.py -> build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/util.py -> build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/pckttools.py -> build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/config.py -> build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/network.py -> build/lib.linux-x86_64-2.6/cpyrit
copying cpyrit/storage.py -> build/lib.linux-x86_64-2.6/cpyrit
running build_ext
building 'cpyrit._cpyrit_cpu' extension
creating build/temp.linux-x86_64-2.6
creating build/temp.linux-x86_64-2.6/cpyrit
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c cpyrit/_cpyrit_cpu.c -o 
build/temp.linux-x86_64-2.6/cpyrit/_cpyrit_cpu.o -DVERSION="0.3.0"
cpyrit/_cpyrit_cpu.c:21:20: error: Python.h: Nessun file o directory
cpyrit/_cpyrit_cpu.c:23:26: error: openssl/hmac.h: Nessun file o directory
cpyrit/_cpyrit_cpu.c:24:25: error: openssl/sha.h: Nessun file o directory
cpyrit/_cpyrit_cpu.c:45: error: expected specifier-qualifier-list before 
‘SHA_CTX’
cpyrit/_cpyrit_cpu.c:53: error: expected specifier-qualifier-list before 
‘PyObject_HEAD’
cpyrit/_cpyrit_cpu.c:63: error: expected specifier-qualifier-list before 
‘PyObject_HEAD’
cpyrit/_cpyrit_cpu.c:68: error: expected specifier-qualifier-list before 
‘PyObject_HEAD’
cpyrit/_cpyrit_cpu.c:73: error: expected specifier-qualifier-list before 
‘PyObject_HEAD’
cpyrit/_cpyrit_cpu.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_type’
cpyrit/_cpyrit_cpu.c:84: error: ‘NULL’ undeclared here (not in a function)
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
cpyrit/_cpyrit_cpu.c:311: warning: implicit declaration of function ‘memset’
cpyrit/_cpyrit_cpu.c:311: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:327: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:328: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:329: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:330: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:331: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:333: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:334: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:335: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:336: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:337: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:343: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:344: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c:351: warning: implicit declaration of function ‘memcpy’
cpyrit/_cpyrit_cpu.c:351: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:371: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:372: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
cpyrit/_cpyrit_cpu.c:390: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:391: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:397: warning: implicit declaration of function 
‘SHA1_Init’
cpyrit/_cpyrit_cpu.c:397: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:398: warning: implicit declaration of function 
‘SHA1_Update’
cpyrit/_cpyrit_cpu.c:398: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:401: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:402: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:405: warning: implicit declaration of function ‘HMAC’
cpyrit/_cpyrit_cpu.c:405: warning: implicit declaration of function 
‘EVP_sha1’
cpyrit/_cpyrit_cpu.c:405: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:408: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_openssl’:
cpyrit/_cpyrit_cpu.c:415: error: ‘SHA_CTX’ undeclared (first use in this 
function)
cpyrit/_cpyrit_cpu.c:415: error: (Each undeclared identifier is reported only 
once
cpyrit/_cpyrit_cpu.c:415: error: for each function it appears in.)
cpyrit/_cpyrit_cpu.c:415: error: expected ‘;’ before ‘ctx’
cpyrit/_cpyrit_cpu.c:418: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:418: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:419: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c:422: error: ‘ctx’ undeclared (first use in this 
function)
cpyrit/_cpyrit_cpu.c:422: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:424: warning: implicit declaration of function 
‘SHA1_Final’
cpyrit/_cpyrit_cpu.c:426: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:431: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:433: error: ‘struct pmk_ctr’ has no member named 
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:437: error: ‘struct pmk_ctr’ has no member named 
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:442: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:449: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:452: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_sha1hmac_prepare_sse2’:
cpyrit/_cpyrit_cpu.c:546: warning: implicit declaration of function 
‘PyMem_Malloc’
cpyrit/_cpyrit_cpu.c:546: warning: assignment makes pointer from integer 
without a cast
cpyrit/_cpyrit_cpu.c:551: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:552: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:556: warning: assignment makes pointer from integer 
without a cast
cpyrit/_cpyrit_cpu.c:559: warning: implicit declaration of function 
‘PyMem_Free’
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_sha1hmac_sse2’:
cpyrit/_cpyrit_cpu.c:616: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:617: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:636: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:637: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:643: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_prepare_sse2’:
cpyrit/_cpyrit_cpu.c:668: warning: assignment makes pointer from integer 
without a cast
cpyrit/_cpyrit_cpu.c:673: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:674: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:678: warning: assignment makes pointer from integer 
without a cast
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_sse2’:
cpyrit/_cpyrit_cpu.c:728: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:729: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:751: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:752: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:758: warning: incompatible implicit declaration of 
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_hmac_prepare_openssl’:
cpyrit/_cpyrit_cpu.c:785: warning: assignment makes pointer from integer 
without a cast
cpyrit/_cpyrit_cpu.c:789: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_openssl’:
cpyrit/_cpyrit_cpu.c:809: warning: implicit declaration of function 
‘EVP_md5’
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:813: error: expected declaration specifiers or ‘...’ 
before ‘PyObject’
cpyrit/_cpyrit_cpu.c:813: error: expected declaration specifiers or ‘...’ 
before ‘PyObject’
cpyrit/_cpyrit_cpu.c: In function ‘EAPOLCracker_init’:
cpyrit/_cpyrit_cpu.c:819: error: ‘EAPOLCracker’ has no member named 
‘eapolframe’
cpyrit/_cpyrit_cpu.c:819: error: ‘EAPOLCracker’ has no member named 
‘pke’
cpyrit/_cpyrit_cpu.c:820: warning: implicit declaration of function 
‘PyArg_ParseTuple’
cpyrit/_cpyrit_cpu.c:820: error: ‘args’ undeclared (first use in this 
function)
cpyrit/_cpyrit_cpu.c:825: warning: implicit declaration of function 
‘PyErr_SetString’
cpyrit/_cpyrit_cpu.c:825: error: ‘PyExc_ValueError’ undeclared (first use 
in this function)
cpyrit/_cpyrit_cpu.c:828: error: ‘EAPOLCracker’ has no member named 
‘pke’
cpyrit/_cpyrit_cpu.c:829: error: ‘EAPOLCracker’ has no member named 
‘pke’
cpyrit/_cpyrit_cpu.c:831: warning: implicit declaration of function 
‘PyErr_NoMemory’
cpyrit/_cpyrit_cpu.c:840: warning: incompatible implicit declaration of 
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:840: error: ‘EAPOLCracker’ has no member named 
‘keymic’
cpyrit/_cpyrit_cpu.c:842: error: ‘EAPOLCracker’ has no member named 
‘eapolframe_size’
cpyrit/_cpyrit_cpu.c:844: warning: implicit declaration of function ‘strcmp’
cpyrit/_cpyrit_cpu.c:846: error: ‘EAPOLCracker’ has no member named 
‘eapolframe’
cpyrit/_cpyrit_cpu.c:847: error: ‘EAPOLCracker’ has no member named 
‘keyscheme’
cpyrit/_cpyrit_cpu.c:849: error: ‘EAPOLCracker’ has no member named 
‘eapolframe’
cpyrit/_cpyrit_cpu.c:850: error: ‘EAPOLCracker’ has no member named 
‘keyscheme’
cpyrit/_cpyrit_cpu.c:856: error: ‘EAPOLCracker’ has no member named 
‘eapolframe’
cpyrit/_cpyrit_cpu.c: In function ‘EAPOLCracker_dealloc’:
cpyrit/_cpyrit_cpu.c:870: error: ‘EAPOLCracker’ has no member named 
‘pke’
cpyrit/_cpyrit_cpu.c:871: error: ‘EAPOLCracker’ has no member named 
‘pke’
cpyrit/_cpyrit_cpu.c:872: error: ‘EAPOLCracker’ has no member named 
‘eapolframe’
cpyrit/_cpyrit_cpu.c:873: error: ‘EAPOLCracker’ has no member named 
‘eapolframe’
cpyrit/_cpyrit_cpu.c:874: error: ‘EAPOLCracker’ has no member named 
‘ob_type’
cpyrit/_cpyrit_cpu.c:874: error: ‘PyObject’ undeclared (first use in this 
function)
cpyrit/_cpyrit_cpu.c:874: error: expected expression before ‘)’ token
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:878: error: expected ‘)’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:943: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:946: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c: In function ‘CowpattyResult_dealloc’:
cpyrit/_cpyrit_cpu.c:1050: error: ‘CowpattyResult’ has no member named 
‘buffer’
cpyrit/_cpyrit_cpu.c:1051: error: ‘CowpattyResult’ has no member named 
‘buffer’
cpyrit/_cpyrit_cpu.c:1052: error: ‘CowpattyResult’ has no member named 
‘ob_type’
cpyrit/_cpyrit_cpu.c:1052: error: ‘PyObject’ undeclared (first use in this 
function)
cpyrit/_cpyrit_cpu.c:1052: error: expected expression before ‘)’ token
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:1056: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_bf_getreadbuffer’
cpyrit/_cpyrit_cpu.c:1068: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_bf_getsegcount’
cpyrit/_cpyrit_cpu.c:1076: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_sq_length’
cpyrit/_cpyrit_cpu.c:1081: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1145: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:1148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1163: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:1166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1256: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:1259: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1343: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:1346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1354: error: expected ‘)’ before string constant
cpyrit/_cpyrit_cpu.c:1357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:1395: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CPUDevice_methods’
cpyrit/_cpyrit_cpu.c:1401: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CPUDevice_type’
cpyrit/_cpyrit_cpu.c:1446: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘EAPOLCracker_methods’
cpyrit/_cpyrit_cpu.c:1452: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘EAPOLCracker_type’
cpyrit/_cpyrit_cpu.c:1497: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_methods’
cpyrit/_cpyrit_cpu.c:1503: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResults_buffer_procs’
cpyrit/_cpyrit_cpu.c:1510: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_seq_methods’
cpyrit/_cpyrit_cpu.c:1521: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyResult_type’
cpyrit/_cpyrit_cpu.c:1566: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyFile_methods’
cpyrit/_cpyrit_cpu.c:1573: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CowpattyFile_type’
cpyrit/_cpyrit_cpu.c:1618: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘CPyritCPUMethods’
cpyrit/_cpyrit_cpu.c: In function ‘pathconfig’:
cpyrit/_cpyrit_cpu.c:1642: error: ‘PlatformString’ undeclared (first use in 
this function)
cpyrit/_cpyrit_cpu.c:1642: warning: implicit declaration of function 
‘PyString_FromString’
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:1672: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘init_cpyrit_cpu’
error: command 'gcc' failed with exit status 1

What version of the product are you using? On what operating system?

svn
3.0

Please provide any additional information below.

Original issue reported on code.google.com by elec...@gmail.com on 10 Dec 2010 at 8:55

GoogleCodeExporter commented 9 years ago
please install the libpcap, libcrypto (openssl) and python headers according to 
Installation-Wiki

Original comment by lukas.l...@gmail.com on 10 Dec 2010 at 9:00

GoogleCodeExporter commented 9 years ago
Thanks, i solved that

But now i get problem with an environment variable

elect@elect-desktop:~/Scaricati/pyrit_svn/cpyrit_calpp$ sudo ./setup.py install 
--record ~/pyritcalpp.txt
unavailable enviroment variable ATISTREAMSDKROOT
Traceback (most recent call last):
  File "./setup.py", line 35, in <module>
    CALPP_INC_DIR = os.environ['ATISTREAMSDKROOT']
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'ATISTREAMSDKROOT'
elect@elect-desktop:~/Scaricati/pyrit_svn/cpyrit_calpp$ echo &ATISTREAMSDKROOT
[1] 8137

ATISTREAMSDKROOT: command not found
[1]+  Done                echo
elect@elect-desktop:~/Scaricati/pyrit_svn/cpyrit_calpp$ echo $ATISTREAMSDKROOT
/ati-stream-sdk-v2.2-lnx64

I modified in my ./.bashrc the ati-stream-sdk-v2.2-lnx32 with 
ati-stream-sdk-v2.2-lnx64 because of 64bit...

but i dont know what happend, the variable exists..

Original comment by elec...@gmail.com on 11 Dec 2010 at 1:50

GoogleCodeExporter commented 9 years ago
elect@elect-desktop:~/Scaricati/pyrit_svn/cpyrit_calpp$ echo 
$ATISTREAMSDKROOT/ati-stream-sdk-v2.2-lnx64
elect@elect-desktop:~/Scaricati/pyrit_svn/cpyrit_calpp$ echo 
$ATISTREAMSDKSAMPLEROOT
/ati-stream-sdk-v2.2-lnx64/samples
elect@elect-desktop:~/Scaricati/pyrit_svn/cpyrit_calpp$ echo 
$LD_LIBRARY_PATH/ati-stream-sdk-v2.2-lnx64/lib/x86_64

its correct...

im gettin crazy

Original comment by elec...@gmail.com on 11 Dec 2010 at 4:02

GoogleCodeExporter commented 9 years ago
you can see which variables are set by executing

python -c "import os; print os.environ"

Original comment by lukas.l...@gmail.com on 11 Dec 2010 at 4:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
elect@elect-desktop:~/Scaricati/pyrit_svn/pyrit$ python -c "import os; print 
os.environ"
{'GDM_KEYBOARD_LAYOUT': 'it', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 
'LESSOPEN': '| /usr/bin/lesspipe %s', 'LIBGL_DRIVERS_PATH': 
'/usr/lib/dri:/usr/lib32/dri', 'LOGNAME': 'elect', 'USER': 'elect', 'PATH': 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/e
lect/Scaricati/omnetpp-4.0p1/bin:/home/elect/Scaricati/omnetpp-4.0p1/bin', 
'GNOME_KEYRING_CONTROL': '/tmp/keyring-mPVrFs', 'LD_LIBRARY_PATH': 
'/ati-stream-sdk-v2.2-lnx64/lib/x86_64', 'SSH_AGENT_PID': '4680', 'LANG': 
'it_IT.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'ATISTREAMSDKSAMPLEROOT': 
'/ati-stream-sdk-v2.2-lnx64/samples', 'XDG_SESSION_COOKIE': 
'5113407708f0267f33e941364b634af9-1292083150.284090-1671675182', 
'SESSION_MANAGER': 
'local/elect-desktop:@/tmp/.ICE-unix/4644,unix/elect-desktop:/tmp/.ICE-unix/4644
', 'SHLVL': '1', 'MANDATORY_PATH': '/usr/share/gconf/gnome.mandatory.path', 
'DISPLAY': ':0.0', 'ATISTREAMSDKSAMPLESROOT': 
'/ati-stream-sdk-v2.2-lnx64/samples', 'WINDOWID': '20971524', '_': 
'/usr/bin/python', 'HOME': '/home/elect', 'USERNAME': 'elect', 'SSH_AUTH_SOCK': 
'/tmp/keyring-mPVrFs/ssh', 'TCL_LIBRARY': '/usr/share/tcltk/tcl8.4', 
'GDMSESSION': 'gnome', 'GNOME_KEYRING_PID': '4626', 'LESSCLOSE': 
'/usr/bin/lesspipe %s %s', 'DBUS_SESSION_BUS_ADDRESS': 
'unix:abstract=/tmp/dbus-5KNBDCUo9s,guid=41293e6c1d26e58dad8dde484d039fce', 
'ORBIT_SOCKETDIR': '/tmp/orbit-elect', 'GTK_MODULES': 'canberra-gtk-module', 
'DESKTOP_SESSION': 'gnome', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-gnome:/etc/xdg', 
'DEFAULTS_PATH': '/usr/share/gconf/gnome.default.path', 'OLDPWD': 
'/home/elect/Scaricati/pyrit_svn', 'GDM_LANG': 'it_IT.UTF-8', 'XAUTHORITY': 
'/var/run/gdm/auth-for-elect-PppMMn/database', 'SPEECHD_PORT': '7560', 
'XDG_DATA_DIRS': '/usr/share/gnome:/usr/local/share/:/usr/share/', 'PWD': 
'/home/elect/Scaricati/pyrit_svn/pyrit', 'COLORTERM': 'gnome-terminal', 
'ATISTREAMSDKROOT': '/ati-stream-sdk-v2.2-lnx64', 'LS_COLORS': 
'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33
;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*
.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01
;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;3
1:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=0
1;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.b
mp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35
:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx
=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:
*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01
;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.fl
v=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.
anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;3
6:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=
00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
elect@elect-desktop:~/Scaricati/pyrit_svn/pyrit$ 

Its funny because with pyrit no problem

elect@elect-desktop:~/Scaricati/pyrit_svn/pyrit$ sudo ./setup.py buildrunning 
build
running build_py
running build_ext
running build_scripts
elect@elect-desktop:~/Scaricati/pyrit_svn/pyrit$ sudo ./setup.py install 
--record ~/pyrit.txt
running install
running build
running build_py
running build_ext
running build_scripts
running install_lib
writing byte-compilation script '/tmp/tmplgdXlb.py'
/usr/bin/python -O /tmp/tmplgdXlb.py
removing /tmp/tmplgdXlb.py
running install_scripts
changing mode of /usr/local/bin/pyrit to 755
running install_egg_info
Removing /usr/local/lib/python2.6/dist-packages/pyrit-0.4.0_dev.egg-info
Writing /usr/local/lib/python2.6/dist-packages/pyrit-0.4.0_dev.egg-info
writing list of installed files to '/home/elect/pyrit.txt'

Original comment by elec...@gmail.com on 11 Dec 2010 at 4:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I tried also to substiture directly in the setup.py the variable 
'ATISTREAMSDKROOT' with the path '/ati-stream-sdk-v2.2-lnx64'

but without success..

Original comment by elec...@gmail.com on 11 Dec 2010 at 4:13

GoogleCodeExporter commented 9 years ago
With OpenCL no problem, right now i am using that..

Original comment by elec...@gmail.com on 17 Dec 2010 at 12:19

GoogleCodeExporter commented 9 years ago
Did you find any solution?

I'm having the same trouble with Cal, but not with OpenCL.

Original comment by jmlopezr...@gmail.com on 11 Jan 2011 at 7:55

GoogleCodeExporter commented 9 years ago
lol, no, you have the same identical problem

Welcome in the club ^^

Original comment by elec...@gmail.com on 11 Jan 2011 at 9:06

GoogleCodeExporter commented 9 years ago
please open a new issue and set hazeman11 on cc

Original comment by lukas.l...@gmail.com on 12 Jan 2011 at 7:34

GoogleCodeExporter commented 9 years ago
"set hazeman11 on cc"

What you mean?

Original comment by elec...@gmail.com on 12 Jan 2011 at 10:01

GoogleCodeExporter commented 9 years ago
i think it means you have to advise also hazeman11 by mail

Original comment by pyrit.lo...@gmail.com on 14 Jan 2011 at 5:52

GoogleCodeExporter commented 9 years ago
this issue is closed and no longer monitored. the topic now discussed also 
differs from the one the issue was originally opened for. Please open a new 
issue for the topic discussed now an add hazeman11 to the CC-field while 
creating the issue. He is the maintainer of the CALPP-code

Original comment by lukas.l...@gmail.com on 17 Jan 2011 at 7:39