php5-pcre build problem
John P. Campbell
jpc at alumni.rice.edu
Fri Mar 4 11:12:26 PST 2005
I'm running 4.10 and trying to upgrade the php5-pcre port.
The rest of php5 seemed to update ok, but pcre fails with the output
below during make.
Is there something I need to do before upgrading? I searched the list
and /usr/ports/UPDATING and couldn't really find anything.
thanks,
jpc
/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:2421: 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/php5-pcre/work/php-5.0.3/ext/pcre/pcrelib/internal.h:45,
from
/usr/ports/devel/php5-pcre/work/php-5.0.3/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/php5-pcre/work/php-5.0.3/ext/pcre.
*** Error code 1
Stop in /usr/ports/devel/php5-pcre.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade94843.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! devel/php5-pcre (php5-pcre-5.0.2) (unknown build error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.1 - Release Date: 3/4/2005
More information about the freebsd-ports
mailing list