This is the mail archive of the
mailing list for the Cygwin project.
Re: Unable to debug perl 5.8.0 program
Gerrit P. Haase wrote:
Thursday, September 4, 2003, 10:57:02 PM, you wrote:
AD> Recently I started receiving the following error when trying to user
AD> perl -d. It only seems to happen with some perl scripts and not
AD> more simple perl scripts:
AD> $ perl -d CheckinPreop.pl
AD> Loading DB routines from perl5db.pl version 1.19
AD> Editor support available.
AD> Enter h or `h h' for help, or `man perldebug' for more help.
AD> main::(CheckinPreop.pl:42): my $site;
AD> Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
AD> COLUMNS and LINES environment variables didn't work. The resize
AD> didn't work. at
AD> Compilation failed in require at
AD> /usr/lib/perl5/site_perl/5.8.0/Term/ReadLine/Perl.pm line 58.
AD> called at /usr/lib/perl5/5.8.0/perl5db.pl line 2225
AD> DB::setterm called at /usr/lib/perl5/5.8.0/perl5db.pl line 773
AD> DB::DB called at CheckinPreop.pl line 42
AD> 101: Disconnect;
AD> DB<1> q
AD> $ echo -e "Lines: $LINES\nColumns: $COLUMNS"
AD> Lines: 24
AD> Columns: 80
AD> This happens in an rxvt window as well as a Windows console window.
From your cygcheck:
Please try to upgrade to 5.8.0-5 at first. There are good chances that
the binmode bug fixed in 5.8.0-5 resolves this problem.
Thanks that did the trick. Also caused me to finally update to 1.5.3.
That was a little scary but all's been smooth so far.
Obligatory witty saying: I hit the CTRL key but I'm still not in control!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html