Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 06:21:35 +1000
From:      Warren Liddell <shinjii@virusinfo.rdksupportinc.com>
To:        freebsd-questions@freebsd.org
Subject:   Error building php5-pcre
Message-ID:  <200610130621.35560.shinjii@virusinfo.rdksupportinc.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610130621.35560.shinjii>