Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setup small office network 1 55
SSL-VPN 1 43
Visio Crashes when Running from a Share 6 40
Server 2016 WSUS 7 25
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

713 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