[Top][All Lists]

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

Re: aclocal not looking into /usr/local/

From: Eric Blake
Subject: Re: aclocal not looking into /usr/local/
Date: Thu, 10 Feb 2011 12:56:48 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/09/2011 03:46 PM, Hans Aberg wrote:
> [I am not on this list, so please cc me.]
> On Mac OS X 10.6.6, I have:
>  $ /usr/bin/autoconf --version
>  autoconf (GNU Autoconf) 2.61
> This comes with the system.
>  $ /usr/local/bin/autoconf --version
>  autoconf (GNU Autoconf) 2.68 
> The latter was installed by ./configure && make.

However, that did NOT install aclocal, which is part of the automake

> When running the ./autogen.sh script on Guile from GIT, which calls
>   autoreconf -i --force --verbose
> aclocal does not look into /usr/local/.

Because autoreconf is still invoking the only aclocal it can find, which
happens to be the one in /usr rather than /usr/local.

> I have to rename /usr/share/aclocal and replace it by a soft link to

Or you could install automake into the same location as autoconf.

> In addition, adding to autoreconf the argument -B /usr/local/share/aclocal, 
> it is not passed on to aclocal.

aclocal doesn't understand -B, so autoreconf doesn't pass it on to
aclocal (although getting aclocal to learn -B needs to be resolved on
the automake list first before we worry about teaching autoreconf in the
autoconf package about honoring it).

Can you get by with the -I option instead?

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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