Re: could you please help me on this

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/1/16 ram k <[email protected]>:
> 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
[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.