Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I am new to perl as well as the monastery. I am trying to
load the Expect module and the accompaning IO modules. The
installation went without a hitch but when I tried to run know
working code I get;
# ./extest.pl
Can't locate IO/Pty.pm in @INC (@INC contains: /apps/perl/
lib/5.00503/sun4-solaris /apps/perl/lib/5.00503
/apps/perl/lib/site_perl/5.005/sun4-solaris
/apps/perl/lib/site_perl/5.005 .) at /apps/perl/lib/
site_perl/5.005/Expect.pm line 19.
BEGIN failed--compilation aborted at
/apps/perl/lib/site_perl/5.005/Expect.pm line 19.
BEGIN failed--compilation aborted at ./extest.pl line 2.
#
The Pty.pm module is loaded, all dirs and files are owned
by root(I'm assuming this is ok). I reloaded all of the
modules a second time thinking there may have been a problem
with the install, but every thing seems to have install
correctly.
-Thanks,
HELP
I had loads of problems with just this sort of thing earlier this year--here's the thread Installing Expect.pm and IO in which a lot of talent looked at my problem. I believe the consensus was that I (and you) might be one point revisions down from a distribution with a good IO::Pty and IO::Tty.
Good luck--that project is back at my old job. I didn't get a chance to finish it, so I don't have a certain solution.
By the way, a descriptive subject line might get more help.