Can't locate

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm trying to see if use Net::SSH::Expect; works.

rod001001 rodperl # ./
Can't locate in @INC (@INC contains: /home/xxxxxx/rodperl /
etc/perl /usr/lib/perl5/site_perl/5.8.5/x86_64-linux /usr/lib/perl5/
site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/
5.8.5/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/
vendor_perl /usr/lib/perl5/5.8.5/x86_64-linux /usr/lib/perl5/5.8.5 /
usr/local/lib/site_perl .) at /home/xxxxxx/rodperl/Net/SSH/
line 10.
BEGIN failed--compilation aborted at /home/xxxxxx/rodperl/Net/SSH/ line 10.
Compilation failed in require at ./ line 4.
BEGIN failed--compilation aborted at ./ line 4.

This is what looks like:
#!/usr/bin/perl -w

use lib "/home/xxxxxx/rodperl";
use Net::SSH::Expect;

My line 10 is:
     1  package Net::SSH::Expect;
     2  use 5.008000;
     3  use warnings;
     4  use strict;
     5  use fields qw(
     6          host user password port no_terminal escape_char
     7          raw_pty exp_internal exp_debug log_file log_stdout
     8          timeout terminator expect debug next_line before match
after binary
     9  );
    10  use Expect;

Things I should tell you.
I compiled all the required modules on a different box and copied over
to another box that does not have a compiler. All the modules were
built with 'perl Makefile.PL PREFIX=/home/xxxxxx/rodperl

On the box I copied all the files to, has identical file directory
structure: /home/xxxxxx/rodperl

Help please.

Re: Can't locate

On 02/03/2011 21:21, Nene wrote:
Quoted text here. Click to load it

Note this list of locations.

Quoted text here. Click to load it

This other can't be found in the standard library locations
(nor in /home/xxxxxx/rodperl).

Quoted text here. Click to load it

You haven't installed Expect (I don't mean Net::SSH::Expect) in one of
the listed locations. If you install Expect this problem will go away.


Site Timeline