+ Responder ao Tópico



  1. #1

    Padrão Bandwidthd - erro ao compilar

    Caros colegas,


    Estou tentando compila do Bandwidth mais esta dando erro, gostaria de sabe si alguem tem alguma sugestão.

    ERRO:
    bandwidthd-2.0.1]# ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for bison... bison -y
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for executable suffix...
    checking for object suffix... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking for flex... flex
    checking for yywrap in -lfl... yes
    checking lex output file root... lex.yy
    checking whether yytext is a pointer... yes
    checking how to run the C preprocessor... gcc -E
    checking for X... no
    checking for /sw/lib... no
    checking for /sw/include... no
    checking for /usr/pkg/lib... no
    checking for /usr/pkg/include... no
    checking for connect in -lsocket... no
    checking for gethostbyname in -lnsl... yes
    checking for inet_aton in -lresolv... yes
    checking for pow in -lm... yes
    checking for libiconv_open in -liconv... no
    checking for png_read_info in -lpng... no
    configure: error: Bandwidthd requires but cannot libpng

  2. #2
    wrochal
    Visitante

    Padrão Bandwidthd - erro ao compilar

    Caro,

    Basta instalar esta biblioteca

    http://www.libpng.org/pub/png/libpng.html

    Falou,

  3. #3
    Visitante

    Padrão Bandwidthd - erro ao compilar

    if u think u got libpng there (like i did), try this one:
    LDFLAGS="-lz" ./configure

  4. #4

    Padrão Bandwidthd - erro ao compilar

    Citação Postado originalmente por Anonymous
    if u think u got libpng there (like i did), try this one:
    LDFLAGS="-lz" ./configure
    olha q interessante, alguem que le a pergunta em portugues, entende o erro mas responde em ingles..... :toim:

  5. #5
    Visitante

    Padrão Bandwidthd - erro ao compilar

    E o melhor eh que a resposta resolve o problema.... :-)

  6. #6

    Padrão Bandwidthd - erro ao compilar

    só se o kra entender! :P :P