I just noticed the following was seen when I performed the "make install"


make[1]: Entering directory `/export/home/rosent1/snmp/net-snmp/perl'
make[2]: Entering directory 
`/export/home/rosent1/snmp/net-snmp/perl/default_store'
make[2]: Leaving directory 
`/export/home/rosent1/snmp/net-snmp/perl/default_store'
make[2]: Entering directory `/export/home/rosent1/snmp/net-snmp/perl/ASN'
make[2]: Leaving directory `/export/home/rosent1/snmp/net-snmp/perl/ASN'
make[2]: Entering directory `/export/home/rosent1/snmp/net-snmp/perl/OID'
make[2]: Leaving directory `/export/home/rosent1/snmp/net-snmp/perl/OID'
make[2]: Entering directory `/export/home/rosent1/snmp/net-snmp/perl/agent'
make[3]: Entering directory 
`/export/home/rosent1/snmp/net-snmp/perl/agent/Support'
make[3]: Leaving directory 
`/export/home/rosent1/snmp/net-snmp/perl/agent/Support'
make[3]: Entering directory 
`/export/home/rosent1/snmp/net-snmp/perl/agent/default_store'
make[3]: Leaving directory 
`/export/home/rosent1/snmp/net-snmp/perl/agent/default_store'
make[2]: Leaving directory `/export/home/rosent1/snmp/net-snmp/perl/agent'
make[2]: Entering directory `/export/home/rosent1/snmp/net-snmp/perl/SNMP'
make[2]: Leaving directory `/export/home/rosent1/snmp/net-snmp/perl/SNMP'
make[2]: Entering directory 
`/export/home/rosent1/snmp/net-snmp/perl/TrapReceiver'
make[2]: Leaving directory 
`/export/home/rosent1/snmp/net-snmp/perl/TrapReceiver'
Warning: You do not have permissions to install into 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi at 
/usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 114.
mkdir /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/SNMP: 
Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
make[1]: *** [pure_site_install] Error 13
make[1]: Leaving directory `/export/home/rosent1/snmp/net-snmp/perl'
make: *** [perlinstall] Error 1


Is this the cause of my problems?   Why does Net-SNMP try to install stuff into 
the following directory ....

  /usr/lib/perl5/etc/etc/  

 I would have thought installation was specific to the $(prefix) directory I 
provided in the "./configure" command


--- On Tue, 7/8/08, Need Help <[EMAIL PROTECTED]> wrote:
From: Need Help <[EMAIL PROTECTED]>
Subject: trying to install v5.4.1 on new computer but missing SNMP Perl stuff 
for mib2c
To: "net-snmp Coders" <[email protected]>
Date: Tuesday, July 8, 2008, 6:01 AM

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


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