http403 / pyrit

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

Hi Im having a problem building the package in UBUNTU 9.10, what am i doing wrong ?? #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
@desktop:~/Skrivebord/Pyrit-0.2.4$ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.6
copying pyrit_cli.py -> build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/cpyrit
copying cpyrit/__init__.py -> build/lib.linux-i686-2.6/cpyrit
copying cpyrit/cpyrit.py -> build/lib.linux-i686-2.6/cpyrit
copying cpyrit/util.py -> build/lib.linux-i686-2.6/cpyrit
copying cpyrit/pckttools.py -> build/lib.linux-i686-2.6/cpyrit
running build_ext
building 'cpyrit._cpyrit_cpu' extension
creating build/temp.linux-i686-2.6
creating build/temp.linux-i686-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-i686-2.6/cpyrit/_cpyrit_cpu.o
cpyrit/_cpyrit_cpu.c:21:20: error: Python.h: No such file or directory
cpyrit/_cpyrit_cpu.c:23:26: error: openssl/hmac.h: No such file or directory
cpyrit/_cpyrit_cpu.c:24:25: error: openssl/sha.h: No such file or directory
cpyrit/_cpyrit_cpu.c:29: error: expected specifier-qualifier-list before
‘SHA_CTX’
cpyrit/_cpyrit_cpu.c:37: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
cpyrit/_cpyrit_cpu.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:41: error: ‘NULL’ undeclared here (not in a function)
cpyrit/_cpyrit_cpu.c: In function ‘detect_padlock’:
cpyrit/_cpyrit_cpu.c:74: warning: implicit declaration of function ‘strcmp’
cpyrit/_cpyrit_cpu.c: In function ‘segv_action’:
cpyrit/_cpyrit_cpu.c:116: error: ‘REG_EIP’ undeclared (first use in this
function)
cpyrit/_cpyrit_cpu.c:116: error: (Each undeclared identifier is reported
only once
cpyrit/_cpyrit_cpu.c:116: error: for each function it appears in.)
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:122: error: expected declaration specifiers or ‘...’
before ‘SHA_CTX’
cpyrit/_cpyrit_cpu.c: In function ‘padlock_xsha1_prepare’:
cpyrit/_cpyrit_cpu.c:124: warning: implicit declaration of function
‘getpagesize’
cpyrit/_cpyrit_cpu.c:140: warning: implicit declaration of function ‘memcpy’
cpyrit/_cpyrit_cpu.c:140: warning: incompatible implicit declaration of
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:141: warning: implicit declaration of function ‘memset’
cpyrit/_cpyrit_cpu.c:141: warning: incompatible implicit declaration of
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:150: error: ‘output’ undeclared (first use in this
function)
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:161: error: expected ‘)’ before ‘*’ token
cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_padlock’:
cpyrit/_cpyrit_cpu.c:191: warning: incompatible implicit declaration of
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:192: warning: incompatible implicit declaration of
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:198: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:198: error: too many arguments to function
‘padlock_xsha1_prepare’
cpyrit/_cpyrit_cpu.c:201: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:201: error: too many arguments to function
‘padlock_xsha1_prepare’
cpyrit/_cpyrit_cpu.c:204: warning: implicit declaration of function ‘HMAC’
cpyrit/_cpyrit_cpu.c:204: warning: implicit declaration of function 
‘EVP_sha1’
cpyrit/_cpyrit_cpu.c:204: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:207: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_padlock’:
cpyrit/_cpyrit_cpu.c:216: warning: incompatible implicit declaration of
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:216: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:217: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c:220: warning: implicit declaration of function
‘padlock_xsha1_finalize’
cpyrit/_cpyrit_cpu.c:220: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:221: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:223: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:225: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:226: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:228: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
cpyrit/_cpyrit_cpu.c:253: warning: incompatible implicit declaration of
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:255: warning: incompatible implicit declaration of
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:260: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:261: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:262: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:263: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:264: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:266: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:267: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:268: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:269: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:270: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:276: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:277: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c:304: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:305: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
cpyrit/_cpyrit_cpu.c:324: warning: incompatible implicit declaration of
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:325: warning: incompatible implicit declaration of
built-in function ‘memset’
cpyrit/_cpyrit_cpu.c:331: warning: implicit declaration of function 
‘SHA1_Init’
cpyrit/_cpyrit_cpu.c:331: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:332: warning: implicit declaration of function
‘SHA1_Update’
cpyrit/_cpyrit_cpu.c:332: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
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:339: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:342: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_openssl’:
cpyrit/_cpyrit_cpu.c:349: error: ‘SHA_CTX’ undeclared (first use in this
function)
cpyrit/_cpyrit_cpu.c:349: error: expected ‘;’ before ‘ctx’
cpyrit/_cpyrit_cpu.c:352: warning: incompatible implicit declaration of
built-in function ‘memcpy’
cpyrit/_cpyrit_cpu.c:352: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:353: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c:356: error: ‘ctx’ undeclared (first use in this 
function)
cpyrit/_cpyrit_cpu.c:356: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:358: warning: implicit declaration of function
‘SHA1_Final’
cpyrit/_cpyrit_cpu.c:360: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:365: error: ‘struct pmk_ctr’ has no member named 
‘e1’
cpyrit/_cpyrit_cpu.c:367: error: ‘struct pmk_ctr’ has no member named
‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:371: error: ‘struct pmk_ctr’ has no member named
‘ctx_opad’
cpyrit/_cpyrit_cpu.c:376: error: ‘struct pmk_ctr’ has no member named 
‘e2’
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:382: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or
‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:391: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or
‘__attribute__’ before ‘*’ token
cpyrit/_cpyrit_cpu.c:467: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or
‘__attribute__’ before ‘CPUDevice_methods’
cpyrit/_cpyrit_cpu.c:473: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or
‘__attribute__’ before ‘CPUDevice_type’
cpyrit/_cpyrit_cpu.c:518: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or
‘__attribute__’ before ‘CPyritCPUMethods’
cpyrit/_cpyrit_cpu.c: In function ‘pathconfig’:
cpyrit/_cpyrit_cpu.c:528: error: ‘PlatformString’ undeclared (first use in
this function)
cpyrit/_cpyrit_cpu.c:528: warning: implicit declaration of function
‘PyString_FromString’
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:550: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or
‘__attribute__’ before ‘init_cpyrit_cpu’
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by sigurdda...@gmail.com on 21 Dec 2009 at 8:53

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/pyrit/wiki/Installation

"Linux users running a binary distribution may need to install the development
packages for Python (e.g. python-devel), OpenSSL (e.g. openssl-devel or 
libssl-dev)
and Zlib (e.g. zlib-devel)."

Original comment by mac...@gmail.com on 21 Dec 2009 at 9:18

GoogleCodeExporter commented 9 years ago
closed. Please use the newsgroup for such questions

Original comment by lukas.l...@gmail.com on 21 Dec 2009 at 9:22