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

Matheus L. Abreu matheusl.abreu em gmail.com
Terça Agosto 13 17:04:21 BRT 2013


On Tue, Aug 13, 2013 at 4:49 PM, Leonardo Augusto <lalinden em gmail.com>wrote:

> 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
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
]

Acho que seu problema é outro.
Você deve estar usando o BSD 8.2 (ou menor) que não suporta arquivos XZ no
tar.
Atualize para o 8.3/8.4 que eles já suportam.


-- 
*Matheus Lamberti de Abreu*

- Para obter algo que você nunca teve, precisa fazer algo que nunca fez.
- Unix is user friendly. It's just selective about who its friends are.
- In theory there is no difference between theory and pratice, but in
pratice there is.
- The condition of any backup is unknown until a restore is attempted.*
*


Mais detalhes sobre a lista de discussão freebsd