Help - Search - Members - Calendar
Full Version: Trying To Install Bandwidthd
Linuxhelp > Support > Technical Support
Robert83
Hi,

I found some site with a lot of accouting software on it to choose from , but I have some problems with installing this one : bandwidth, I downloaded the latest source,

and the following error shows up when trying to do make install
CODE
 [root@demon bandwidth]# 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


can anyone help me, is there a way to get these tools from this page : http://debianlinux.net/system_management.h...ffic_accounting
using apt-get install [I might not have the correct servers added to my apt-get sources.list file] ?

These tools are all what I want to do Ipac-NG Bandwidthd pmacct

Please help me get this stuff up and running,
Sincerely
Robert B
Robert83
Hi,

I managed to do it, it was

apt-get install gd
apt-get install gd-devel

and now it's working, and this is the stuff I've been looking for yehaaaaaaaaaaaa smile.gif smile.gif smile.gif , now I only need to do that mail server and it's going to be really cool.

Sincerely
Robert B

ps.: THIS SITE IS A !!!!GOLDMINE!!!! : CHECK THIS OUT!!!!!! http://debianlinux.net/system_management.h...ffic_accounting
Pizentios
hmmm, looks interesting...i think i might check it out.
hari76
Hi Robert,
I am having a serious problem in compiling the bandwidthd, i went thru Google and came across this forum, I am getting the same error that some one else has discussed before, I have updated the gd and the gd-devel packages but Istill get the error....I am using Fedore Core.
Your help will be appreciated.

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:163: error: syntax error before "im"
bandwidthd.h:164: error: syntax error before "im"
bandwidthd.h:165: error: syntax error before "im"
make: *** [bandwidthd.o] Error 1

Regards
Harry
hughesjr
Make sure you have gd-devel installed ...

The relevant error is:

bandwidthd.h:24:16: gd.h: No such file or directory
bandwidthd.h:25:21: gdfonts.h: No such file or directory

Everything else is caused by that...

------------------
If gd-devel is installed, do this:

updatedb

After it finishes, do :

locate gd.h

If you find the file, copy it to /usr/include

Same for any other files ... but I would say that gd-devel didn't install.

Here are the files gd-devel contains:

/usr/include/gd.h
/usr/include/gd_io.h
/usr/include/gdcache.h
/usr/include/gdfontg.h
/usr/include/gdfontl.h
/usr/include/gdfontmb.h
/usr/include/gdfonts.h
/usr/include/gdfontt.h
/usr/lib/libgd.a
/usr/lib/libgd.so
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.