From: Blackstone, J. D. <jda...@ci...> - 2002-02-22 18:03:42
|
Did you install as root, or install in your home directory? If you installed into the default location (without specifying PREFIX) everything should work. If you gave it a prefix to install in, you'll need to set the PERL5LIB environment variable to be a colon-separated list of directories under the PREFIX that contain modules. If none of that rings a bell, it must be something else. :) jdb > -----Original Message----- > From: Hal Vaughan [mailto:ha...@th...] > Sent: Friday, February 22, 2002 11:20 AM > To: exp...@li... > Subject: [Expectperl-discuss] Install problem > > > 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 > > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss > |