Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 20074
Status: rejected
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: alexchorny [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.072
Fixed in: (no value)



Subject: Unable to get Terminal Size
Error installing CPLANPLUS 0.72 using CPANPLUS 0.61 shell: perl 5.8.8 compiled on Linux 2.4.20. On command line perl Makefile.PL runs without problems. Term::ReadKey 2.30 Term::ReadLine::Perl 1.0302 Same problem appeared when installing several other module using CPANPLUS; manual installation also is ok. Running [/usr/local/bin/perl -MCPANPLUS::Internals::Utils::Autoflush Makefile.PL UNINST=1]... Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/Term/ReadKey.pm line 362. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Term/ReadLine/Perl.pm line 63. [ERROR] Could not run '/usr/local/bin/perl Makefile.PL': Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/Term/ReadKey.pm line 362. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Term/ReadLine/Perl.pm line 63. -- cannot continue [ERROR] Unable to create a new distribution object for 'CPANPLUS' -- cannot continue Error installing 'CPANPLUS' Problem installing one or more modules ------- Alexandr Ciornii, http://chorny.net
I have the same problem under Linux/amd64: Running [/usr/bin/perl5.8.7 -MCPANPLUS::Internals::Utils::Autoflush Makefile.PL ]... Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux/Term/ReadKey.pm line 362. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/Term/ReadLine/Perl.pm line 58. [ERROR] Could not run '/usr/bin/perl5.8.7 Makefile.PL': Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux/Term/ReadKey.pm line 362. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/Term/ReadLine/Perl.pm line 58. Manually running "perl Makefile.PL" works though, so I think the problem is related to fact the Makefile.PL isn't executed on a real terminal. I also think the bug is in Term::ReadLine::Perl as recent versions can't be installed from CPAN/CPANPLUS because tests fail with this error, while they pass when executed from a shell. -- Close the world, txEn eht nepO.
On Fri Jul 28 04:06:50 2006, SAPER wrote: Show quoted text
> I have the same problem under Linux/amd64: > > Running [/usr/bin/perl5.8.7 -MCPANPLUS::Internals::Utils::Autoflush > Makefile.PL ]... > Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The > COLUMNS and LINES environment variables didn't work. The resize program > didn't work. at > /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux/Term/ReadKey.pm line 362. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Term/ReadLine/Perl.pm line 58. > [ERROR] Could not run '/usr/bin/perl5.8.7 Makefile.PL': Unable to get > Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES > environment variables didn't work. The resize program didn't work. at > /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux/Term/ReadKey.pm line 362. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Term/ReadLine/Perl.pm line 58. > > Manually running "perl Makefile.PL" works though, so I think the problem > is related to fact the Makefile.PL isn't executed on a real terminal. I > also think the bug is in Term::ReadLine::Perl as recent versions can't > be installed from CPAN/CPANPLUS because tests fail with this error, > while they pass when executed from a shell.
A bit of research gives me the same results as you. I'd think the culprit is indeed one of the Term::ReadLine::* modules.