Hi,
I'm trying to manually install few .pm modules into existing Perl 5.8.8 installation under Kubuntu 710.
But the problem is that when I run the script it doesn't find those .pm files, although they are in right place - maybe script is not looking at the right spot...
I have this in perl script:
use Games::Rezrov::ZIO_Asterisk; # This is where all the callback routines are defined for use
and whem I run it, it reports error :
sudo -u asterisk ./zoip.agi /usr/share/asterisk/agi-bin/ZORK1.DAT
Can't locate Games/Rezrov/ZIO_Asterisk.pm in @INC (@INC contains: /usr
+/share/asterisk/agi-bin/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/
+local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/
+5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ./zoip.agi lin
+e 24, <DATA> line 256.
BEGIN failed--compilation aborted at ./zoip.agi line 24, <DATA> line 2
+56.
although files seem to be there in right place :
ls -l /usr/local/share/perl/5.8.8/Games/Rezrov/ZIO_Asterisk.pm
-rwxr-x--- 1 root root 9275 2008-09-26 02:07 /usr/local/share/perl/5.8
+.8/Games/Rezrov/ZIO_Asterisk.pm
What am I doing wrong ?
Thanks in advance,
regards,
Rob.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.