ID: 16885 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 4.1.2 New Comment:
my openssl version is 0.9.5 Previous Comments: ------------------------------------------------------------------------ [2002-04-29 12:49:57] [EMAIL PROTECTED] I've just place under comment the line and all worked fine. I've looked after "X509_PURPOSE_ANY" key words in any of the openssl headers files and didn't find it Will post here tomorrow my openssl version Regards Denis PS to Jani : Thanks for your tip, I'm just a little newbie in this big big world ------------------------------------------------------------------------ [2002-04-28 20:19:43] [EMAIL PROTECTED] Which openssl version is this? --Jani p.s. Always use the install prefix in configure paths.. (Not /usr/local/lib but /usr/local) ------------------------------------------------------------------------ [2002-04-28 06:05:59] [EMAIL PROTECTED] Configure : ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-gd=/usr/local --zith-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-snmp=/usr/local --with-openssl=/usr/local/ssl There all works great Then I compile using GCC and a lot of errors /bin/sh /appl/php-4.1.2/libtool --silent --mode= compile gcc -I. -I/appl/php-4.1.2/ext/openssl -I/appl/php-4.1.2/main -I/appl/php-4.1.2 -I/usr/local/apache/include -I/appl/php-4.1.2/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/mysql/include -I/usr/local/include/ucd-snmp -I/appl/php-4.1.2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208105 -DEAPI -DUSE_EXPAT -I/appl/php-4.1.2/TSRM -g -02 -prefer-pic -c openssl.c openssl.c: In function `zm_startup_openssl´: openssl.c:136: `X509_PURPOSE_ANY´ undeclared (first use in ths function) openssl.c:136: (Each undeclared identifier is reported only once openssl.c:136: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target`openssl.lo´ Current working directory /appl/php-4.1.2/ext/openssl ***Error code 1 make: Fatal error: Command failed for target `all-recursive´ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16885&edit=1