|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-25 11:49 UTC] jani@php.net
[2007-10-25 13:45 UTC] ckuehn at uiuc dot edu
[2007-10-25 14:14 UTC] jani@php.net
[2007-10-25 14:42 UTC] ckuehn at uiuc dot edu
[2007-10-26 12:06 UTC] jani@php.net
[2007-10-26 14:58 UTC] ckuehn at uiuc dot edu
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
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'