bug-automake
[Top][All Lists]
Advanced

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

Re: aclocal 1.8 APIVERSION perl 5.005


From: Alexandre Duret-Lutz
Subject: Re: aclocal 1.8 APIVERSION perl 5.005
Date: Thu, 25 Dec 2003 19:08:53 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "Kevin" == Kevin Ryde <address@hidden> writes:

 Kevin> Using automake 1.8 on an i386 freebsd 4.9 with perl 5.005_03 and
 Kevin> autoconf 2.59, I got an error from aclocal,

 Kevin> aclocal: couldn't open directory 
`/home/kevin/mp/usr-new/share/aclocal-': No such file or directory

 Kevin> It seems to have lost the APIVERSION from that directory.  Putting a
 Kevin> print of $APIVERSION into aclocal showed it being undefined.  I got
 Kevin> some joy from adding to Config.pm,

 Kevin> require Exporter;

 Kevin> But perl modules are a bit of a mystery to me, so maybe
 Kevin> something more is needed.

 Kevin> For what it's worth, perl 5.8.2 seems fine without this require, so
 Kevin> maybe it's older versions which are picky.

Thanks!  The missing `require Exporter' is clearly a copy/paste
mistake of mine.  I do neither know why it now work without.

I'm checking this in on HEAD and branch-1-8.

2003-12-25  Alexandre Duret-Lutz  <address@hidden>

        * lib/Automake/Config.in: Require Exporter.
        Report from Kevin Ryde (failure with Perl 5.005_03).

Index: lib/Automake/Config.in
===================================================================
RCS file: /cvs/automake/automake/lib/Automake/Config.in,v
retrieving revision 1.2
diff -u -r1.2 Config.in
--- lib/Automake/Config.in      9 Dec 2003 21:24:11 -0000       1.2
+++ lib/Automake/Config.in      25 Dec 2003 18:00:07 -0000
@@ -19,6 +19,7 @@
 package Automake::Config;
 use strict;
 
+require Exporter;
 use vars qw (@ISA @EXPORT);
 
 @ISA = qw (Exporter);


-- 
Alexandre Duret-Lutz





reply via email to

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