php5-pcre problem

Jack L. xxjack12xx at gmail.com
Mon May 8 02:52:33 UTC 2006


Just pkg_delete it, upgrade php with the new options, reinstall it,
and it should work. Worked for me.

On 5/7/06, Derrick Edwards <derrick at uniquestrength.net> wrote:
>     Hi,
> I was trying to upgrade php5 today and I noticed that all the other php5
> extensions installed correctly however, php5-pcre did not. This is the
> begining of the error message.
> v/r
> Derrick
> FreeBSD 6.1-RC i386 SMP-GENERIC
>
>
> -o .libs/php_pcre.o
> /usr/ports/devel/php5-pcre/work/php-5.1.4/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.4/ext/pcre/php_pcre.c:1630: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error:
> (near initialization for `pcre_functions[2].arg_info')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error:
> (near initialization for `pcre_functions[2]')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error:
> (near initialization for `pcre_functions[3].arg_info')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error:
> (near initialization for `pcre_functions[3]')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error:
> (near initialization for `pcre_functions[4]')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error:
> (near initialization for `pcre_functions[5]')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error:
> (near initialization for `pcre_functions[6]')
> /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error:
> initializer element is not constant
> /usr/ports/devel/php5-pcre/work/php-5.1.4/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.4/ext/pcre.
> *** Error code 1
>
> Stop in /usr/ports/devel/php5-pcre.
> [root at www /usr/ports/devel/php5-pcre]#
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list