?
Solved

MRTG on FreeBSD 5.1 does not install no matter what dependency I use!!!!!!!!!!!!!!!!!!!!

Posted on 2003-10-28
3
Medium Priority
?
891 Views
Last Modified: 2010-03-19
hi anyone I need help im trying to install MRTG-2.29.5 on FreeBSD 5.1 and I get frozen at the gd check. I tried from the ports but i got timed out because my internet connection is slow. It suggested I input mrtg-2.29.5.tar.gz manually to /usr/ports/distfiles which I did but still froze at gd check. I have already configured and made zlib-1.1.4, libpng-1.0.15 and gd-2.0.11 but still stops with the gd check even when i use the '--with-gd=/usr/xx/xx/x'. It also says its missing the gd.h header (which is there) and the gdfonts and gdimage. PLease help!!!!!!!!!
0
Comment
Question by:KevoZam
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
John Gates, CISSP earned 500 total points
ID: 9641877
why don't you do a pkg_add -r mrtg  ??

D
0
 

Author Comment

by:KevoZam
ID: 9643139
Hey Dimante thanks but check the error im getting when i type pkg_add -r mrtg -
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.1-release/Latest/mrtg.tbz: Operation timed out
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.1-release/Latest/mrtg.tbz' by URL


my connection is too slow i think. is there a way i can do it manually without getting from ftp or anything?
0
 

Author Comment

by:KevoZam
ID: 9643333
Oh, Dimante this is where it freezes when i do a make or a configure: -

checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gdImageGd in -lgd... no
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no

** The GD library is required for rateup to compile.
   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. If your system
   has libgd installed, you probably mis the gd.h header file.

   Consider following the instructions in doc/unix-guide.txt
===>  Script "configure" failed unexpectedly.
      Please report the problem to demon@FreeBSD.org [maintainer] and attach
      the "/usr/ports/net/mrtg/work/mrtg-2.9.25/config.log" including the
      output of the failure of your make command. Also, it might be a good
      idea to provide an overview of all packages installed on your system
      (e.g. an `ls /var/db/pkg`).
*** Error code 1

Ive installed and made gd, zlib and libpng and i cant use the ports cause my connection is slow (Im in Kenya!) Please help!

0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question