Discussion:
source build/install fails on pyopenssl build (zenoss 4.20)
mshundal
2012-08-22 19:15:16 UTC
Permalink
mshundal [http://community.zenoss.org/people/mshundal] created the discussion

"source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68084#68084

--------------------------------------------------------------
Has anyone else seen this?

  unpacking: /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyOpenSSL-0.13
cd /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyOpenSSL-0.13 ; for i in /dev/null /home/zenoss/garbage/zenoss-4.2.0/inst/externallibs/pyOpenSSL-0.13.all.patch01 /dev/null; do case $i in *) pnum=0 ; ;; esac ; /usr/bin/patch -p $pnum < $i ; case $i in *Zope2-2.13.13*patch01) if grep "<<ZENHOME_PRODUCTS>>" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py 1>/dev/null 2>&1 ;then if sed -e "s;<<ZENHOME_PRODUCTS>>;/usr/local/zenoss/Products;g" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py > /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed ;then mv /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.orig ; cp /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py ; else echo "Dang.  sed failure while updating /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py"; echo "sed -e \"s;<<ZENHOME_PRODUCTS>>;/usr/local/zenoss/Products;g\" /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py \> /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py.sed" ; fi; else echo "No need to update of ZENHOME_PRODUCTS in /home/zenoss/garbage/zenoss-4.2.0/inst/build/Zope2-2.13.13/src/Globals/__init__.py" ; fi ; ;; esac ; done ;
patching file OpenSSL/ssl/connection.c
patching file OpenSSL/ssl/context.c
   building: /home/zenoss/garbage/zenoss-4.2.0/inst/build/pyopenssl-build
installing: pyopenssl
make: *** [pyopenssl-install] Error 1
unable to build zenoss and prerequisites, see zenbuild.log

in zenbuild.log I notice the following:

OpenSSL/crypto/crypto.c:522: error: ‘X509_FILETYPE_ASN1’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:523: warning: implicit declaration of function ‘d2i_PKCS7_bio’
OpenSSL/crypto/crypto.c:542: warning: implicit declaration of function ‘crypto_PKCS7_New’
OpenSSL/crypto/crypto.c: In function ‘crypto_load_pkcs12’:
OpenSSL/crypto/crypto.c:558: error: ‘BIO’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:558: error: ‘bio’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:559: error: ‘PKCS12’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:559: error: ‘p12’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:565: warning: implicit declaration of function ‘d2i_PKCS12_bio’
OpenSSL/crypto/crypto.c:573: warning: implicit declaration of function ‘crypto_PKCS12_New’
OpenSSL/crypto/crypto.c: In function ‘crypto_X509_verify_cert_error_string’:
OpenSSL/crypto/crypto.c:593: warning: implicit declaration of function ‘X509_verify_cert_error_string’
OpenSSL/crypto/crypto.c:593: warning: assignment makes pointer from integer without a cast
OpenSSL/crypto/crypto.c: In function ‘crypto_sign’:
OpenSSL/crypto/crypto.c:625: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
OpenSSL/crypto/crypto.c:625: error: ‘digest’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:626: error: ‘EVP_MD_CTX’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:626: error: expected ‘;’ before ‘md_ctx’
OpenSSL/crypto/crypto.c:635: warning: implicit declaration of function ‘EVP_get_digestbyname’
OpenSSL/crypto/crypto.c:640: warning: implicit declaration of function ‘EVP_SignInit’
OpenSSL/crypto/crypto.c:640: error: ‘md_ctx’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:641: warning: implicit declaration of function ‘EVP_SignUpdate’
OpenSSL/crypto/crypto.c:643: warning: implicit declaration of function ‘EVP_SignFinal’
OpenSSL/crypto/crypto.c:643: error: ‘crypto_PKeyObj’ has no member named ‘pkey’
OpenSSL/crypto/crypto.c: In function ‘crypto_verify’:
OpenSSL/crypto/crypto.c:672: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
OpenSSL/crypto/crypto.c:672: error: ‘digest’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:673: error: ‘EVP_MD_CTX’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:673: error: expected ‘;’ before ‘md_ctx’
OpenSSL/crypto/crypto.c:674: error: ‘EVP_PKEY’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:674: error: ‘pkey’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:689: warning: implicit declaration of function ‘X509_get_pubkey’
OpenSSL/crypto/crypto.c:689: error: ‘crypto_X509Obj’ has no member named ‘x509’
OpenSSL/crypto/crypto.c:695: warning: implicit declaration of function ‘EVP_VerifyInit’
OpenSSL/crypto/crypto.c:695: error: ‘md_ctx’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:696: warning: implicit declaration of function ‘EVP_VerifyUpdate’
OpenSSL/crypto/crypto.c:697: warning: implicit declaration of function ‘EVP_VerifyFinal’
OpenSSL/crypto/crypto.c:698: warning: implicit declaration of function ‘EVP_PKEY_free’
OpenSSL/crypto/crypto.c: In function ‘locking_function’:
OpenSSL/crypto/crypto.c:744: error: ‘CRYPTO_LOCK’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c: In function ‘init_openssl_threads’:
OpenSSL/crypto/crypto.c:761: warning: implicit declaration of function ‘CRYPTO_num_locks’
OpenSSL/crypto/crypto.c:768: warning: implicit declaration of function ‘CRYPTO_set_id_callback’
OpenSSL/crypto/crypto.c:769: warning: implicit declaration of function ‘CRYPTO_set_locking_callback’
OpenSSL/crypto/crypto.c: In function ‘initcrypto’:
OpenSSL/crypto/crypto.c:817: warning: implicit declaration of function ‘ERR_load_crypto_strings’
OpenSSL/crypto/crypto.c:818: warning: implicit declaration of function ‘OpenSSL_add_all_algorithms’
OpenSSL/crypto/crypto.c:832: error: ‘crypto_X509_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:833: error: ‘crypto_X509Name_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:834: error: ‘crypto_X509Req_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:835: error: ‘crypto_X509Store_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:836: error: ‘crypto_PKey_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:838: error: ‘crypto_PKCS7_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:839: error: ‘crypto_NetscapeSPKI_New’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:859: error: ‘X509_FILETYPE_PEM’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:860: error: ‘X509_FILETYPE_ASN1’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:863: error: ‘EVP_PKEY_RSA’ undeclared (first use in this function)
OpenSSL/crypto/crypto.c:864: error: ‘EVP_PKEY_DSA’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1

