[FUG-BR] Problema na Atualização no php5
Paulo Henrique BSD Brasil
paulo.rddck em bsd.com.br
Sábado Dezembro 3 16:46:50 BRST 2011
Desculpa, de fato é o php5-extensions e o php5.
No php5 -> Core do PHP.
O php5-extensions -> Extenções do Core do PHP.
Sinceramente não compreendi por que o port do PHP5 já não coloca como
dependências o php5-extensions, visto que diversas bibliotecas do php
utilizadas largamente são disponibilizadas através do php5-extensions,
deve ser por que sou novato na parada e não manjo nada de PHP.
Mais segue a dica !!!
Att.
Em 03/12/2011 16:32, Marcelo Marra escreveu:
> Dúvida besta, mas já removi o php por completo e instalei novamente,
> Para deinstalar utilizei o
> pkg_delete -r "php5*"
>
> Na arvoré do ports não tenho o lang/php53 e nem o lang/php53-extensions
> O que tenho é isso abaixo:
>
> brutos# cd /usr/ports/lang/php5
> php5-extensions/ php5/ php52-extensions/ php52/
>
> Utiliza o make install pelo ports para reinstalar?
>
>
> att,
> Marcelo Marra Assis
> mail: marcelo em conectlan.com.br
>
>
> Em 03/12/11 15:28, Paulo Henrique BSD Brasil escreveu:
>> Reinstale o lang/php53 e o lang/php53-extensions
>> Att.
>>
>> Em 03/12/2011 16:19, Marcelo Marra escreveu:
>>> 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: marcelo em conectlan.com.br
>>>
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
--
"Quando a Morte decide contar uma historia,
A melhor ação que possa fazer é ouvi-la,
e torcer por não ser a sua própria a tal história."
Paulo Henrique.
Analista de Sistemas / Programador
BSDs Brasil.
Genuine Unix/BSD User.
Fone: (21) 9683-5433.
Mais detalhes sobre a lista de discussão freebsd