Pular para o conteúdo

Que biblioteca é essa

Responder tópico
  • Denunciar
  • Indicar

1. Que biblioteca é essa

Enviado em 04/02/2010 - 21:41h

Configurando gcc (4:4.3.2-2) ...
Configurando linux-libc-dev (2.6.26-19lenny2) ...
Configurando libc6-dev (2.7-18lenny2) ...
rafael:/home/rafael/zsnes_1_51/src# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for nasm... no
configure: error: You need NASM installed to compile ZSNES
rafael:/home/rafael/zsnes_1_51/src# apt-get install g++
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os pacotes extra a seguir serão instalados:
g++-4.3 libstdc++6-4.3-dev
Pacotes sugeridos:
g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
Os NOVOS pacotes a seguir serão instalados:
g++ g++-4.3 libstdc++6-4.3-dev
0 pacotes atualizados, 3 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 0B/4804kB de arquivos.
Depois desta operação, 18,3MB adicionais de espaço em disco serão usados.
Você quer continuar [S/n]? S
Selecionando pacote previamente não selecionado libstdc++6-4.3-dev.
(Lendo banco de dados ... 91749 arquivos e diretórios atualmente instalados).
Desempacotando libstdc++6-4.3-dev (de .../libstdc++6-4.3-dev_4.3.2-1.1_i386.deb) ...
Selecionando pacote previamente não selecionado g++-4.3.
Desempacotando g++-4.3 (de .../g++-4.3_4.3.2-1.1_i386.deb) ...
Selecionando pacote previamente não selecionado g++.
Desempacotando g++ (de .../g++_4.3.2-2_i386.deb) ...
Processando gatilhos para man-db ...
Configurando g++-4.3 (4.3.2-1.1) ...
Configurando libstdc++6-4.3-dev (4.3.2-1.1) ...
Configurando g++ (4:4.3.2-2) ...
rafael:/home/rafael/zsnes_1_51/src# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... no
configure: error: You need NASM installed to compile ZSNES
rafael:/home/rafael/zsnes_1_51/src# apt-get install nasm
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
E: Impossível achar pacote nasm



tava tentando compilar o zsnes e deu isso!?

Responder tópico

2. Re: Que biblioteca é essa

Enviado em 04/02/2010 - 21:46h

NASM não é uma biblioteca, mas um aplicativo. É um compilador em assembler. Basta solicitá-lo... localize o nome correto do pacote:

# apt-cache search nasm

E depois instale-o:

# apt-get install nomedopacotecompleto

Mas como vc tá tentando instalar o zsnes, pq vc não baixa via apt-get? Dessa forma ele baixa as dependências pra vc.

3. Re: Que biblioteca é essa

Enviado em 05/02/2010 - 12:31h

pelo visto vc quer instalar o zsnes

lembrando que ele foi feito totalmente me asembly, e eh totalmente em 32bits, ou seja caso vc esteja usando 64bits, vc terá que instalar muitas dependencias em 32bits p rodar

4. Re: Que biblioteca é essa

Enviado em 11/02/2010 - 16:53h

Certo,to vendo que não tem zsnes no meu repositório,afinal como faço pra instalar nasm?

5. Re: Que biblioteca é essa

Enviado em 11/02/2010 - 16:56h

Eu escrevi como se instala no post acima...

6. Re: Que biblioteca é essa

Enviado em 11/02/2010 - 17:02h

Conforme dito pelo Renato, se não tiver esse pacote nos repositórios que você tem, acesse:

http://www.apt-get.org/

Pesquise um repositório, adicione no arquivo /etc/apt/sources.list

apt-get update

apt-cache search PACOTE

Veja o nome do pacote exato e...

apt-get install PACOTE_EXATO

Abraço

7. Re: Que biblioteca é essa

Enviado em 11/02/2010 - 17:33h

Vejam Só:
http://www1.apt-get.org/search.php?query=nasm&submit=Submit+Query&arch%5B%5D=i386&arch%5...

peguei os ultimos links e deixei meu source list assim

#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 CD Binary-1 20090905-08:23]/ lenny main

deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 CD Binary-1 20090905-08:23]/ lenny main

deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 CD Binary-2 20090905-08:23]/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://packages.dfreer.org gutsy main

deb http://74.86.158.5/~op0014t/mckayemu/massenkoh-deb/emulators/
deb http://74.86.158.5/~op0014t/mckayemu/massenkoh-deb/multimedia/
deb http://74.86.158.5/~op0014t/mckayemu/massenkoh-deb/devel-micro/

e fiz isso:
rafael:/home/rafael# apt-get search nsm
E: Operação search inválida
rafael:/home/rafael# apt-get search nasm
E: Operação search inválida
rafael:/home/rafael# apt-get install nasm
E: Linha mal formada 15 no arquivo de fontes /etc/apt/sources.list (distribuição)
E: A lista de fontes não pode ser lida.

No que eu errei?

8. Re: Que biblioteca é essa

Enviado em 11/02/2010 - 17:51h

# apt-cache search nasm

Não é GET, é CACHE! Para procurar é CACHE, pra instalar é GET.

9. Re: Que biblioteca é essa

Enviado em 11/02/2010 - 20:57h

Put's pods crer vacilei mas...

deu isso aqui
rafael:/home/rafael# apt-get update
E: Linha mal formada 15 no arquivo de fontes /etc/apt/sources.list (distribuição)
rafael:/home/rafael# apt-get update
E: Linha mal formada 15 no arquivo de fontes /etc/apt/sources.list (distribuição)
rafael:/home/rafael# apt-cache search nasm
rafael:/home/rafael# apt-get install nasm
E: Linha mal formada 15 no arquivo de fontes /etc/apt/sources.list (distribuição)
E: A lista de fontes não pode ser lida.
rafael:/home/rafael#

10. Re: Que biblioteca é essa

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder