ID:               39471
 User updated by:  vjong2 at gmail dot com
 Reported By:      vjong2 at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Red Hat 7.3
 PHP Version:      5.2.0
 New Comment:

Sorry. Missed this when I first searched for this issue. It looks like
a dupe of http://bugs.php.net/bug.php?id=39394


Previous Comments:
------------------------------------------------------------------------

[2006-11-11 16:42:15] 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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39471&edit=1

Reply via email to