Solved

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

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tagging ports on a managed switch 6 51
Guest Wi-Fi Marketing solution required 8 62
cant gain access to the internet 4 46
How to configure this IP Address to my firewall 15 83
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

25 Experts available now in Live!

Get 1:1 Help Now