Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 24064
Status: stalled
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: jleffler [...] earthlink.net
Cc:
AdminCc: daveh [...] hodgkinson.org
jns [...] gellyfish.com

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



Subject: CPANPLUS 0.076 cannot install Term::ReadLine 1.0302 properly
Date: Sat, 23 Dec 2006 13:03:11 -0800
To: bug-Term-ReadLine [...] rt.cpan.org, Bugs in CPANPLUS via RT <bug-CPANPLUS [...] rt.cpan.org>
From: Jonathan Leffler <jleffler [...] earthlink.net>
When I attempt to use CPANPLUS 0.076 to install Term::ReadLine 1.0302, I get errors such as (sorry about the wrapping): [MSG] Extracted 'Term::ReadLine::Perl' to '/Users/jleffler/.cpanplus/5.8.8/build/Term-ReadLine-Perl-1.0302' ==> MISSING Signature file! <== Running [/Users/jleffler/perl/v5.8.8/bin/perl /Users/jleffler/perl/v5.8.8/bin/cpanp-run-perl Makefile.PL ]... Writing Makefile for Term::ReadLine Running [/usr/bin/make ]... Running [/usr/bin/make test ]... PERL_DL_NONLAZY=1 /Users/jleffler/perl/v5.8.8/bin/perl "-Iblib/lib" "-Iblib/arch" test.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 /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level/Term/ReadKey.pm line 362. Compilation failed in require at blib/lib/Term/ReadLine/Perl.pm line 63. make: *** [test_dynamic] Error 127 [ERROR] MAKE TEST failed: PERL_DL_NONLAZY=1 /Users/jleffler/perl/v5.8.8/bin/perl "-Iblib/lib" "-Iblib/arch" test.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 /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin-2level/Term/ReadKey.pm line 362. Compilation failed in require at blib/lib/Term/ReadLine/Perl.pm line 63. make: *** [test_dynamic] Error 127 [ERROR] Unable to create a new distribution object for 'Term::ReadLine::Perl' -- cannot continue *** Install log written to: /Users/jleffler/.cpanplus/install-logs/Term-ReadLine-Perl-1166907342.log Error installing 'Term::ReadLine::Perl' Problem installing one or more modules ---EOT--- The Term::ReadLine code tests fine when I run the install manually: cd /Users/jleffler/.cpanplus/5.8.8/build/Term-ReadLine-Perl-1.0302 make test && make install I have to suspect that the difference is that the standard output inside CPANPLUS is probably redirected (maybe standard input too), and the test code is looking at just standard output - or along those lines. Is there something that CPANPLUS can do generically to fix this? Is there something that Term::ReadLine can do generically to fix this - at least to the point of the test passing (without doing any real testing) if the terminal size cannot be determined? I'm running Perl 5.8.8 on MacOS X 10.4.8; I'll provide 'perl -V' output if requested. -- Jonathan Leffler (jleffler@earthlink.net) #include <disclaimer.h> Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
RT-Send-CC: jns [...] gellyfish.com
Hi Jonathan, On Sat Dec 23 16:03:38 2006, jleffler@earthlink.net wrote: Show quoted text
> When I attempt to use CPANPLUS 0.076 to install Term::ReadLine 1.0302, > I get errors such as (sorry about the wrapping): > > > [MSG] Extracted 'Term::ReadLine::Perl' to > '/Users/jleffler/.cpanplus/5.8.8/build/Term-ReadLine-Perl-1.0302' > ==> MISSING Signature file! <== > Running [/Users/jleffler/perl/v5.8.8/bin/perl > /Users/jleffler/perl/v5.8.8/bin/cpanp-run-perl Makefile.PL ]... > Writing Makefile for Term::ReadLine > Running [/usr/bin/make ]... > Running [/usr/bin/make test ]... > PERL_DL_NONLAZY=1 /Users/jleffler/perl/v5.8.8/bin/perl "-Iblib/lib" > "-Iblib/arch" test.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 > /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin- > 2level/Term/ReadKey.pm > line 362. > Compilation failed in require at blib/lib/Term/ReadLine/Perl.pm line > 63. > make: *** [test_dynamic] Error 127 > [ERROR] MAKE TEST failed: PERL_DL_NONLAZY=1 > /Users/jleffler/perl/v5.8.8/bin/perl "-Iblib/lib" "-Iblib/arch" > test.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 > /Users/jleffler/perl/v5.8.8/lib/site_perl/5.8.8/darwin- > 2level/Term/ReadKey.pm > line 362. > Compilation failed in require at blib/lib/Term/ReadLine/Perl.pm line > 63. > make: *** [test_dynamic] Error 127 > > > [ERROR] Unable to create a new distribution object for > 'Term::ReadLine::Perl' -- cannot continue > > *** Install log written to: > /Users/jleffler/.cpanplus/install-logs/Term-ReadLine-Perl- > 1166907342.log > > Error installing 'Term::ReadLine::Perl' > Problem installing one or more modules > > ---EOT--- > > The Term::ReadLine code tests fine when I run the install manually: > > cd /Users/jleffler/.cpanplus/5.8.8/build/Term-ReadLine-Perl-1.0302 > make test && make install > > I have to suspect that the difference is that the standard output > inside > CPANPLUS is probably redirected (maybe standard input too), and the > test > code is looking at just standard output - or along those lines. > > Is there something that CPANPLUS can do generically to fix this? > Is there something that Term::ReadLine can do generically to fix this > - > at least to the point of the test passing (without doing any real > testing) if the terminal size cannot be determined? > > I'm running Perl 5.8.8 on MacOS X 10.4.8; I'll provide 'perl -V' > output if requested.
I'm running the exact same perl version and OS version as you, but i can't get the failure to occur -- neither from CPANPLUS nor from the shell... I've tried in all available terminals; xterm, iTerm and Terminal.app, but to no avail. I've also checked with the author of Term::ReadKey but he wasn't able to shed any light on the matter either -- it *should* just work and not throw an error, since all the ways the size determination are done 'just work' on macs... Perhaps you have some additional info that could help me or the author of term::readkey find out what's going on? What happens when you install Term::ReadKey on it's own? Regards, Jos