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

2010-04-16 Thread O. Hartmann

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

--

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2010-04-16 Thread Vanilla Hsu
try to uninstall all php5-* ports, and reinstall again.
I guess there are some problem with old (php52) header files.

2010/4/16 O. Hartmann ohart...@zedat.fu-berlin.de

 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

 --

 ___
 freebsd-po...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org