Date: Thu, 30 Sep 2004 09:31:05 GMT From: régis rampnoux <regisr@pobox.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/72191: building problem for php4-pcre and php4-gd Message-ID: <200409300931.i8U9V5Zj057418@www.freebsd.org> Resent-Message-ID: <200409300940.i8U9eRfQ033043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72191 >Category: ports >Synopsis: building problem for php4-pcre and php4-gd >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 30 09:40:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: régis 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409300931.i8U9V5Zj057418>