automake
[Top][All Lists]
Advanced

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

Re: installation error with automake 1.11 but not with 1.10


From: Vincent Torri
Subject: Re: installation error with automake 1.11 but not with 1.10
Date: Fri, 12 Jun 2009 09:09:44 +0200 (CEST)



On Fri, 12 Jun 2009, Ralf Wildenhues wrote:

* Vincent Torri wrote on Fri, Jun 12, 2009 at 08:44:59AM CEST:
* Vincent Torri wrote on Thu, Jun 11, 2009 at 11:30:14PM CEST:
test -z "/tmp/lib/eina/mp/" || /bin/mkdir -p "/tmp/lib/eina/mp/"
/bin/sh ../../../../libtool   --mode=install /usr/bin/install -c   
eina_chained_mempool.la '/tmp/lib/eina/mp/'
libtool: install: error: cannot install `eina_chained_mempool.la' to a 
directory not ending in /tmp/lib/eina/mp/

Ouch.  You've possibly found the first regression in Automake 1.11.
However, I cannot reproduce it with Libtool 2.2.6 nor with Libtool
1.5.26 (and I remember to have tried the faster install code with
these versions before the Automake 1.11 release).  So which libtool
version are you using here?

libtool git (2.2.7a)

Hmm, weird.

Note that there is no problem with a "standard" library. Would it be
possible that there is the bug because -module -avoid-version are
passed to libtool 2.2.7a, using automake 1.11 ?

Well, I'm trying almost exactly what you posted, and cannot see it.
Which Autoconf version are you using, and how exactly did you invoke
configure, make, and make install?  Maybe it's a problem with trailing
slashes.

autoconf 2.62
automake 1.11
libtool git

We use a script (name autogen.sh) to launch the autotools programs:

[code]

#!/bin/sh

rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh

echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1

if [ -z "$NOCONFIGURE" ]; then
        ./configure "$@"
fi

[/code]

After a 'make maintainer-clean' (no more generated files at all), I launch, successively:

./autogen.sh --prefix=$HOME/local/e17
make
make install

Then I get:

make[4]: entrant dans le répertoire « 
/home/torri/tmp/svnroot/e17/libs/eina/src/modules/mp/chained_pool »
make[5]: entrant dans le répertoire « 
/home/torri/tmp/svnroot/e17/libs/eina/src/modules/mp/chained_pool »
make[5]: Rien à faire pour « install-exec-am ».
test -z "/home/torri/local/e17/lib/eina/mp/" || /bin/mkdir -p 
"/home/torri/local/e17/lib/eina/mp/"
 /bin/sh ../../../../libtool   --mode=install /usr/bin/install -c   
eina_chained_mempool.la '/home/torri/local/e17/lib/eina/mp/'
libtool: install: error: cannot install `eina_chained_mempool.la' to a 
directory not ending in /home/torri/local/e17/lib/eina/mp/
make[5]: *** [install-controllerLTLIBRARIES] Erreur 1


If you want to try the library:

svn co https://svn.enlightenment.org/svn/e/trunk/eina

There is no dependency.

Vincent Torri

reply via email to

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