Date: Mon, 12 Apr 2010 17:19:25 +0530 From: Amitabh Kant <amitabhkant@gmail.com> To: n dhert <ndhertbsd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: pgp5-filter-5.3.2, php5-imap-5.3.2, php-extensions-1.4 Message-ID: <n2j84b68b3d1004120449u609c5f64m75f35b68bde1fc31@mail.gmail.com> In-Reply-To: <j2med7803cf1004120445idc8705ct5a829cc1348288e0@mail.gmail.com> References: <j2med7803cf1004120445idc8705ct5a829cc1348288e0@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 12, 2010 at 5:15 PM, n dhert <ndhertbsd@gmail.com> wrote: > There have been several updates to php, php-extensions and php5-* > My php is now 5.3.2, most of my php5-* also 5.3.2, but > a portupgrade didn't want to upgrade php5-filter and php-imap (errors) > of php-extensions. They stayed version 5.2.12, 5.2.12 and 1.3 respectively. > I did > # pkg_delete -f php5-filter-5.2.12 > # pkg_delete -f php5-imap-5.2.12 > # pkg_delete -f php_extensions-1.3 > and several pkgdb -F until it reported everything OK > > Yet still, I can't compile php5-filter-5.3.2, nor php5-imap-5.3.2 or > php-extensions-1.4 (which > depends on these) > > How to fix it? > > This is what I get > ----- > cc -I. -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter > -DPHP_ATOM_IN > C -I/usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/include > -I/usr/por > ts/security/php5-filter/work/php-5.3.2/ext/filter/main > -I/usr/ports/security/php > 5-filter/work/php-5.3.2/ext/filter -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/loc > al/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H > -O2 > -pi > pe -fno-strict-aliasing -c > /usr/ports/security/php5-filter/work/php-5.3.2/ext/fi > lter/logical_filters.c -fPIC -DPIC -o .libs/logical_filters.o > In file included from > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/ > logical_filters.c:25: > /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such > file or > directory > In file included from > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/ > logical_filters.c:25: > /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', > ';', 'a > sm' or '__attribute__' before '*' token > /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', > ';', 'a > sm' or '__attribute__' before '*' token > /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected > specifier-qualifi > er-list before 'pcre' > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c: > In > function 'php_filter_validate_regexp': > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: 'pcre' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: (Each undeclared identifier is reported only once > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: for each function it appears in.) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: > error: 're' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413: > error: 'pcre_extra' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c: > In > function 'php_filter_validate_email': > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500: > error: 'pcre' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500: > error: 're' undeclared (first use in this function) > > /usr/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501: > error: 'pcre_extra' undeclared (first use in this function) > *** Error code 1 > 1 error > *** Error code 1 > Stop in /usr/ports/security/php5-filter. > If I am not wrong, php5-filter has been removed as it now forms part of the code PHP. You can confirm by checking /usr/ports/Updating file. With regards Amitabh Kant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n2j84b68b3d1004120449u609c5f64m75f35b68bde1fc31>