MRTG from ports

Wayne Pascoe freebsd-feb at penguinpowered.org
Fri Apr 23 01:42:28 PDT 2004


Hi all,

I've just installed mrtg from /usr/ports/net-mgmt/mrtg. I used to have
an older version of mrtg on the machine that I removed by doing 
pkg_delete mrtg*

Since the re-install, I've been getting this error:
SNMP_util version 0.97 required--this is only version 0.93 at
/usr/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 116.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm line 20.
Compilation failed in require at /usr/local/bin/mrtg line 78.
BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 78

I also had this with MRTG_lib, which I rectified by doing a make in
/usr/ports/net-mgmt/mrtg and copying the resulting MRTG_lib.pm to
/usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm

However, I can't seem to find a more recent SNMP_util.pm in the mrtg
directory.

I've tried installing ucd-snmp-4.2.6_3 from Ports, but this didn't give
me a newer versoin either.

Can anyone please enlighten me as to the best way to build mrtg from
ports WITH all of its dependencies ? 

thanks,

-- 
Wayne Pascoe
I'm only in this job until an opening comes up 
in the fast food business...


More information about the freebsd-questions mailing list