Solved Help with port compiling error for net-snmp-5.7.3_11

Hello,

I'm trying to find out how to get to the bottom of this error. I've been google, and a straight read seems that it can't find these files, but I have perl installed. I found another freebsd forums https://forums.freebsd.org/threads/17309/ using script. However, I'm not adept at figuring out this out.

I don't know what else might be needed. Thanks for any help.

Here is my perl version and location:
Code:
root@mimas:/usr/ports/net-mgmt/net-snmp # perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) built for amd64-freebsd-thread-multi

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


Code:
whereis perl
perl: /usr/bin/perl /usr/local/man/man1/perl.1.gz



Code:
===>  Installing for net-snmp-5.7.3_11
===>  Checking if net-snmp already installed
===>   Registering installation for net-snmp-5.7.3_11
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
pkg-static: Unable to access file /usr/ports/net-mgmt/net-snmp/work/stage/usr/local/lib/perl5/site_perl/mach/5.16/NetSNMP/OID.pm: 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/TrapReceiver.pm: 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/agent.pm: 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/agent/Support.pm: 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/agent/default_store.pm: 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/agent/netsnmp_request_infoPtr.pm: 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/default_store.pm: 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/SNMP.pm: 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/auto/NetSNMP/ASN/ASN.so: 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/auto/NetSNMP/ASN/autosplit.ix: 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/auto/NetSNMP/OID/OID.so: 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/auto/NetSNMP/OID/autosplit.ix: 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/auto/NetSNMP/TrapReceiver/TrapReceiver.so: 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/auto/NetSNMP/TrapReceiver/autosplit.ix: 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/auto/NetSNMP/agent/agent.so: 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/auto/NetSNMP/agent/autosplit.ix: 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/auto/NetSNMP/agent/default_store/autosplit.ix: 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/auto/NetSNMP/agent/default_store/default_store.so: 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/auto/NetSNMP/default_store/autosplit.ix: 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/auto/NetSNMP/default_store/default_store.so: 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/auto/SNMP/SNMP.so: 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/auto/SNMP/autosplit.ix: No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/net-mgmt/net-snmp
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/net-snmp

===>>> Installation of net-snmp-5.7.3_11 (net-mgmt/net-snmp) failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net-mgmt/net-snmp
 
The current default version of Perl is 5.24. Your system is rather old. What version of FreeBSD are you using?

(Perl 5.16 was removed from the ports tree more than a year ago)
 
Hello Sir Dice,


uname -r
10.0-RELEASE


I thought about upgrading perl, but since we run qmail, I'm hestitant to upgrade it. I did do some leg work.. when running make only in the port. I found this:

its comping everything (for the working directoy) to ../site_perl/5.16/mach/.. but installation seems to be looking for ../site_perl/mach/5.16/.. the directory's are reversed.
 
Back
Top