Hi,
I'd like to install Expect.pm and give it a try on a slackware 7.0 with
perl, v5.6.1 built for i686-linux. I started cpan to install
Bundle::Expect, because this solves dependencies to IO:STty and IO::Tty
but cpan couldn 't finish because it stopped having found an error.
So I went to .cpan/build/ and found
IO-Stty-.02
IO-Tty-0.04
Expect-1.11
IO - stuff comes without 'make test', so I installed them and went to Expect
using the 4-times-hop, but it stops at 'make test' with this error-message:
...
1..7
ok 1
Expect: Could not assign a pty at blib/lib/Expect.pm line 87.
make: ***
[test_dynamic
] Error 22
and line 86/87 are:
$name_of_tty = $self->IO::Pty::ttyname();
die "$class: Could not assign a pty" unless $self->IO::Pty::ttyname();
I took a look at the IO:STty and IO::Tty and it is there, where the error
comes from,
because the IO::Tty 'try' script doesn't work:
Using /root/.cpan/build/IO-Tty-0.04/blib
Use of uninitialized value in sysopen at /usr/local/lib/perl5/5.6.1/i686-linux/IO/File.pm line 159.
Use of uninitialized value in concatenation (.) or string at /root/.cpan/build/IO-Tty-0.04/blib/lib/IO/Pty.pm line 41.
Use of uninitialized value in concatenation (.) or string at /root/.cpan/build/IO-Tty-0.04/blib/lib/IO/Pty.pm line 41.
Cannot open as :No such file or directory at ./try line 12
This all happens as root, so what is the missing link?
there are no silly questions
killerhippy
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.