Error building php5-pcre

Warren Liddell shinjii at virusinfo.rdksupportinc.com
Sun Oct 8 04:26:32 PDT 2006


Running FreeBSD6.2-PRERELEASE and im trying to build cacti with php5-pcre 
being a dependancy.

Below is the last few lines or so that error.
===============   ================  ============== ====
cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c  -fPIC -DPIC -o .libs/php_pcre.o
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
`fifth_arg_force_ref' undeclared here (not in a function)
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
(near initialization for `pcre_functions[2].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: 
(near initialization for `pcre_functions[2]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
(near initialization for `pcre_functions[3].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: 
(near initialization for `pcre_functions[3]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: 
(near initialization for `pcre_functions[4]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: 
(near initialization for `pcre_functions[5]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: 
(near initialization for `pcre_functions[6]')
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: 
(near initialization for `pcre_functions[7]')
*** Error code 1

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

Stop in /usr/ports/devel/php5-pcre.


More information about the freebsd-questions mailing list