install issue with net-snmp

Ken Menzel kenm at icarz.com
Thu Feb 26 20:25:50 UTC 2015


I am having a problem installing net-snmp.  It seems it can't find the
work files to install.

root at mccoy:/usr/ports/net-mgmt/net-snmp # make install
===>  Installing for net-snmp-5.7.3_5
===>   net-snmp-5.7.3_5 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Checking if net-snmp already installed
/usr/local/bin/perl5.16.2
===>   Registering installation for net-snmp-5.7.3_5
pkg-static: Unable to access file
/usr/ports/net-mgmt/net-snmp/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/Bundle/Makefile.subs.pl:
No such file or directory
pkg-static: Unable to access file
/usr/ports/net-mgmt/net-snmp/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/NetSNMP/ASN.pm:
No such file or directory

...
much of the same cut out.

I tried compiling with and without embedded perl and I get the error. I finally edit the Plist with %s/%%WITH_PERL%%%%SITE_ARCH%%/\/usr\/local\/lib\/perl5\/site_perl\/5.16.2\/mach/.

This changed the site from mach/5.16 to 5.16.2/mach and the install completed!

Is this a bug or is something wrong with my perl install.  Shouldn't my older perl installation still work?

Thanks for any advice.
Ken
 




More information about the freebsd-ports mailing list