Red Hat Bugzilla – Bug 11737
Expect perl module DOES NOT WORK due to missing pty.pm
Last modified: 2008-05-01 11:37:55 EDT
This is really a bug report for perl-Expect.pm-1.07-2.i386.rpm. The WWW
page would not let me specify this component so I'm filing this against
perl-Mon to get your attention.
the Expect.pm "uses" IO::Pty but the Pty.pm is not included in the
I believe the module that is required is
I fetched the IO-Tty-0.02.tar.gz, built and installed it and then
the expect module worked fine.
Created attachment 276 [details]
error output from perl
Created attachment 277 [details]
sample perl script that tries to "use Expect;"
It shouldn't be included in the same package as the perl-expect package since it
is a different module in CPAN. Keep in mind that the packages for CPAN are
auto-generated, so it won't suck in dependancies automagically. What you will
want to do is grab the perl-IO-Tty package from the CPAN packages which were
included in 6.2, look in the "extra-SRPMS" directory. The sources are in that
package. Just a FYI: the extra-SRPMS directory is for packages which are useful
to people but wouldn't build for us for whatever reason (messed up makefile,
missing libs on the system, whatever).