Hi pyhton team,

I have problem to install cryptography and paramiko as following errors.
any hints/help are appreciated.

system :
Host-osver:        rhel6.0
OpenSSL 1.0.2d 9 Jul 2015
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)

> pip install cryptography
Collecting cryptography
....
    build/temp.linux-x86_64-3.4/_openssl.c:62987: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:62987: error: too many arguments
to function 'memset'
    build/temp.linux-x86_64-3.4/_openssl.c:62997: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:62998: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:62998: error: too many arguments
to function 'memset'
<snip>
    build/temp.linux-x86_64-3.4/_openssl.c:55555: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55556: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55556: error: too many arguments
to function 'memset'
    build/temp.linux-x86_64-3.4/_openssl.c: In function
'_cffi_f_X509_NAME_ENTRY_create_by_OBJ':
    build/temp.linux-x86_64-3.4/_openssl.c:55603: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55604: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55604: error: too many arguments
to function 'memset'
    build/temp.linux-x86_64-3.4/_openssl.c:55614: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55615: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55615: error: too many arguments
to function 'memset'
    build/temp.linux-x86_64-3.4/_openssl.c:55629: error: expected ')'
before 'datasize'
    build/temp.linux-x86_64-3.4/_openssl.c:55630: error: expected ')'
before 'datasize'
<snip>

    build/temp.linux-x86_64-3.4/_openssl.c:71920: warning: excess elements
in struct initializer
    build/temp.linux-x86_64-3.4/_openssl.c:71920: warning: (near
initialization for '_cffi_struct_unions[135]')
    build/temp.linux-x86_64-3.4/_openssl.c:71920: warning: excess elements
in struct initializer
    build/temp.linux-x86_64-3.4/_openssl.c:71920: warning: (near
initialization for '_cffi_struct_unions[135]')
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command
"/auto/iconatest/users/chhong/ats5.3.0/pyats3.1.1-cel6.50/bin/python3.4 -u
-c "import setuptools,
tokenize;__file__='/users/chhong/tmp/pip-build-x8ette2c/cryptography/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /users/chhong/tmp/pip-ebuv28m8-record/install-record.txt
--single-version-externally-managed --compile --install-headers
/auto/iconatest/users/chhong/ats5.3.0/pyats3.1.1-cel6.50/include/site/python3.4/cryptography"
failed with error code 1 in
/users/chhong/tmp/pip-build-x8ette2c/cryptography/

thanks
Chris
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to