LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2006, 04:16 PM   #1
aspenbr
Member
 
Registered: Aug 2006
Posts: 36

Rep: Reputation: 15
Cool Install bandwidthd !!!


I am trying to install the program bandwidthd and is giving problem when I execute ./configure, alerting that it does not have the library libpng, the problem that I installed this library and is functioning and exactly thus the error persists, has as somebody to give a light to me?

I placed below my attempts.

/opt/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/ginstall -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... libraries /usr/X11/lib, headers
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
 
Old 08-08-2006, 04:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
if you installed it by rpm or something, then you need to install libpng-devel as well
 
Old 08-09-2006, 08:53 AM   #3
aspenbr
Member
 
Registered: Aug 2006
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
if you installed it by rpm or something, then you need to install libpng-devel as well
I installed program libpng from source libpng-1.2.12-no-config.tar.gz in Linux Slackware 10.2,

root@bigbrother:/opt/source# ls /usr/local/libpng/*/
/usr/local/libpng/bin/:
libpng-config libpng12-config

/usr/local/libpng/include/:
libpng libpng12 png.h pngconf.h

/usr/local/libpng/lib/:
libpng.a libpng.so libpng.so.3 libpng.so.3.1.2.12 libpng12.a libpng12.so libpng12.so.0 libpng12.so.0.1.2.12 pkgconfig

/usr/local/libpng/man/:
man3 man5


I tried again, specifying the directory of the libpng

root@bigbrother:/opt/bandwidthd-2.0.1# ./configure --with-png-dir=/usr/local/libpng/
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/ginstall -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... libraries /usr/X11/lib, headers
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

No sucess !!!

Some idea?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install teh rest of the Linux packages from USB drive after install? ArchW Linux - Newbie 4 03-07-2006 08:43 AM
checking for png_read_info in -lpng... no , when installing bandwidthd sofware jayakrishnan Linux - Software 0 02-06-2006 06:43 AM
bandwidthd satish Linux - Networking 1 01-11-2006 06:34 AM
Running bandwidthd junjem0702 Linux - Software 3 11-14-2005 04:10 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration