I'm totally new to perl.

Our net-snmp download contains the net-snmp sources along with the net-snmp
perl module.  But I don't quite understand what needs to be installed and
how to install it.  We're not trying to build the application, just to use
the MIB converter.

so

1) I run perl makefile.subs.pl and it seems ok.

2) then I try the perl makefile but fails at: "The Net-SNMP library
(netsnmp.lib) could not be found"

3) finally, the script (makehtml.pl) I want to use does'nt compile:
Can't locate auto/NetSNMP/default_store/autosplit.ix in @INC (@INC contains:
C:/strawberry/perl/lib C:/strawberry/perl/site/lib .) at
C:/strawberry/perl/lib/AutoLoader.pm line 173.
 at C:/strawberry/perl/lib/NetSNMP/default_store.pm line 9  [...]

So what I got is a compilation error;

regards,

FB

2011/2/8 Dave Shield <[email protected]>

> On 7 February 2011 22:11, Brandon Wigfield <[email protected]> wrote:
> > The directions at http://www.net-snmp.org/docs/perl-SNMP-README.html
> > should tell you how to go about getting that module installed. Keep in
> > mind though that those directions are on how to build the module from
> > the source. In your case you don't really care if you have the latest
> > version just one that works, so pulling the module from CPAN should be
> > a good option for you.
>
> Hmmm...   I'm not sure that's quite right.
>
> One thing to bear in mind is that the Net-SNMP perl module
> is effectively just a wrapper round the C library routines.
> So it's important to have a version that is compatible with
> the version of the libraries that you have installed.
>
> That's why we recommend you use the perl module from the
> same release as the main installation.  (i.e. installed from the
> appropriate source tarball).
>   You might be able to get away with a different version of the
> perl modules from the same branch of the code (the same 5.x line)
> but we wouldn't recommend mixing different major versions
>
>
>
> > With that in mind from a command line you could
> > just run
> >
> > cpan SNMP
>
> That would presumably install the most recent version from CPAN,
> which seems to be 5.0401   (i.e. 5.4.1)
>   That should probably be OK if you've got a 5.4.x installation,
> but I'm not at all sure whether this would work properly with 5.5 or 5.6
> It's also missing all the perl-related fixes that ha've been added
> in the last three years.
>
>
> But if it works for you, then fair enough.
>
> Dave
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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

Reply via email to