automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aclocal: /usr/bin/m4: `m4_symbols' from frozen file not found in bui


From: Bruce Korb
Subject: Re: aclocal: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table!
Date: Sun, 30 Jan 2005 01:31:56 -0800
User-agent: KMail/1.7.1

On Saturday 29 January 2005 11:31 am, Alexandre Duret-Lutz wrote:
> On Sat, Jan 29, 2005 at 11:12:49AM -0800, Bruce Korb wrote:
> > What does this mean?
> 
> The same as the last time you asked, I guess.
> http://lists.gnu.org/archive/html/autoconf/2003-06/msg00085.html

You are right.  I didn't Google the error message.  Doing so leads
to a lot of messages indicating a fair amount of confusion:

Index: bin/autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autom4te.in,v
retrieving revision 1.94
diff -b -B -u -p -r1.94 autom4te.in
--- bin/autom4te.in     3 Jan 2005 07:38:01 -0000       1.94
+++ bin/autom4te.in     30 Jan 2005 16:58:39 -0000
@@ -457,7 +457,7 @@ sub handle_m4 ($@)
   #
   # We don't output directly to the cache files, to avoid problems
   # when we are interrupted (that leaves corrupted files).
-  xsystem ("$m4"
+  my $cmd = "exec 8>&1 ; $m4"
           . join (' --include=', '', @include)
           . ' --debug=aflq'
           . (!exists $ENV{'AUTOM4TE_NO_FATAL'} ? ' --fatal-warning' : '')
@@ -465,7 +465,15 @@ sub handle_m4 ($@)
           . join (' --trace=',   '', sort @macro)
           . " " . files_to_options (@ARGV)
           . ' </dev/null'
-          . " >$ocache" . $req->id . "t");
+          . " >$ocache" . $req->id . . "t 2>&8";
+
+  my $msg = `$cmd`;
+  if ($? != 0)
+    {
+      error "The ''$m4 ...'' command failed, possibly because\n"
+       .  "the M4 state file was not built by the current m4 binary:\n$msg\n";
+      exit 1;
+    }

   # Everything went ok: preserve the outputs.
   foreach my $file (map { $_ . $req->id } ($tcache, $ocache))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]