automake
[Top][All Lists]
Advanced

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

Re: aclocal only picking up /usr/local/share and not /usr/share


From: Stefano Lattarini
Subject: Re: aclocal only picking up /usr/local/share and not /usr/share
Date: Thu, 17 Mar 2011 11:17:09 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

[adding automake-patches]

On Thursday 17 March 2011, Maynard Johnson wrote:
> Hello,
> I have installed a version of aclocal into /usr/local that's newer
> than my distro's version (I needed a fix from the newer version).
> But then I ran into a problem recently where the build of some
> package was failing because aclocal was not finding the pkgcfg.m4
> file in /usr/share/aclocal.
> I created a dirlist in /usr/local/share/aclocal and added
> /usr/share/aclocal to it. That did indeed resolve the problem.
> But is that the best way to resolve this problem?
>
IMO, if you have control on the installation of the aclocal you are
using, this is the right fix (and the one I'd suggest and use in your
situation).

> Maybe this is documented somewhere,
>
Yep:
 <http://www.gnu.org/software/automake/manual/html_node/Macro-Search-Path.html>

If you think that's not clear enough, remember that suggestions and
costructive criticism are always welcome!

But then I have to say, the page above is admittetdly not easy to find,
being indexed with the incompete title "Scanning configure.ac or
configure.in".  Ralf, what about the attached patch (for maint)?
Maynard, are you OK with being added to the THANKS file?

> and I just didn't see it, but it took me longer than I care to
> admit to resolve this.  Seems like it could be a fairly common
> problem.  Have others solved it in a more clever way rather
> than telling system owners they need to create a new dirlist
> if they've installed aclocal in a non-standard location?
>
Well, you could always resort to adding proper `-I' option to
you aclocal calls.  Also, in the next automake release, aclocal
will probably support a new 'ACLOCAL_PATH' environment variable
that would help solving this kind of problems

Regards,
  Stefano
From ac2164b4ee0cd5c31592e0436775b8a2461d8121 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Thu, 17 Mar 2011 11:13:29 +0100
Subject: [PATCH] docs: better visibility for aclocal in the index

* doc/automake.texi (@menu): Rename title for entry 'configure'
from "Scanning configure.ac or configure.in" to the more precise
"Scanning configure.ac, using aclocal".
(@detailmenu): Adjust.
(@node configure): Adjust, and extend @cindex calls accordingly.
* THANKS: Update.

From a report by Maynard Johnson.
---
 ChangeLog         |   11 +++++++++++
 THANKS            |    1 +
 doc/automake.texi |    8 +++++---
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 804fae6..376bb14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-03-17  Stefano Lattarini  <address@hidden>
+
+       docs: better visibility for aclocal in the index
+       * doc/automake.texi (@menu): Rename title for entry 'configure'
+       from "Scanning configure.ac or configure.in" to the more precise
+       "Scanning configure.ac, using aclocal".
+       (@detailmenu): Adjust.
+       (@node configure): Adjust, and extend @cindex calls accordingly.
+       * THANKS: Update.
+       From a report by Maynard Johnson.
+
 2011-03-04  Stefano Lattarini  <address@hidden>
 
        tests: fix bug in alloca*.test
diff --git a/THANKS b/THANKS
index 60af1ee..720cddd 100644
--- a/THANKS
+++ b/THANKS
@@ -223,6 +223,7 @@ Matthias Andree             address@hidden
 Matthias Clasen                address@hidden
 Matthias Klose         address@hidden
 Maxim Sinev            address@hidden
+Maynard Johnson                address@hidden
 Merijn de Jonge                address@hidden
 Michael Brantley       address@hidden
 Michael Ploujnikov     address@hidden
diff --git a/doc/automake.texi b/doc/automake.texi
index b6fc4ab..3c4bddd 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -102,7 +102,7 @@ section entitled ``GNU Free Documentation License.''
 * Generalities::                General ideas
 * Examples::                    Some example packages
 * Invoking Automake::           Creating a Makefile.in
-* configure::                   Scanning configure.ac or configure.in
+* configure::                   Scanning configure.ac, using aclocal
 * Directories::                 Declaring subdirectories
 * Programs::                    Building programs and libraries
 * Other Objects::               Other derived objects
@@ -175,7 +175,7 @@ Some example packages
 * Complete::                    A simple example, start to finish
 * true::                        Building true and false
 
-Scanning @file{configure.ac}
+Scanning @file{configure.ac}, using @command{aclocal}
 
 * Requirements::                Configuration requirements
 * Optional::                    Other things Automake recognizes
@@ -2691,10 +2691,12 @@ concurrently.  This is an experimental feature.
 
 
 @node configure
address@hidden Scanning @file{configure.ac}
address@hidden Scanning @file{configure.ac}, using @command{aclocal}
 
 @cindex @file{configure.ac}, scanning
 @cindex Scanning @file{configure.ac}
address@hidden Using @command{aclocal}
address@hidden @command{aclocal}, using
 
 Automake scans the package's @file{configure.ac} to determine certain
 information about the package.  Some @command{autoconf} macros are required
-- 
1.7.2.3


reply via email to

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