Discussion in 'HOWTO-Related Questions' started by ProServ-uk.com, Jan 7, 2008.
installing GNU C for fedora core 5,
Any help is very much appretiated
wouldn't it just be 'yum install gcc' ?
im not sure im not a linux pro yet, thanks for the advice tho
hahaha...you name implies.........
Should do the trick though...GNU C is just a package so using your package manager (which I'm not 100% but think it's yum in FC5) you should be able to install it pretty easily....
my name implies nothing, servers dont only run on linux...
hahaha...was kidding bud...
did yum do the trick?
yeah it did but it didnt resolve the original problem im trying to install mrtg to meter my bandwidth but im having no luck and google is turning up nothing
Isn't there an mrtg package for FC 5? You can search for it like this:
yum search mrtg
yum search mrtg
ok got everything installed and when i come to configure mrtg i get this
** Ooops, one of many bad things happened:
a) You don't have the GD library installed.
Get it from http://www.boutell.com, compile it and
use either --with-gd-lib=DIR and --with-gd-inc=DIR to specify
its location. You might also have to use --with-z-inc,
--with-z-lib and --with-png-inc, --with-png-lib for gd
versions 1.6 and higher. Check config.log for more
information on the problem.
b) You have the GD library installed, but not the gd.h
header file. Download the source (see above) and use
--with-gd-inc=DIR to specify where the file can be found.
c) You have the library and the header file installed, but
you also have a shared GD library in the same directory.
Remove the shared library files and/or links (e.g.
libgd.so.2.0.0, libgd.so and libgd.so.2). This is especially
likely if you're using a recent (post 1.8.4) version of GD
and didn't configure it with --disable-shared.
d) You have gd library installed and also it's headers, but you are
missing libpng (and headers) or freetype (and headers)
(mrtg does not use freetype, but if your copy of gd is precompiled
against it, you have to install it ...
Consider following the instructions in doc/mrtg-unix-guide.txt
And ill be honest ive read it and cant make head nor tales of it everything is installed that i was told to install in the tutorial ui showed above
i followed this howto but i always seem to run into a problem http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
Again there is very likely a package for GD in the FC5 repos. 'yum install gd' will prolly do the trick but 'yum search gd' will tell you for sure.
FC5 repos are your friend and will prolly have everything you need to make mrtg work since mrtg is in the repo's (so would all its dependencies). The days of having to compile everything manually are pretty much over.
once again im greatfull for the help ill give it a try now
Did you solve this problem. I got same issue.
I am using fedora 8.
I solved this issue.
Here's my solution
locate libgd.so.2.0.0 libgd.so and libgd.so.2
then restart mrtg
Separate names with a comma.