Error when executing 'perl Makefile.PL'

Sean Sciberras <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
I am trying to install NetSNMP-OID (version 5.0404) but when I run 'perl Makefile.PL' (in the NetSNMP-OID directory) I get the message:You need to install net-snmp first (I can't find net-snmp-config) at Makefile.PL line 91.
After adding some checkpoints to the Makefile.PL using 'print' statements, I discovered that it was not executing the following lines (83 to 85):if (lc($opts->{'insource'}) eq "true") {     $Params{'LIBS'} = "-L../../snmplib/.libs -L../../snmplib/ " . $Params{'LIBS'};     $Params{'CCFLAGS'} = "-I../../include " . $Params{'CCFLAGS'};
which is likely why it crashed at 90/91?:
if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {     die "You need to install net-snmp first (I can't find net-snmp-config)"; }
I have net-snmp installed (correctly, I think), so I'm wondering if maybe I have it in the wrong directory?  It is currently in home/ ( ~, i.e. ~/NetSNMP-OID-5.0404/ ).

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.