Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2015 15:26:02 -0500
From:      Ken Menzel <kenm@icarz.com>
To:        ports@freebsd.org
Subject:   install issue with net-snmp
Message-ID:  <54EF815A.6010105@icarz.com>

next in thread | raw e-mail | index | archive | help
I am having a problem installing net-snmp.  It seems it can't find the
work files to install.

root@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
 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EF815A.6010105>