From nobody@FreeBSD.org  Thu Sep 30 09:31:05 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A266A16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Sep 2004 09:31:05 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 86A8F43D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Sep 2004 09:31:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8U9V5k0057421
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Sep 2004 09:31:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8U9V5Zj057418;
	Thu, 30 Sep 2004 09:31:05 GMT
	(envelope-from nobody)
Message-Id: <200409300931.i8U9V5Zj057418@www.freebsd.org>
Date: Thu, 30 Sep 2004 09:31:05 GMT
From: rgis rampnoux <regisr@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: building problem for php4-pcre and php4-gd
X-Send-Pr-Version: www-2.3

>Number:         72191
>Category:       ports
>Synopsis:       building problem for php4-pcre and php4-gd
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 09:40:27 GMT 2004
>Closed-Date:    Mon Oct 04 06:08:06 GMT 2004
>Last-Modified:  Mon Oct 04 06:08:06 GMT 2004
>Originator:     rgis rampnoux
>Release:        4.10
>Organization:
>Environment:
FreeBSD crocoite.home.regix.com 4.10-STABLE FreeBSD 4.10-STABLE #93: Sun Sep 26 16:56:23 CEST 2004     regisr@crocoite.home.regix.com:/usr/obj/usr/src/sys/CROCOITE  i386

>Description:
      php4-pcre and php4-gd 
How to compile? ports cvsup on sept 30.
The package need Apache 1.3 and I have installed 2.0
>How-To-Repeat:
      Compile output:
cc -DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -I/usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib -I. -I/usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/include -I/usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/main -I/usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -O -pipe -prefer-pic -c /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/maketables.c  -fPIC -DPIC -o pcrelib/.libs/maketables.lo
cc: unrecognized option `-prefer-pic'
In file included from /usr/local/include/php/main/php_compat.h:9,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/pcre.h:13,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/internal.h:78,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/maketables.c:42:
/usr/local/include/php/main/php_config.h:1179: warning: `DEFAULT_SHORT_OPEN_TAG' redefined
/usr/local/include/php/php_config.h:880: warning: this is the location of the previous definition
/usr/local/include/php/main/php_config.h:2271: warning: `PHP_BLOWFISH_CRYPT' redefined
/usr/local/include/php/php_config.h:1411: warning: this is the location of the previous definition
In file included from /usr/local/include/php/main/php_compat.h:9,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/pcre.h:13,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/internal.h:78,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/maketables.c:42:
/usr/local/include/php/main/php_config.h:2478: warning: `MEMORY_LIMIT' redefined
/usr/local/include/php/php_config.h:1528: warning: this is the location of the previous definition
/usr/local/include/php/main/php_config.h:2502: warning: `PHP_BUILD_DATE' redefined
/usr/local/include/php/php_config.h:1540: warning: this is the location of the previous definition
/usr/local/include/php/main/php_config.h:2505: warning: `PHP_UNAME' redefined
/usr/local/include/php/php_config.h:1543: warning: this is the location of the previous definition
In file included from /usr/local/include/php/php_config.h:1554,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/internal.h:45,
                 from /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre/pcrelib/maketables.c:42:
/usr/include/sys/types.h:76: redefinition of `u_int'
/usr/include/sys/types.h:54: `u_int' previously declared here
*** Error code 1

Stop in /usr/ports/devel/php4-pcre/work/php-4.3.8/ext/pcre.
*** Error code 1

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: pav 
Responsible-Changed-When: Fri Oct 1 19:33:51 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72191 

From: Alex Dupre <ale@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, regisr@pobox.com
Cc:  
Subject: Re: ports/72191: building problem for php4-pcre and php4-gd
Date: Fri, 01 Oct 2004 23:28:58 +0200

 Something is broken on your system. Try to delete all your php-related 
 ports and reinstall them from scratch.
 
 -- 
 Alex Dupre

From: regis rampnoux <regisr@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/72191: building problem for php4-pcre and php4-gd
Date: Sat, 02 Oct 2004 19:32:32 +0200 (CEST)

 This report should be closed.
 Some old files ( /usr/local/etc/php.standalone/  /usr/local/etc/php/ )
 are not deleted when i deleted the packages.
 

From: regis rampnoux <regisr@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/72191: building problem for php4-pcre and php4-gd
Date: Sat, 02 Oct 2004 21:05:32 +0200 (CEST)

 This report should be closed as "user problem solved".
 Some old files ( /usr/local/etc/php.standalone/  /usr/local/etc/php/ )
 are not deleted when I deleted the packages.
 After manual delete build is OK.
 
 -- 
 regis
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Mon Oct 4 06:06:53 GMT 2004 
State-Changed-Why:  
Bogus, requested by submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72191 
>Unformatted:
