Hi,

I'm trying to install cryptography-1.4 on SLES 10 SP3 running Python 2.7.8
that I installed from source. I installed:

libffi-devel-3.0.11-9.1
libffi6-3.0.11-9.1
openssl-devel-0.9.8a-18.36
openssl-0.9.8a-18.36

When I try to build cryptography I'm getting:

creating build/temp.linux-i686-2.7/build/temp.linux-i686-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/usr/local/include/python2.7 -c
build/temp.linux-i686-2.7/_openssl.c -o
build/temp.linux-i686-2.7/build/temp.linux-i686-2.7/_openssl.o
build/temp.linux-i686-2.7/_openssl.c: In function
‘_cffi_const_NID_certificate_issuer’:
build/temp.linux-i686-2.7/_openssl.c:9048: error: ‘NID_certificate_issuer’
undeclared (first use in this function)
build/temp.linux-i686-2.7/_openssl.c:9048: error: (Each undeclared
identifier is reported only once
build/temp.linux-i686-2.7/_openssl.c:9048: error: for each function it
appears in.)
build/temp.linux-i686-2.7/_openssl.c: In function
‘_cffi_const_NID_issuing_distribution_point’:
build/temp.linux-i686-2.7/_openssl.c:9237: error:
‘NID_issuing_distribution_point’ undeclared (first use in this function)
build/temp.linux-i686-2.7/_openssl.c: In function
‘_cffi_const_X509_V_ERR_UNNESTED_RESOURCE’:
build/temp.linux-i686-2.7/_openssl.c:11781: error:
‘X509_V_ERR_UNNESTED_RESOURCE’ undeclared (first use in this function)
build/temp.linux-i686-2.7/_openssl.c: In function
‘_cffi_d_SSL_CIPHER_description’:
build/temp.linux-i686-2.7/_openssl.c:47399: warning: passing argument 1 of
‘SSL_CIPHER_description’ discards qualifiers from pointer target type
build/temp.linux-i686-2.7/_openssl.c: In function
‘_cffi_f_SSL_CIPHER_description’:
build/temp.linux-i686-2.7/_openssl.c:47450: warning: passing argument 1 of
‘SSL_CIPHER_description’ discards qualifiers from pointer target type
error: command 'gcc' failed with exit status 1

Any ideas?

Thanks,

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

Reply via email to