Wondering if there is any HowTo's for...

Discussion in 'HOWTO-Related Questions' started by ProServ-uk.com, Jan 7, 2008.

  1. ProServ-uk.com

    ProServ-uk.com New Member

    installing GNU C for fedora core 5,


    Any help is very much appretiated
     
  2. volksman

    volksman New Member

    wouldn't it just be 'yum install gcc' ?
     
  3. ProServ-uk.com

    ProServ-uk.com New Member

    im not sure im not a linux pro yet, thanks for the advice tho :)
     
  4. volksman

    volksman New Member

    hahaha...you name implies......... :p

    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....
     
  5. ProServ-uk.com

    ProServ-uk.com New Member

    my name implies nothing, servers dont only run on linux...
     
  6. volksman

    volksman New Member

    hahaha...was kidding bud... :cool:

    did yum do the trick?
     
  7. ProServ-uk.com

    ProServ-uk.com New Member

    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 :(
     
  8. ProServ-uk.com

    ProServ-uk.com New Member

    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 :(
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Isn't there an mrtg package for FC 5? You can search for it like this:
    Code:
    yum search mrtg
     
  10. ProServ-uk.com

    ProServ-uk.com New Member

    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
     
    Last edited: Jan 9, 2008
  11. ProServ-uk.com

    ProServ-uk.com New Member

  12. volksman

    volksman New Member

    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.
     
  13. ProServ-uk.com

    ProServ-uk.com New Member

    once again im greatfull for the help :) ill give it a try now
     
  14. dexjul

    dexjul New Member

    Hi,

    Did you solve this problem. I got same issue.

    I am using fedora 8.

    Thank you.

    Regards,
    Dexter
     
  15. dexjul

    dexjul New Member

    I solved this issue.

    Here's my solution

    locate libgd.so.2.0.0 libgd.so and libgd.so.2

    unlink /usr/lib/libgd.so

    unlnk /usr/lib/libgd.so.2

    then restart mrtg

    Regards,
     

Share This Page