Re: Bug in XFile.pm?

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

 



Hi Gary,

>>> "Gary" == Gary V Vaughan <gary@xxxxxxx> 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



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux