autoconf
[Top][All Lists]
Advanced

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

Re: Bug in XFile.pm?


From: Alexandre Duret-Lutz
Subject: Re: Bug in XFile.pm?
Date: Mon, 01 Nov 2004 17:01:09 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Hi Gary,

>>> "Gary" == Gary V Vaughan <address@hidden> writes:

 Gary> While trying to autoconfiscate zlib-1.2.2 on a Linux
 Gary> RHEL3 box, I keep seeing the following error from
 Gary> aclocal, automake and autoconf during bootstrap:

 Gary> Use of uninitialized value in concatenation (.) or string at
 Gary> /opt/TWWfsw/autoconf25/share/Autom4te/XFile.pm line 229.

 Gary> XFile.pm hasn't changed in CVS autoconf vs the erroring file.

Could you try this?

--- XFile.pm    23 Oct 2003 14:29:22 -0000      1.8
+++ XFile.pm    1 Nov 2004 15:56:59 -0000
@@ -228,7 +228,8 @@
   # Admittedly this is a bit of a hack.
   if (!flock ($fh, $mode)
       && (!$!{ENOLCK}
-         || " -$ENV{'MAKEFLAGS'}" =~ / (-[BdeikrRsSw]*j|---?jobs)/))
+         || (exists $ENV{'MAKEFLAGS'}
+             && " -$ENV{'MAKEFLAGS'}" =~ / (-[BdeikrRsSw]*j|---?jobs)/)))
     {
       my $file = $fh->name;
       fatal "cannot lock $file with mode $mode (perhaps you are running make 
-j on a lame NFS client?): $!";

[...]

 Gary> + automake --force --copy --add-missing
 Gary> Use of uninitialized value in concatenation (.) or string at
 Gary> /opt/TWWfsw/autoconf25/share/Autom4te/XFile.pm line 229.
 Gary> + aclocal -I /opt/TWWfsw/libtool15/share/aclocal
 Gary> Use of uninitialized value in concatenation (.) or string at
 Gary> /opt/TWWfsw/autoconf25/share/Autom4te/XFile.pm line 229.
 Gary> + autoconf
 Gary> Use of uninitialized value in concatenation (.) or string at
 Gary> /opt/TWWfsw/autoconf25/share/Autom4te/XFile.pm line 229.
 Gary> + exit 0

Running automake before aclocal is a mistake.
-- 
Alexandre Duret-Lutz





reply via email to

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