Aconteceu comigo qdo estava compilando VisualBoyAdvance (emulador de GBA ;-)
Simplesmente adicione um param antes do seu configure:
# LIBS=-lm ./configure
and finish him!

On Wed, 2 Mar 2005 21:28:02 -0300, Sys Linux <[EMAIL PROTECTED]> wrote:
> Sauda��es Caros Colegas Slackers!!!
> 
> Eu estou tentando compilar o Slim, um login menager leve e mais bonito
> que o xdm, mas estou tendo um problema na compila��o: no ./configure
> ocorre uma falha pela falta da libpng, por�m a mesma est� devidamente
> instalada...
> Eu j� dei uma "googlada", mas n�o achei nada de interessante... Tentei
> todas as op��es que aparecem no ./configure --help e nada... se algu�m
> puder me dar uma ajuda eu agrade�o muito!!!!
> Obrigado!!
> Ah, o Slack � o 10.1 com instala��o FULL!!
> 
> bash-3.00# ./configure
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> 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 style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking for pkg-config... /usr/bin/pkg-config
> checking for xft >= 2.0... yes
> checking DEPS_CFLAGS... -I/usr/X11R6/include -I/usr/include/freetype2
> -I/usr/include/freetype2/config
> checking DEPS_LIBS... -L/usr/X11R6/lib -lXft -lX11 -lfreetype
> -lXrender -lfontconfig
> checking for jpeg_read_header in -ljpeg... yes
> checking for png_info_init in -lpng... no
> ERROR: libpng seems to be missing on your system...
>   please install first
> bash-3.00#
> 
> ---
> Linux User: #375479
> Machine Number: #273455
> Desktop: SlackWare Linux 10.1 - Kde 3.3 - Kernel 2.4.29
> Gateway: SlackWare Linux 10 - Bash - Kernel 2.4.28 (patch-o-matic)
> FileServer: Conectiva Linux 10 - Bash - Kernel 2.6.5
> PostgreSQL Server: Conectiva 9 - Bash - Kernel 2.4.24
> Testando: FreeBSD 5.3 (Just for fun!! ;-p )
> "Pense livre, use LINUX!!"
> --
> GUS-BR - Grupo de Usuarios Slackware - BR
> http://www.slackwarebrasil.org/
> http://www.linuxmag.com.br/mailman/listinfo/slack-users
> 


-- 
( o _
/  /\      Slackware Linux  - http://www.slackware.org 
V_/_
--
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a