opensubscriber
   Find in this group all groups
 
Unknown more information…

n : net-snmp-users@lists.sourceforge.net 18 May 2009 • 11:03PM -0400

RE: ActivePerl 5.10 - Cannot locate module in @INC
by James.Brown

REPLY TO AUTHOR
 
REPLY TO GROUP




-----Original Message-----
From: Mike Ayers [mailto:mike_ayers@tvwo...]
Sent: 15 May 2009 19:20
To: Brown, James : Barclays Wealth; net-snmp-users@list...
Subject: RE: ActivePerl 5.10 - Cannot locate module in @INC

> From: James.Brown@barc...
> [mailto:James.Brown@barc...]
> Sent: Friday, May 15, 2009 7:37 AM


> The problem occurs when I do a "use Net::SNMP". Perl comes back with
> "Can't locate Net/SNMP.pm in @INC (@INC contains:
> C:/Perl/site/lib C:/Perl/lib .)...".
>
> Could anyone suggest how I could resolve this please?
>
> Use the right package.
>
> http://www.net-snmp.org/wiki/index.php/Which_Perl_module_should_I_use
>
>
> HTH,
>
> Mike

Mike,

Thanks very much for sending me the article, but I'm still confused. I installed the PPM supplied through the net-snmp.org zip. Is this the Pure Perl or the C implementation?

I realise the article also refers to SNMP::Info, but a "use SNMP::Info" turns up the not found in @INC problem. If I list the contents of NetSNMP, these are the files that have been installed via PPM:

C:\Perl\site\lib\NetSNMP>dir
[...]

15/05/2009  15:21    <DIR>          .
15/05/2009  15:21    <DIR>          ..
15/05/2009  15:21    <DIR>          agent
15/05/2009  15:21            13,232 agent.pm
15/05/2009  15:21             2,878 ASN.pm
15/05/2009  15:21            12,139 default_store.pm
15/05/2009  15:21             5,345 OID.pm
15/05/2009  15:21             7,336 TrapReceiver.pm

Perhaps this module doesn't work very well with Activestate v5.10? I notice that it's not available in the usual location: http://ppm.activestate.com/PPMPackages/zips/10xx-builds-only/Windows/

The executables themselves (snmpget.exe/snmpwalk.exe) are working fine though, so I'm starting to wonder whether the best method might be to use backticks to drive the exectable and parse the output.

Regards

James.

Barclays Wealth is the wealth management division of Barclays Bank PLC. This email may relate to or be sent from other members of the Barclays Group.

The availability of products and services may be limited by the applicable laws and regulations in certain jurisdictions. The Barclays Group does not normally accept or offer business instructions via internet email. Any action that you might take upon this message might be at your own risk.

This email and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this email in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this email or its attachments.

Internet communications are not guaranteed to be secure or without viruses. The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this email may be monitored by the Barclays Group for operational or business reasons.

Any opinion or other information in this email or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group.

Barclays Bank PLC. Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services Authority.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@list...
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.