Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 06:55:39 +0000
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-questions@freebsd.org, freebsd-ports@FreeBSD.org
Subject:   php5: php5-zip/php5-filter fail to upgrade after the portupdate of php5
Message-ID:  <4BC809EB.2090207@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
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

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC809EB.2090207>