any hints/tips much appericiated
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68084#68084]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mshundal
2012-08-22 23:50:14 UTC
Permalink
mshundal [http://community.zenoss.org/people/mshundal] created the discussion

"Re: source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68086#68086

--------------------------------------------------------------
no one has tried the source build yet?

guess everyone really does use RHEL/CentOS ;)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68086#68086]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-23 01:39:42 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68087#68087

--------------------------------------------------------------
I mess around a little while back with source installs on centos and ubuntu, but didnt run into this, which distro are you on?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68087#68087]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mshundal
2012-08-23 11:43:14 UTC
Permalink
mshundal [http://community.zenoss.org/people/mshundal] created the discussion

"Re: source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68091#68091

--------------------------------------------------------------
I am using Debian current, 2.6.32-bigmem 686 minimal install with all dependencies present. Tried to find the pyOpenSSL package but not available for Debian, did install python-OpenSSL which is supposed to be the same thing.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68091#68091]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mshundal
2012-08-25 23:21:12 UTC
Permalink
mshundal [http://community.zenoss.org/people/mshundal] created the discussion

"Re: source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68147#68147

--------------------------------------------------------------
so you need python devel - I've gotten much further but after about 20 failed builds still discovering more dependencies...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68147#68147]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
july_lesev
2012-08-30 15:35:53 UTC
Permalink
july_lesev [http://community.zenoss.org/people/july_lesev] created the discussion

"Re: source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68304#68304

--------------------------------------------------------------
also more devel packets are needed (debian specific is that most devel parts are in separate packages...)

try with crypto and openssl devels one..
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68304#68304]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mshundal
2012-08-30 15:42:35 UTC
Permalink
mshundal [http://community.zenoss.org/people/mshundal] created the discussion

"Re: source build/install fails on pyopenssl build (zenoss 4.20)"

To view the discussion, visit: http://community.zenoss.org/message/68318#68318

--------------------------------------------------------------
i gave up, it got to the the last part and kept dieing on populating the databases.

so i bit the bullet and deployed a centos server.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68318#68318]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...