php5: php5-zip/php5-filter fail to upgrade after the portupdate of php5

O. Hartmann ohartman at zedat.fu-berlin.de
Fri Apr 16 06:55:40 UTC 2010


Both with php5-filter and php5-zip I run into trouble.

After php5 got updated (I followed steps located in ports/UPDATING, but 
I guess I  missed something) I can not upgrade the packages

php5-zip
php5-filter

Both report an error in /usr/local/include/php/ext/pcre/php_pcre.h.

I tried to move the above php_pcre.h to php_pcre.h.off with the success 
being unable to build anything. Reinstalling of ports pcre, phph5.5.X.X
didn't result in success.

What to do? Is there a remnant/old file/header out there?


Thanks for the help.

Regards,

O. Hartmann


----
In file included from 
/usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:30:
/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/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:30:
/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/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c: In 
function 'php_zip_pcre':
/usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: 
error: 'pcre' undeclared (first use in this function)
/usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: 
error: (Each undeclared identifier is reported only once
/usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: 
error: for each function it appears in.)
/usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:602: 
error: 're' undeclared (first use in this function)
/usr/ports/archivers/php5-zip/work/php-5.3.2/ext/zip/php_zip.c:603: 
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/archivers/php5-zip.

===>>> make failed for archivers/php5-zip
===>>> Aborting update

-- 



More information about the freebsd-questions mailing list