From: Hal V. <ha...@th...> - 2002-02-22 17:20:04
|
I'm new to perl (actually, I haven't done substantial programming in 10 years, when I used to program in assembler on Apple //e's). While I've been studying quite a bit of perl, I'm still not familiar with all the features and needs of modules. I downloaded the Expect module from CPAN as well as the IO module with PTY and TTY. I had no problem with make and install for IO, but when I've tried to install Expect, I get the following error messages: From make test: PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5. 6.1/i386-linux -I/usr/lib/perl5/5.6.1 test.pl 1..32 Can't locate IO/Stty.pm in @INC (@INC contains: blib/arch blib/lib /usr/li b/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i-386linux /usr/lib/perl5/5. 6.1 /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/si te_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/sit e_perl .) at blib/lib/Expect.pm line 23 BEGIN failed--compilation aborted at blib/lib/Expect.pm line 23. Compilation failed in require at test.pl line 11. BEGIN failed --compilation aborted at test.pl line 11. make: *** [test_dynamic] Error2 From make install: Writing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Expect/.packlist Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod My asssumption is that @INC contains (or should contain) information where all library files are stored, and that it is missing info about where IO/Stty.pm is. I don't know if it matters, but I installed Expect first, found the problem, and downloaded IO and installed it afterward. Then I re-installed Expect, hoping it would find what it needed. Do I need other packages? Or is there a simple change in a config file I can make to get this working? Thanks! Hal |