Solved

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

Posted on 2003-10-28
3
828 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 17

Accepted Solution

by:
John Gates earned 125 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now