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/