Re: perl question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 1/29/2010 1:28 PM, Jerry Geis wrote:
> I am trying to run a perl script that said it needs Net::SMPP
>
> I ran this:
> your_host]# *perl -MCPAN -e shell*
> cpan shell -- CPAN exploration and modules installation (v1.76)
> ReadLine support enabled
> cpan>  *install Net::SNMP
>
> seemed to work. no errors reported.
> however when I run perl I still get the same error saying needs
>
>   ./sendmessage.pl
> Can't locate Net/SMPP.pm in @INC (@INC contains:
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
> at ./sendmessage.pl line 18.
> BEGIN failed--compilation aborted at ./sendmessage.pl line 18.
>
> What else do I need?

Is that a typo or did you actually install Net::SNMP when the script 
wants Net:SMPP?

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux