Fui fazer uma atualização no php5 para o php5.3.8 e tive problemas na autualização em algumas dependências. Alguem já passou por isso, a questão é que os dois que tive problemas utilizo as suas funções. Segue abaixo o erro que estou tendo.
php5-zip-5.3.8 In file included from /usr/ports/archivers/php5-zip/work/php-5.3.8/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.8/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.8/ext/zip/php_zip.c: In function 'php_zip_pcre': /usr/ports/archivers/php5-zip/work/php-5.3.8/ext/zip/php_zip.c:663: error: 'pcre' undeclared (first use in this function) /usr/ports/archivers/php5-zip/work/php-5.3.8/ext/zip/php_zip.c:663: error: (Each undeclared identifier is reported only once /usr/ports/archivers/php5-zip/work/php-5.3.8/ext/zip/php_zip.c:663: error: for each function it appears in.) /usr/ports/archivers/php5-zip/work/php-5.3.8/ext/zip/php_zip.c:663: error: 're' undeclared (first use in this function) /usr/ports/archivers/php5-zip/work/php-5.3.8/ext/zip/php_zip.c:664: 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 ===>>> You can restart from the point of failure with this command line: portmaster <flags> archivers/php5-zip php5-filter-5.3.8 /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.8/ext/filter/logical_filters.c: In function 'php_filter_validate_regexp': /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:411: error: 'pcre' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:411: error: (Each undeclared identifier is reported only once /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:411: error: for each function it appears in.) /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:411: error: 're' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:412: error: 'pcre_extra' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c: In function 'php_filter_validate_email': /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:527: error: 'pcre' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:527: error: 're' undeclared (first use in this function) /usr/ports/security/php5-filter/work/php-5.3.8/ext/filter/logical_filters.c:528: 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 ===>>> You can restart from the point of failure with this command line: portmaster <flags> security/php5-filter att, Marcelo Marra Assis mail: marc...@conectlan.com.br ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd