Re: could you please help me on this

2009-01-22 Thread Dave Shield
2009/1/16 ram k :
> my questions are what is the difference between site_perl and vendor_perl ?

  /usr/lib/perl5/{version}
  is used for the core perl modules, that are a standard part of
any perl installation
  /usr/lib/perl5/vendor_perl/{version}
  is used for any additional modules that the O/S vendor wanted to include
  as part of the operating system as shipped
  /usr/lib/perl5/site_perl/{version}
  is used for any additional modules that you want to include,
  that are specific to your particular installation.

In general, anything you add ought to go int 'site_perl'.
But the perl binary should find them wherever they are.



> which SNMP,SNMP.pm i need to keep ?

Get rid of everything, and start again.

If you are working with a pre-compiled binary distribution,
then install the net-snmp-perl package which matches the
net-snmp package you are using
   (which should be available from the same place).

If you compiled the net-snmp package yourself, then install
the modules that come in the 'perl' subdirectory of this.

   "configure --with-perl-modules; make ; make install"

should do this automatically

Don't try to mix SNMP-related perl modules from different
locations, unless you are *very sure that you know what
you are doing.

Dave

--
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: could you please help me on this

2009-01-19 Thread Mike Ayers
> From: ram k [mailto:rames2...@gmail.com] 
> Sent: Friday, January 16, 2009 9:37 AM

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

If you are using yum, then you should be able to use the net-snmp-perl 
if (and only if) you are also using the matching (i.e. update at the same time) 
net-snmp package.  You may need other net-snmp-* packages as well (I've never 
done this myself).

To clarify the perl packages (which I believe you already have 
straightened out), see what Dave had to say:

http://www.net-snmp.org/wiki/index.php/Which_Perl_module_should_I_use


HTH,

Mike

--
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users