From: vjong2 at gmail dot com Operating system: Red Hat 7.3 PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug description: make fails on openssl
Description: ------------ compilation on make fails on openssl Compiler ======== ]$ gcc --version 2.96 Openssl ======= ]$ rpm -qa | grep openssl openssl-devel-0.9.6b-39.10.legacy openssl-perl-0.9.6b-39.10.legacy openssl096-0.9.6-25.11.legacy Reproduce code: --------------- ./configure --with-apxs2=/usr/local/Apache2.2.X/bin/apxs --with-mysql --prefix=/usr --with-config-file-path=/etc --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm --with-openssl --with-unixODBC=/usr --with-imap=/usr --with-ldap --with-dom --with-dom-xslt --with-dom-exslt --with-kerberos --with-imap-ssl --enable-ucd-snmp-hack --enable-memory-limit --with-tsrm-pthreads --with-gd --enable-gd-native-ttf && make Expected result: ---------------- expected compilation to succeed and be ready for make install like in every previous version compiled up to 5.1.6. I also compiled 5.1.6 again, and it builds completely. Actual result: -------------- ./configure shows this, but completes with no error. checking for a sed that does not truncate output... /bin/sed expr: syntax error ./configure: test: =: unary operator expected expr: syntax error ./configure: test: =: unary operator expected expr: syntax error ./configure: test: =: unary operator expected expr: syntax error ./configure: test: =: unary operator expected expr: syntax error ./configure: test: =: unary operator expected expr: syntax error ./configure: test: =: unary operator expected make fails with this. /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /builddir/build/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp' ext/openssl/.libs/openssl.o: In function `php_openssl_generate_private_key': /home/vjong/temp/php-5.2.0/ext/openssl/openssl.c:2063: undefined reference to `DSA_get_default_method' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=39471&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39471&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39471&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39471&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39471&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39471&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39471&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39471&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39471&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39471&r=support Expected behavior: http://bugs.php.net/fix.php?id=39471&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39471&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39471&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39471&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39471&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39471&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39471&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39471&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39471&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39471&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39471&r=mysqlcfg