On Tue, Feb 05, 2002 at 09:06:33AM +0100, Akim Demaille wrote:
> >>>>> "John" == John Poltorak <[EMAIL PROTECTED]> writes:
>
> John> How do I set $debug ?
>
> I have _no idea_...
>
> ~ % autoupdate --help | grep debug nostromo 9:05
> -d, --debug don't remove temporary files
>
The debug option isn't very helpful, however, I've found the _Perl_ debug
flag, '-d', used on the first line of autoupdate and autom4te is very useful
as it allows me to go into debugger mode and I can single step through the
code. As a result I managed to make this trace:-
DB<2>
File::Glob::csh_glob(c:/usr/lib/perl/lib/5.6.0/os2/File/Glob.pm:164):
164: delete $entries{$cxix};
DB<2>
File::Glob::csh_glob(c:/usr/lib/perl/lib/5.6.0/os2/File/Glob.pm:165):
165: return undef;
DB<2>
Autom4te::General::CODE(0x26e548)(c:/usr/local/share/autoconf/Autom4te/General.pm:110):
110: rmdir $tmp
111: or carp ("$me: cannot remove $tmp: $!\n"), _exit (1);
DB<2>
Autom4te::General::CODE(0x26e548)(c:/usr/local/share/autoconf/Autom4te/General.pm:116):
116: close STDOUT
117: or (carp "$me: closing standard output: $!\n"), _exit (1);
DB<2>
Autom4te::General::CODE(0x26e548)(c:/usr/local/share/autoconf/Autom4te/General.pm:119):
119: _exit ($exit_status);
DB<2>
autoupdate.: cannot close autom4te --language=autoconf
--include=c:/usr/local/share/autoconf
--trace AU_DEFUN:'AU:$f:$1' --trace define:'AC:$f:$1' --melt /dev/null |:
at c:/usr/local/bin/autoupdate. line 185
So it looks as though the code is actually failing here:-
share/autoconf/Autom4te/General.pm
I'm no Perl expert, and have no idea what is going on here so can anyone
explain why it's failing?
--
John