[afnog] Installing MRTG via /usr/ports on a FReeBSD 5.3 release box fails

Kabagambe Kenneth kenneth at cfi.co.ug
Tue Feb 8 10:42:44 EAT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


You probably have stale patches in your ports.Doing a cvsup will 
probably solve this.It is explained in the FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

On Tue, Feb 08, 2005 at 10:35:39AM +0400, Madhvi Gokool wrote:
> Hello
> I have just made a fresh installation of FreeBSD 5.3 release on a server and
> recompiled the kernel for SMP support. When I try installing MRTG via
> /usr/ports , I get the error below.
> 
> sa03# cd /usr/ports/net-mgmt/
> sa03# cd mrtg
> sa03# make install
> ===>  Vulnerability check disabled, database not found
> >> mrtg-2.10.15.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> >> Attempting to fetch from
> http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/.
> mrtg-2.10.15.tar.gz                           100% of 1079 kB 6458  Bps
> 00m00s
> ===>  Extracting for mrtg-2.10.15,1
> >> Checksum OK for mrtg-2.10.15.tar.gz.
> ===>   mrtg-2.10.15,1 depends on file: /usr/local/bin/perl5.8.5 - found
> ===>  Patching for mrtg-2.10.15,1
> ===>   mrtg-2.10.15,1 depends on file: /usr/local/bin/perl5.8.5 - found
> ===>  Applying FreeBSD patches for mrtg-2.10.15,1
> /bin/rm /usr/ports/net-mgmt/mrtg/work/mrtg-2.10.15/lib/mrtg2/BER.pm
> /usr/ports/net-mgmt/mrtg/work/mrtg-2.10.15/lib/mrtg2/SNMP_*.pm
> /usr/local/bin/perl -pi -e 's:%%GD%%:-lgd:g'
> /usr/ports/net-mgmt/mrtg/work/mrtg-2.10.15/configure
> ===>   mrtg-2.10.15,1 depends on file: /usr/local/bin/perl5.8.5 - found
> ===>   mrtg-2.10.15,1 depends on shared library: gd.4 - not found
> ===>    Verifying install for gd.4 in /usr/ports/graphics/gd
> 
> gd has the following tunables:
> 
>         WITH_XPM=yes                    Turns on Xpm support
>         WITH_XPM=yes WITHOUT_X11=yes    Turns on X-less Xpm support
>         WITH_LZW=yes                    Turns on GIF compression support
> 
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for gd-2.0.25,1
> >> Checksum OK for gd-2.0.25.tar.gz.
> ===>  Patching for gd-2.0.25,1
> ===>  Applying FreeBSD patches for gd-2.0.25,1
> File to patch:
> I have no idea as to what patch needs to be applied .   I am having similar
> problems while installing bandwidthd as well.
> error : -
> ===>   bandwidthd-1.2.1 depends on executable: gmake - not found
> ===>    Verifying install for gmake in /usr/ports/devel/gmake
> ===>   gmake-3.80_2 depends on shared library: intl - not found
> ===>    Verifying install for intl in /usr/ports/devel/gettext
> ===>  Patching for gettext-0.13.1_1
> ===>  Applying FreeBSD patches for gettext-0.13.1_1
> 1 out of 1 hunks failed--saving rejects to Makefile.in.rej
> >> Patch patch-Makefile.in failed to apply cleanly.
> *** Error code 1
> 
> Stop in /usr/ports/devel/gettext.
> *** Error code 1
> 
> Stop in /usr/ports/devel/gmake.
> *** Error code 1
> 
> Stop in /usr/ports/net-mgmt/bandwidthd.
> 
> Thanx in advance for your help.
> 
> madhvi
> 
> _______________________________________________
> afnog mailing list

- -- 

Kabagambe Kenneth




:       _ /~\'_
         (o o)
=====oooO==U==Oooo================[ken]===============
It's better to try and fail than never to have tried at all.
======================[URL:http://www.cfi.co.ug]======
:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQFCCG10TiDCcT86j70RAsXhAJ4unMkhiPwrEYquxBw2AbsSeokH8QCcDdXT
3KonIp71nGpvkNa0oYGUH2k=
=I+K1
-----END PGP SIGNATURE-----


More information about the afnog mailing list