libtool
[Top][All Lists]
Advanced

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

Re: Trouble upgrading to 2.2.6a


From: Alberto Luaces
Subject: Re: Trouble upgrading to 2.2.6a
Date: Tue, 8 Sep 2009 16:52:09 +0200
User-agent: KMail/1.11.4 (Linux/2.6.30-1-amd64; KDE/4.2.4; x86_64; ; )

Hi Bob,

On Martes, 8 de Septiembre de 2009 04:20:15 Bob Friesenhahn escribió:
> >>> I have searched on the web and it seems that the problem is a mismatch
> >>> with the libtool templates. However, I haven't been able to find any
> >>> outdated template on my system:
> >>
> >> The outdated templates or files may be in your source tree.
> >
> > The only files present in my source tree are those three that I sent. Can
> > any of the Autotools look in parent directories?
>
> Autotools only look in their own installation trees, or in the source
> tree at Makefile.am and below.  Never above.  Pay attention to any
> extra path information passed to aclocal.

In fact, after a lot of tests I found quite the contrary, but it can also be a 
bug. I ended uninstalling the autotools from Debian, in case they had left any 
older file from previous versions and compiling autoconf, automake and libtool 
from the git repositories. The behavior was the same, after the "autoreconf -
vfi", no ltmain.sh was copied into the directory.

I followed the strace of libtoolize on two different located source trees and 
found that this program looks for install.sh or install-sh in the parent and 
the grandparent directory. Here are two straces, one from a source tree with a 
install-sh in its grandparent directory and another which does not:

=========[with]==================

stat("./install-sh", 0x7fffa4d70780)    = -1 ENOENT (No such file or 
directory)
stat("./install.sh", 0x7fffa4d70750)    = -1 ENOENT (No such file or 
directory)
stat("../install-sh", 0x7fffa4d70780)   = -1 ENOENT (No such file or 
directory)
stat("../install.sh", 0x7fffa4d70750)   = -1 ENOENT (No such file or 
directory)
stat("../../install-sh", {st_mode=S_IFREG|0755, st_size=13663, ...}) = 0

=========[with]==================

=========[without]================

stat("./install-sh", 0x7fff04083cf0)    = -1 ENOENT (No such file or 
directory)
stat("./install.sh", 0x7fff04083cc0)    = -1 ENOENT (No such file or 
directory)
stat("../install-sh", 0x7fff04083cf0)   = -1 ENOENT (No such file or 
directory)
stat("../install.sh", 0x7fff04083cc0)   = -1 ENOENT (No such file or 
directory)
stat("../../install-sh", 0x7fff04083cf0) = -1 ENOENT (No such file or 
directory)
stat("../../install.sh", 0x7fff04083cc0) = -1 ENOENT (No such file or 
directory)

=========[without]================

If those files are not found, everything works well. If one of them is, then 
no ltmain.sh is copied and the building system is messed up.

I don't know Autotools internals, so I don't know if I should file a bug or if 
it is my mistake...

Alberto





reply via email to

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