[Top][All Lists]

[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 23:20:25 +0000
User-agent: Thunderbird (Windows/20080708)

On 2008-09-20 22:41Z, Vadim Zeitlin wrote:
> On Sat, 20 Sep 2008 21:58:40 +0000 Greg Chicares <address@hidden> wrote:
> GC> Is it wrong to map aclocal to an automake wrapper?
>  Looking at am-wrapper.sh (found somewhere on the web so it might be a
> different version from the one you have but the idea is surely the same),
> it simply executes the file called "$0-$version" where version defaults to
> 1.10 but may be 1.9 or before in some cases.

This script says:

# Based on the am-wrapper.pl script provided by MandrakeSoft
# Rewritten in bash by Gregorio Guidi

but it does seem to run "$0-$version" in effect:

vers="1.10 1.9 1.8 1.7 1.6 1.5 1.4"

for v in ${vers} ; do
        eval binary_${v/./_}="${0}-${v}"

> So it should still end up by
> executing /usr/bin/aclocal-1.10. Is it there?

$whence aclocal-1.10

$ls -o /usr/bin/aclocal-1.10
-rwxr-x---+ 1 chicares 31139 Feb 19  2008 /usr/bin/aclocal-1.10

> I guess there might be a
> problem if it were not available, but it seems unlikely. If it is there I
> have no ideas about what could be wrong right now but could I ask you to
> run "aclocal-1.10 -I $wx" manually in the LMI directory and see if it
> outputs any errors or warnings please?

$cd /lmi/src/lmi

$export wx=/opt/lmi/wx-scratch/wxWidgets-2.8.7
$export ACLOCAL_AMFLAGS="-I $wx"
$ls -d $wx

$aclocal-1.10 -I $wx
$echo $?

>  I'll try to install this 1.10.1 version here to test it too (I see that it
> is available as a choice in Cygwin setup) a.s.a.p. For now I just tested
> with automake 1.10 and it worked without any problems. So an alternative
> could be to downgrade your Cygwin automake to 1.10 (it is called 1.10-1 in
> setup, not to be confused with 1.10.1-0 which is your version).

I'll try that.

reply via email to

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