Bug 145840 - lang/php4 does not compile with openssl-1.0.0
Summary: lang/php4 does not compile with openssl-1.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 14:10 UTC by Frank Wall
Modified: 2010-04-19 14:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2010-04-19 14:10:01 UTC
The port lang/php4 does not compile with openssl-1.0.0.

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.
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
Comment 1 Edwin Groothuis freebsd_committer 2010-04-19 14:10:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-04-19 14:27:55 UTC
ale         2010-04-19 13:27:45 UTC

  FreeBSD ports repository

  Modified files:
    lang/php4            Makefile 
  Log:
  Use openssl from base.
  
  PR:             ports/145840
  Submitted by:   Frank Wall <fw@moov.de>
  
  Revision  Changes    Path
  1.128     +1 -0      ports/lang/php4/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer 2010-04-19 14:27:59 UTC
State Changed
From-To: open->closed

Fixed, thanks!