php5-filter update fails; possible pcre issue
David Newman
dnewman at networktest.com
Sat Apr 10 15:35:38 UTC 2010
On 4/10/10 7:59 AM, Kieran Black wrote:
> According to /usr/ports/MOVED php5-filter is now also part of core php5
>
> host# grep "php5-filter" /usr/ports/MOVED
> security/pecl-filter|security/php5-filter|2008-12-11|Now bundled in php5
Thanks. Obvious question, but just checking: Would uninstalling
php5-filter and php5-pcre (if installed) and then proceeding with
updating all other php5 ports have the same effect as updating these
ports as if they were standalone, as before?
dn
>
> Kieran
>
> On 10/04/2010 15:39, David Newman wrote:
>> 8.0-RELEASE, amd64
>>
>> Running 'portmaster -a' fails to upgrade php5-filter-5.2.12 to
>> php5-filter-5.3.2. Error output below.
>>
>> I would be grateful for clues on a fix.
>>
>> Is this related to the php5-pcre port being moved into core php5?
>>
>> somehost# cd /usr/ports
>> somehost# make search name=php5-pcre
>> Port: devel/php5-pcre
>> Moved: lang/php5
>> Date: 2010-04-09
>> Reason: Bundled in core php
>>
>> thanks
>>
>> dn
>>
>> error output during 'portmaster -a' for php5-filter:
>>
>> 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 '=', ',',
>> ';', 'asm' or '__attribute__' before '*' token
>> /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',',
>> ';', 'asm' or '__attribute__' before '*' token
>> /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
>> specifier-qualifier-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.
>>
>> ===>>> make failed for security/php5-filter
>> ===>>> Aborting update
>>
>> ===>>> Update for php5-filter-5.2.12 failed
>> ===>>> Aborting update
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list