[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Migrating to autoconf 2.52g
From: |
John Poltorak |
Subject: |
Re: Migrating to autoconf 2.52g |
Date: |
Tue, 5 Feb 2002 09:37:59 +0000 |
On Tue, Feb 05, 2002 at 09:06:33AM +0100, Akim Demaille wrote:
> >>>>> "John" == John Poltorak <address@hidden> 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
- Migrating to autoconf 2.52g, John Poltorak, 2002/02/04
- Re: Migrating to autoconf 2.52g, Tim Van Holder, 2002/02/04
- Re: Migrating to autoconf 2.52g, John Poltorak, 2002/02/04
- Re: Migrating to autoconf 2.52g, Paul Eggert, 2002/02/04
- Re: Migrating to autoconf 2.52g, John Poltorak, 2002/02/04
- Re: Migrating to autoconf 2.52g, Akim Demaille, 2002/02/05
- Re: Migrating to autoconf 2.52g,
John Poltorak <=
- Re: Migrating to autoconf 2.52g, Tim Van Holder, 2002/02/05
- Re: Migrating to autoconf 2.52g, Akim Demaille, 2002/02/05