ID: 43103 User updated by: ckuehn at uiuc dot edu Reported By: ckuehn at uiuc dot edu -Status: Feedback +Status: Open Bug Type: OpenSSL related Operating System: Solaris 9 PHP Version: 5.2.4 New Comment:
Sorry for the omission. I'm using GCC 3.1. Previous Comments: ------------------------------------------------------------------------ [2007-10-25 11:49:56] [EMAIL PROTECTED] You didn't mention what compiler you use. If you're using Sun's cc, make sure /opt/SUNWspro/bin/cc is used instead of /usr/ucb/cc ------------------------------------------------------------------------ [2007-10-24 22:15:26] ckuehn at uiuc dot edu Description: ------------ The OpenSSL extension fails to build because of an undeclared variable (timezone) in the !HAVE_TM_GMTOFF case of asn1_time_to_time_t() in ext/openssl/openssl.c Reproduce code: --------------- ./configure \ --prefix="/usr/local/encap/php-5.2.4" \ --sysconfdir="/usr/local/encap/php-5.2.4/etc" \ --enable-cgi \ --enable-fastcgi \ --enable-discard-path \ --with-config-file-path="/usr/local/encap/php-5.2.4/etc" \ --enable-xml \ --with-pear \ --with-mysql \ --with-pgsql \ --with-mcrypt \ --with-openssl \ --disable-shared \ --enable-static make Expected result: ---------------- Clean compilation. Actual result: -------------- /services/scratch/php-5.2.4/ext/openssl/openssl.c: In function `asn1_time_to_time_t': /services/scratch/php-5.2.4/ext/openssl/openssl.c:393: `timezone' undeclared (first use in this function) /services/scratch/php-5.2.4/ext/openssl/openssl.c:393: (Each undeclared identifier is reported only once /services/scratch/php-5.2.4/ext/openssl/openssl.c:393: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `ext/openssl/openssl.lo' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43103&edit=1