Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IPv6 and IPv4 Subnetting scheme 4 44
ISP Change 14 63
Cisco switch suggestion 5 65
tamper proof asset tags - benefits 4 22
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

840 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