php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39471 make fails on openssl
Submitted: 2006-11-11 16:42 UTC Modified: 2006-11-12 08:20 UTC
From: vjong2 at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.0 OS: Red Hat 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vjong2 at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-11 16:42 UTC] vjong2 at gmail dot com
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-12 08:20 UTC] vjong2 at gmail dot com
Sorry. Missed this when I first searched for this issue. It looks like a dupe of http://bugs.php.net/bug.php?id=39394
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 13:01:30 2024 UTC