ports/145840: lang/php4 does not compile with openssl-1.0.0
Frank Wall
fw at moov.de
Mon Apr 19 13:10:02 UTC 2010
>Number: 145840
>Category: ports
>Synopsis: lang/php4 does not compile with openssl-1.0.0
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 19 13:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Frank Wall
>Release: FreeBSD 6.4-RELEASE
>Organization:
>Environment:
FreeBSD 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The port lang/php4 does not compile with openssl-1.0.0.
>How-To-Repeat:
1. configure lang/php4 with OPENSSL support (make config)
2. try to install lang/php4
3. build fails with this error:
===> Building for php4-4.4.9_2
"Makefile", line 508: warning: duplicate script for target "main/internal_functions.lo" ignored
/bin/sh /usr/ports/lang/php4/work/php-4.4.9/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/openssl/ -I/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/ -DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.9/include -I/usr/ports/lang/php4/work/php-4.4.9/main -I/usr/ports/lang/php4/work/php-4.4.9 -I/usr/local/include -I/usr/ports/lang/php4/work/php-4.4.9/TSRM -I/usr/ports/lang/php4/work/php-4.4.9/Zend -O2 -fno-strict-aliasing -pipe -march=pentiumpro -prefer-non-pic -c /usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c -o ext/openssl/openssl.lo
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c:182: error: syntax error before "LHASH"
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c:343: error: syntax error before "LHASH"
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c: In function `php_openssl_config_check_syntax':
/usr/ports/lang/php4/work/php-4.4.9/ext/openssl/openssl.c:348: error: `config' undeclared (first use in this function)
[...]
*** Error code 1
Stop in /usr/ports/lang/php4/work/php-4.4.9.
*** Error code 1
>Fix:
Either create a new port security/openssl-0.9 or patch lang/php4 to work with the new openssl library. I can't help out with patching lang/php4 since I'm not a C programmer.
I'd vote for the new port security/openssl-0.9 because I think a few more ports are likely to face compatiblity problems.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list