[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compilando amsn



Em Ter, 2007-11-13 às 03:08 -0200, Eduardo Rodrigues da Luz escreveu:
> Pessoal estou tentando compilar o amsn, mais ele retorna o seguinte
> erro:
> 
> eduardo@pandora:~/amsn/amsn-0.97RC1$ ./configure --with-tcl=/usr/lib
> --with-tk=/usr/lib
> checking for prefix by checking for wish... /usr/bin/wish 
> 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 ANSI C... none needed
> checking for g++... g++ 
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking tcl build dir... using tcl library in /usr/lib
> checking tk build dir... using tk library in /usr/lib
> checking for main in -lstdc++... no
> configure: error: stdc++ library not found
> 
> A libstdc++ está instalada.
> 
> Alguma Luz/?
> 
> Eduardo

	Você pode vereficar se todas as dependências de compilação com os
seguintes passos:
1) Adicione uma entrada deb-src no arquivo /etc/apt/sources.list com a
versão do seu debian, aqui uso a unstable
  deb-src http://ftp.br.debian.org/debian unstable main contrib non-free

2) fazer os comandos 
apt-get update
apt-get build-dep amsn

	O segundo comando irá instalar todas as depências para compilar o amsn.
Aqui a saída desse comando é a seguinte:
# apt-get build-dep amsn
Lendo lista de pacotes... Pronto
Construindo árvore de dependências       
Reading state information... Pronto 
Os NOVOS pacotes a seguir serão instalados:
  libice-dev libjpeg62-dev libpng12-dev libsm-dev libx11-dev libxau-dev
  libxdmcp-dev libxext-dev libxt-dev tcl8.4-dev tk8.4-dev
x11proto-core-dev
  x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xtrans-dev
zlib1g-dev

	Abraço.
	Fabiano.



Reply to: