View Single Post
  #1   (View Single Post)  
Old 14th October 2008
pormogo pormogo is offline
Port Guard
 
Join Date: Jun 2008
Posts: 10
Default bandwidthd unable to find libpng...

So I've been trying to install bandwidthd on one of my firewalls. I checked and wasn't able to find it in the ports collection so I grabbed the source from source forge. I ran the configure script in the source tree and it told me that it needed libpng but could not find it. So I went into the ports collections and built /usr/ports/graphics/png (I was under the impression whis would build libpng)

the output from pkg_info seems to fit the description for libpng....

png-1.2.18 library for manipulating PNG images

Am I doing something wrong? Below is the output from bandwidthd's configure script.


# ./configure
checking build system type... amd64-unknown-openbsd4.2
checking host system type... amd64-unknown-openbsd4.2
checking for bison... no
checking for byacc... no
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... ./configure[2131]: break: can only break 1 level(s)
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... no
checking for inet_aton in -lresolv... no
checking for pow in -lm... yes
checking for libiconv_open in -liconv... yes
checking for png_read_info in -lpng... no
configure: error: Bandwidthd requires but cannot libpng


Thanks for any help that you guys can provide.
Reply With Quote