[FUG-BR] problemas com extensão do php

Leonardo Augusto lalinden em gmail.com
Terça Agosto 13 16:49:52 BRT 2013


On Tue, Aug 13, 2013 at 3:46 PM, Leonardo de Souza <
freebsd.leonardo em gmail.com> wrote:

> Quando vou instalar um extensão do php52-extensions tenho o seguinte erro:
>
> (root em proxy) /usr/ports/lang/php52-extensions# make install
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/include/php/main/php.h - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/ctype.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/curl.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/dom.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/filter.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/hash.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/iconv.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/json.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/openssl.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/pcre.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/pdo.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/pdo_sqlite.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/pdo_mysql.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/posix.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/session.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/simplexml.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/soap.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/sockets.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/spl.so - found
> ===>   php52-extensions-1.3_1 depends on file:
> /usr/local/lib/php/20060613/sqlite.so - not found
> ===>    Verifying install for /usr/local/lib/php/20060613/sqlite.so in
> /usr/ports/databases/php52-sqlite
> ===>   php52-sqlite-5.2.17_14 depends on file:
> /usr/local/include/php/main/php.h - found
> ===>   php52-sqlite-5.2.17_14 depends on file: /usr/local/bin/phpize -
> found
> ===>   php52-sqlite-5.2.17_14 depends on file:
> /usr/local/lib/php/20060613/spl.so - found
> ===>   php52-sqlite-5.2.17_14 depends on file: /usr/local/bin/autoconf-2.69
> - not found
> ===>    Verifying install for /usr/local/bin/autoconf-2.69 in
> /usr/ports/devel/autoconf
> ===> Fetching all distfiles required by autoconf-2.69 for building
> ===>  Extracting for autoconf-2.69
> => SHA256 Checksum OK for autoconf-2.69.tar.xz.
> ===>   autoconf-2.69 depends on file: /usr/local/bin/xz - found
> tar: Unrecognized archive format: Inappropriate file type or format
> tar: Error exit delayed from previous errors.
> *** Error code 1
>
> Stop in /usr/ports/devel/autoconf.
> *** Error code 1
>
> Stop in /usr/ports/databases/php52-sqlite.
> *** Error code 1
>
> Stop in /usr/ports/databases/php52-sqlite.
> *** Error code 1
>
> Stop in /usr/ports/lang/php52-extensions.
> *** Error code 1
>
>
>
>
Ola,

Php 5.2 ??
Tens alguma razão para nao usar o último ?

Eu sempre instalei php e afins e nunca tive problemas.

Atualiza o ports.

usa o pkg_version e o portmaster para ver se tem algo desatualizado,
atualiza... depois..

ports/lang/php5

e depois

ports/lang/php5-extensions

Esse teu erro parece conflito de versoes... talvez algo tenha sido instaldo
por outro port, em uma versao
diferente da qual o extension esta pedindo....
remove tudo se for o caso e reinstala... nao tem erro.

boa sorte


Mais detalhes sobre a lista de discussão freebsd