Bug 72191

Summary: building problem for php4-pcre and php4-gd
Product: Ports & Packages Reporter: regisr <regisr>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description regisr 2004-09-30 10:40:27 UTC
      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
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-10-01 20:33:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2004-10-01 22:28:58 UTC
Something is broken on your system. Try to delete all your php-related 
ports and reinstall them from scratch.

-- 
Alex Dupre
Comment 3 regisr 2004-10-02 18:32:32 UTC
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.
Comment 4 regisr 2004-10-02 20:05:32 UTC
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
Comment 5 Alex Dupre freebsd_committer freebsd_triage 2004-10-04 07:06:53 UTC
State Changed
From-To: open->closed

Bogus, requested by submitter.