problemas com slib na atualizacao do GCC [RESOLVIDO]

1. problemas com slib na atualizacao do GCC [RESOLVIDO]

Lucas da Silva
joas3198

(usa CentOS)

Enviado em 22/02/2013 - 04:03h

Caros amigos, estou tentando instalar um programa mas o comando make me da o retorno que preciso instalar uma versao GCC superior. Baixei o GCC-4.7.2, mas na instalacao ele pede o zlib, que eu ja tenho instalado. Se alguem puder me ajudar eu agradeco. A sequencia dos dados estao abaixo:

[lucas@lucas standardPregraph]$ make
/bin/sh: /opt/blc/gcc-4.5.0/bin/gcc: Arquivo ou diretório não encontrado
expr: erro de sintaxe
/bin/sh: /opt/blc/gcc-4.5.0/bin/gcc: Arquivo ou diretório não encontrado
expr: erro de sintaxe
SOAPdenovo-63mer cleaning done.
/bin/sh: line 0: test: ==: esperado operador unário
GCC version lower than 4.4.0
make: ** [envTest] Erro 1

Entao,

Baixei os packages do http://www.gnu.org/software/gsrc/ e tentei instalar GCC 4.7.2 e, conforme o protocolo:

[lucas@lucas gsrc]$ make -C gnu/gcc
make: Entrando no diretório `/home/joas/gsrc/gnu/gcc'
[fetch] Complete. Finished rules: pre-everything custom-pre-everything cookies/gcc-4.7.2 download pre-fetch custom-pre-fetch download/gcc-4.7.2.tar.gz download/gcc-4.7.2.tar.gz.sig post-fetch custom-post-fetch
[checksum] Complete. Finished rules: fetch pre-checksum custom-pre-checksum cookies/gcc-4.7.2/checksum-gcc-4.7.2.tar.gz cookies/gcc-4.7.2/checksum-gcc-4.7.2.tar.gz.sig post-checksum custom-post-checksum
[garchive] Complete. Finished rules: checksum cookies/gcc-4.7.2 pre-garchive custom-pre-garchive cookies/gcc-4.7.2/garchive-gcc-4.7.2.tar.gz cookies/gcc-4.7.2/garchive-gcc-4.7.2.tar.gz.sig post-garchive custom-post-garchive
[extract] Complete. Finished rules: garchive work cookies/gcc-4.7.2 pre-extract custom-pre-extract cookies/gcc-4.7.2/extract-gcc-4.7.2.tar.gz post-extract custom-post-extract
[patch] Complete. Finished rules: extract work/gcc-4.7.2 pre-patch custom-pre-patch post-patch custom-post-patch
[install-deps] Building zlib as a dependency
make[1]: Entering directory `/home/lucas/gsrc/external/zlib'
[install-p] zlib is not installed
make[1]: *** [error] Error 1
make[1]: Leaving directory `/home/lucas/gsrc/external/zlib'
make[1]: Entering directory `/home/lucas/gsrc/external/zlib'
[install-p] zlib is not installed
make[1]: *** [error] Error 1
make[1]: Leaving directory `/home/lucas/gsrc/external/zlib'
make[1]: Entering directory `/home/lucas/gsrc/external/zlib'
[install-deps] Please install `zlib' using a system other than GSRC.
eg: sudo yum install zlib
make[1]: *** [install-message] Error 1
make[1]: Leaving directory `/home/lucas/gsrc/external/zlib'
make: ** [dep-../../zlib] Erro 2
make: Saindo do diretório `/home/lucas/gsrc/gnu/gcc'
[lucas@lucas gsrc]$


mas eu ja te tenho a biblioteca zlib:


[root@lucas gsrc]# yum install zlib
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: centos.mirror.lstn.net
* rpmforge: mirror.us.leaseweb.net
* updates: ftp.osuosl.org
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.5 kB 00:00
Setting up Install Process
Package zlib-1.2.3-27.el6.x86_64 already installed and latest version
Nothing to do
[root@lucas gsrc]#

Desde ja agradeco pela colaboracao. Sou iniciante no Linux,comecei ha apenas ha algumas semanas.








  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts