> From: Christopher Thorjussen [EMAIL PROTECTED]
> Sent: 2005-10-05 02:35:52 CEST
> To: [email protected]
> Cc: [email protected]
> Subject: Something worng with perl or net-snmp-perl?
> 
> I'm trying to get perl working with SNMP and have installed net-snmp* 
> packages, but I get this error:
> 
> [EMAIL PROTECTED] # perl
> use Net::SNMP;
> 
> Can't locate Net/SNMP.pm in @INC (@INC contains: 
> /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 
> /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at - line 1.
> BEGIN failed--compilation aborted at - line 1.
> 

I actually think I figured it out...

Reading the error message once more told me it looked for "Net/SNMP.pm" but on 
my system it (SNMP.pm) does not get installed in a Net folder.. I fixed it like 
this temporarily:

cd /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi
mkdir Net
chmod 755 Net
cd Net
ln -s ../SNMP.pm SNMP.pm

It looks like a bug in the package/packaging. Am I right?

/Christopher
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to