lmi
[Top][All Lists]
Advanced

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

Re: [lmi] How to build lmi from source on GNU/Linux


From: Greg Chicares
Subject: Re: [lmi] How to build lmi from source on GNU/Linux
Date: Sat, 20 Sep 2008 21:58:40 +0000
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

On 2008-09-20 15:19Z, Vadim Zeitlin wrote:
> On Sat, 20 Sep 2008 14:06:23 +0000 Greg Chicares <address@hidden> wrote:
> GC> 
> GC> $cd /lmi/src/lmi
> GC> $./autogen.sh
> GC> Setting up build system for lmi:
> GC>  - aclocal
> GC>  - libtoolize
> GC>  - autoconf
> GC> configure.ac:82: error: possibly undefined macro: AC_MSG_ERROR
> ...
> GC> The most common response to questions like this
> GC>   http://www.google.com/search?q="possibly+undefined+macro+AC_MSG_ERROR";
> GC> seems to suggest a version conflict.
> 
>  This was exactly my thought even before I read your message to the end. I
> think README.auto fails to mention that you must also have aclocal of the
> same version as automake. So what does "aclocal --version | head -n 1"
> return on your system?

$aclocal --version | head -n 1
aclocal (GNU automake) 1.10.1

$automake --version | head --lines=1
automake (GNU automake) 1.10.1

So I guess we want the same version of two different programs,
but perhaps I've got the same version of...the same program?

> But the important thing is that aclocal link points to the version of
> aclocal matching automake used:
> 
> % ls -o /etc/alternatives/a*
> lrwxrwxrwx 1 zeitlin 20 Mar 30  2007 /etc/alternatives/aclocal -> 
> /usr/bin/aclocal-1.9
> lrwxrwxrwx 1 zeitlin 21 Mar 30  2007 /etc/alternatives/automake -> 
> /usr/bin/automake-1.9
> lrwxrwxrwx 1 zeitlin 35 Mar 30  2007 /etc/alternatives/automake-info -> 
> /usr/share/info/automake1.9.info.gz
> 
> Is it the same on your system?

/opt/lmi/stuff[0]$ls -o /etc/alternatives/a*
lrwxrwxrwx 1 chicares 34 Apr  5 01:47 /etc/alternatives/aclocal -> 
/usr/share/autotools/am-wrapper.sh
lrwxrwxrwx 1 chicares 34 Apr  5 01:47 /etc/alternatives/automake -> 
/usr/share/autotools/am-wrapper.sh

I guess that means that both point to the same script. It's a
135-line bash script, apparently taken from gentoo, and it
says in part:

# Executes the correct automake version.
#
# - defaults to automake-1.10

Is it wrong to map aclocal to an automake wrapper?




reply via email to

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