Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Problem with bandwidthd
PostPosted: Tue Sep 14, 2004 2:23 pm 
Offline
Junior Member

Joined: Sat Sep 11, 2004 11:43 pm
Posts: 49
I am tryin to install bandwidthd, but am having problems with :/

Out of the readme file it says:

# INSTALATION INSTRUCTIONS #

Get and install libpcap from http://www.tcpdump.org/
Get and install libpng from http://www.libpng.org/
Get and install libgd from http://www.boutell.com/gd/
Make sure your system supports System V IPC

make install


I have all 3 of those installed on my linode:

[root@li5-11 bandwidthd-1.2.1b]# rpm -q libpcap
libpcap-0.8.3-3
[root@li5-11 bandwidthd-1.2.1b]# rpm -q libpng
libpng-1.2.5-8
[root@li5-11 bandwidthd-1.2.1b]# rpm -q libgd
libgd-2.0.20-2


Yet when I do make install I get the following error:

[root@li5-11 bandwidthd-1.2.1b]# make install
cc -I/usr/local/include -O3 -Wall -c -o bandwidthd.o bandwidthd.c
In file included from bandwidthd.c:10:
bandwidthd.h:24:16: gd.h: No such file or directory
bandwidthd.h:25:21: gdfonts.h: No such file or directory
In file included from bandwidthd.c:10:
bandwidthd.h:164: error: syntax error before "im"
bandwidthd.h:165: error: syntax error before "im"
bandwidthd.h:166: error: syntax error before "im"
make: *** [bandwidthd.o] Error 1
[root@li5-11 bandwidthd-1.2.1b]#


Any ideas guys? :/


Top
   
 Post subject:
PostPosted: Tue Sep 14, 2004 2:41 pm 
Offline
Senior Member

Joined: Sun Mar 14, 2004 9:18 pm
Posts: 116
Website: http://michael.susens-schurter.com/
WLM: mschurter@yahoo.com
Yahoo Messenger: mschurter
Location: Peoria, IL
Disclaimer: I don't use Fedora/RedHat & I have no clue what bandwidthd is.

It's looking for gd's header files and can't find them. This means could be 2 things:
1. The header files are not in an included directory.
2. The header files are not installed by the base gd package.

For #1, bandwidthd's configure script should have caught this. I don't know why it would wait until you did a make install to compile a file. Seems like a badly packaged program to me.

For #2, if there's a development RPM for gd, try installing it and run ldconfig & updatedb just to be safe.

If these suggestions don't work or you think I'm wrong, please refer to disclaimer above. :)


Top
   
 Post subject:
PostPosted: Tue Sep 14, 2004 2:54 pm 
Offline
Junior Member

Joined: Sat Sep 11, 2004 11:43 pm
Posts: 49
bandwidthd doesnt have a configure script. all u do is download the tar.gz, extract, and type make install.

i will try those suggestions :) thanks

*goes to login to his linode*


Top
   
 Post subject:
PostPosted: Tue Sep 14, 2004 3:16 pm 
Offline
Junior Member

Joined: Sat Sep 11, 2004 11:43 pm
Posts: 49
unfortunately theres no other gd rpm file. 2.0.20 is the latest :/


Any other ideas guys?

The main thing I want bandwidthd for is because I would like to monitor how much traffic each one of my IP's i have bound has sent out and brought in. Does anyone know another program other than bandwidthd that does that (if no one knows how to fix this problem)?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: wolfsoft and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group