could you please help me on this

"ram k" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
root@ABCX libexec]#

these issues are because First i don't know any thing about SNMP and Net:
SNMP(both from cpan.org),i thought these are part of Net-SNMP(Net-SNMP.org)
package, i didn't even realised at the time of Net: SNMP(cpan.org)
installation,i installed Net: SNMP from cpan.org,this is a Object oriented
interface to SNMP(Net-SNMP.org) and installed SNMP(cpan.org) this is Perl5
'SNMP' Extension Module for the Net-SNMP Library .

at the same time Net-SNMP(Net-SNMP.org) has its own perl module for
Net-SNMP(Net-SNMP.org) we can install it from package net-snmp-perl (yum
install net-snmp-perl)?this is my assumption please some one has correct if
any thing is worng in my asumption?

here is my file structure
[root@ABCX perl5]# pwd
/usr/lib/perl5
[root@ABCX perl5]# ll
total 48
drwxr-xr-x 3 root root 4096 Oct 23 09:41 5.8.5

drwxr-xr-x 3 root root 4096 Oct 23 09:41 5.8.6
drwxr-xr-x 3 root root 4096 Oct 23 09:41 5.8.7
drwxr-xr-x 43 root root 4096 Oct 23 09:41 5.8.8
drwxr-xr-x 6 root root 4096 Oct 23 09:41 site_perl
drwxr-xr-x 6 root root 4096 Oct 23 09:41 vendor_perl
[root@ABCX perl5]# cd site_perl/
[root@ABCX site_perl]# ll
total 32
drwxr-xr-x 3 root root 4096 Oct 23 09:41 5.8.5
drwxr-xr-x 3 root root 4096 Oct 23 09:41 5.8.6
drwxr-xr-x 3 root root 4096 Oct 23 09:41 5.8.7
drwxr-xr-x 5 root root 4096 Jan 15 11:55 5.8.8
[root@ABCX
site_perl]# cd 5.8.8
[root@ABCX 5.8.8]# ll
total 16
drwxr-xr-x 2 root root 4096 Jan 15 11:52 Digest
drwxr-xr-x 7 root root 4096 Jan 16 10:05 i386-linux-thread-multi
drwxr-xr-x 3 root root 4096 Jan 15 11:55 Net
[root@ABCX 5.8.8]# cd Net/
[root@ABCX Net]#pwd
/usr/lib/perl5/site_perl/5.8.8/Net
[root@ABCX Net]# ll
total 120
drwxr-xr-x 4 2649 daemon 4096 Oct 20 2005 SNMP
-rw-r--r-- 1 2649 daemon 112950 Oct 20 2005 SNMP.pm


If i go to i386-linux-thread-multi
[root@ABCX Net]# cd ..
[root@ABCX 5.8.8]# cd i386-linux-thread-multi/
[root@ABCX i386-linux-thread-multi]# ll
total 100
drwxr-xr-x 7 root root 4096 Jan 16 10:05 auto
drwxr-xr-x 2 root root 4096 Jan 15 11:39 Crypt
drwxr-xr-x 2 root root 4096 Jan 15 11:50 Digest
drwxr-xr-x 3 root root 4096 Jan 15 15:47 Net
drwxr-xr-x 2 root root 4096 Jan 15 18:38 NetSNMP
-r--r--r-- 1 root root 70398 Aug 9 2006 SNMP.pm
[root@ABCX i386-linux-thread-multi]# cd Net
[root@ABCX Net]# pwd
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Net
[root@ABCX Net]# ll
total 120
drwxr-xr-x 4 root root 4096 Jan 15 15:47 SNMP
-r--r--r-- 1 root root 112950 Jan 15 15:47 SNMP.pm

can see Different versions of SNMP,SNMP.pm in
/usr/lib/perl5/site_perl/5.8.8/Net
and /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Net
If i go to /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/NetSNMP

[root@ABCX NetSNMP]#
pwd
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/NetSNMP
[root@ABCX NetSNMP]# ll
total 12
-r--r--r-- 1 root root 9295 Jul 13 2006 default_store.pm


*If i goto /usr/lib/perl5/vendor_perl/5.8.8*
[root@ABCX 5.8.8]# pwd
/usr/lib/perl5/vendor_perl/5.8.8
[root@ABCX 5.8.8]# ll
total 76
drwxr-xr-x 2 root root 4096 Jan 15 11:23 Digest
drwxr-xr-x 2 root root 4096 Oct 23 09:46 Foomatic
drwxr-xr-x 16 root root 4096 Jan 15 19:03 i386-linux-thread-multi
drwxr-xr-x 3 root root 4096 Jan 15 12:08 Net
-r--r--r-- 1 root root 5045 May 2 2007 RRDp.pm
drwxr-xr-x 4 root root 4096 Oct 23 09:41 URI
-rw-r--r-- 1 root root 30307 Nov 5 2004 URI.pm
[root@ABCX
5.8.8]# cd Net/
[root@ABCX Net]#ll
total 120
drwxr-xr-x 4 root root 4096 Jan 15 12:08 SNMP
-r--r--r-- 1 root root 112950 Oct 20 2005 SNMP.pm


my questions are what is the difference between site_perl and vendor_perl ?
which SNMP,SNMP.pm i need to keep ?is ther any other places i need to keep
copy of these(SNMP,SNMP.pm) ?

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

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