1) I extracted the v5.4.1 package and placed all the contents into the 
following Linux directory:

     "/export/home/testing/snmp/net-snmp"

2) I went into the directory above and perform the following "./configure" 
command, followed by "make" and "make install":

../configure \
--srcdir=/export/home/testing/snmp/net-snmp \
--prefix=/export/home/testing/snmp/usr/local \
--with-logfile="/var/log/snmpd.log" \
--with-persistent-directory="/var/net-snmp" \
--with-default-snmp-version="3" \
--with-sys-contact="contact" \
--with-sys-location="location"

3) I placed my MIBs into the following directory:

   /export/home/testing/snmp/usr/local/share/snmp/mibs/

4) I set the following environment variables:

export MIBS=ALL
export PATH=/export/home/testing/snmp/usr/local/bin:$PATH

5) I tried to run the "mib2c" command and received the following

ERROR: You don't have the SNMP perl module installed.  Please obtain this by 
getting the latest source release of the net-snmp toolkit from 
http://www.net-snmp.org/download/ .  Once you download the source and unpack 
it, the perl module is contained in the perl/SNMP directory.  See the README 
file there for instructions.


When I first installed Net-Snmp a long time ago, I do not remember having to 
install SNMP Perl at all, so I was wondering what could be my problem.  I am 
installing Net-SNMP on a new computer for the first time so perhaps that has 
something to do with the problem.  

I just wanted to make sure I am doing everything correctly before continuing 
since I know I never had to install SNMP perl stuff from the Net-SNMP package 
previously so I am not sure why I need to do it now.

Will someone please tell me what might be the problem?












      
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to