Bug 92102 - lang/php4 doesn't compile on today's releng_6
Summary: lang/php4 doesn't compile on today's releng_6
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: 2006-01-21 15:50 UTC by Daniel Gerzo
Modified: 2006-01-21 17:40 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 Daniel Gerzo 2006-01-21 15:50:03 UTC
while trying to build the lang/php4 ports i'm getting this error:

root@[SC1.daemon /usr/ports/lang/php4]# make -DWITH_FASTCGI -DWITH_APACHE2 CFLAGS+=-DFD_SETSIZE=4096
===>  Building for php4-4.4.2
/bin/sh /usr/ports/lang/php4/work/php-4.4.2/libtool --silent --preserve-dup-deps --mode=compile cc  -Imain/ -I/usr/ports/lang/php4/work/php-4.4.2/main/ -DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.2/include -I/usr/ports/lang/php4/work/php-4.4.2/main -I/usr/ports/lang/php4/work/php-4.4.2 -I/usr/ports/lang/php4/work/php-4.4.2/TSRM -I/usr/ports/lang/php4/work/php-4.4.2/Zend    -DFD_SETSIZE=4096  -prefer-non-pic -c main/internal_functions.c -o main/internal_functions.lo
main/internal_functions.c:35: error: `phpext_standard_ptr' undeclared here (not in a function)
main/internal_functions.c:35: error: initializer element is not constant
main/internal_functions.c:35: error: (near initialization for `php_builtin_extensions[0]')
*** Error code 1

Stop in /usr/ports/lang/php4/work/php-4.4.2.
*** Error code 1

Stop in /usr/ports/lang/php4.
Exit 1

How-To-Repeat: try to build it by your self on fresh releng_6
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-21 15:52:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-01-21 16:22:19 UTC
State Changed
From-To: open->closed

This build mode is not supported, use www/php4-cgi or www/mod_php4: they work.
Comment 3 Daniel Gerzo 2006-01-21 17:11:42 UTC
On Sat, Jan 21, 2006 at 04:23:40PM +0000, Alex Dupre wrote:
> Synopsis: lang/php4 doesn't compile on today's releng_6
> 
> State-Changed-From-To: open->closed
> State-Changed-By: ale
> State-Changed-When: Sat Jan 21 16:22:19 UTC 2006
> State-Changed-Why: 
> This build mode is not supported, use www/php4-cgi or www/mod_php4: they work.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=92102

I'm requesting re-opening this PR since I'm getting the same error when
building www/mod_php4 or www/php4-cgi. And I also want to note that
I was able to build lang/php4 this way about a month ago when I was
running older RELENG_6. I'm unable to build it after today's cvsup and
upgrade procedure.

-- 
Sincerely,
   Daniel Gerzo
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2006-01-21 17:37:15 UTC
Daniel Gerzo wrote:
> I'm requesting re-opening this PR since I'm getting the same error when
> building www/mod_php4 or www/php4-cgi.

As you can see here
(http://pointyhat.freebsd.org/errorlogs/i386-6-latest-logs/php4-4.4.2.log)
the port builds correctly on FreeBSD 6.

--
Alex Dupre