autoreconf misses ltmain.sh

2002-09-19 Thread Ralf Corsepius

Am Mit, 2002-09-18 um 23.23 schrieb Alexandre Duret-Lutz:

> Please SHOUT LOUD if your package works with Automake 1.6.3 but
> doesn't with 1.6d.

This bug has been present with previous versions of automake and
autoconf (IIRC, it also has been reported several times before). 

Anyway, it is still present with automake-1.6d, autoconf-2.54 and
libtool-1.4.2.

# ls
Makefile.am configure.ac  hello.c

# cat configure.ac
AC_PREREQ(2.54)
AC_INIT([lttest],[0.0])
AC_CONFIG_SRCDIR([hello.c])
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE
AC_PROG_CC
AM_PROG_LIBTOOL
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

# cat Makefile.am
noinst_LTLIBRARIES = libhello.la
libhello_la_SOURCES = hello.c

# autoreconf -f -i
autoreconf: `aclocal.m4' is created
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `..'.
autoreconf: `aclocal.m4' is unchanged
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
configure.ac:9: installing `./config.guess'
configure.ac:9: installing `./config.sub'
Makefile.am: installing `./COPYING'
Makefile.am: installing `./INSTALL'
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./README' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
Makefile.am: installing `./depcomp'
configure.ac:9: required file `./ltmain.sh' not found

# ls
COPYING  Makefile.in config.guess  configure.ac  install-sh
INSTALL  aclocal.m4  config.subdepcomp   missing
Makefile.am  autom4te.cache  configure hello.c   mkinstalldirs

=> ltmain.sh is missing

Consequently, subsequent configure+make runs fail:

# configure
[..]
# make
if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"lttest\"
-DPACKAGE_TARNAME=\"lttest\" -DPACKAGE_VERSION=\"0.0\"
-DPACKAGE_STRING=\"lttest\ 0.0\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"lttest\" -DVERSION=\"0.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1  -I. -I. -g -O2 -MT hello.lo -MD -MP -MF
".deps/hello.Tpo" \
  -c -o hello.lo `test -f 'hello.c' || echo './'`hello.c; \
then mv ".deps/hello.Tpo" ".deps/hello.Plo"; \
else rm -f ".deps/hello.Tpo"; exit 1; \
fi
./libtool: ./libtool: No such file or directory
make: *** [hello.lo] Error 1

Ralf




___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-19 Thread Alexandre Duret-Lutz

>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:

 Ralf> This bug has been present with previous versions of automake and
 Ralf> autoconf (IIRC, it also has been reported several times before). 

I think this is the same issue as
  http://mail.gnu.org/pipermail/libtool/2002-August/006640.html

-- 
Alexandre Duret-Lutz



___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-19 Thread Ralf Corsepius

Am Don, 2002-09-19 um 11.36 schrieb Alexandre Duret-Lutz:
> >>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:
> 
>  Ralf> This bug has been present with previous versions of automake and
>  Ralf> autoconf (IIRC, it also has been reported several times before). 
> 
> I think this is the same issue as
>   http://mail.gnu.org/pipermail/libtool/2002-August/006640.html

Following the link above points to this
http://mail.gnu.org/pipermail/libtool-patches/2002-January/001659.html

.. which seems to indicate that libtool is the culprit.
=> There doesn't exist any officially released version of libtool that
is usable with autoconf-2.54 and automake-1.7

.. still nobody wanting to care to fix it?

Ralf




___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-23 Thread Alexandre Duret-Lutz

>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:

[...]

 Ralf> http://mail.gnu.org/pipermail/libtool-patches/2002-January/001659.html

 Ralf> .. which seems to indicate that libtool is the culprit.
 Ralf> => There doesn't exist any officially released version of libtool that
 Ralf> is usable with autoconf-2.54 and automake-1.7

Not exactly: there is no release of Libtool that honors
AC_CONFIG_AUX_DIR in configure.*ac*.

 Ralf> .. still nobody wanting to care to fix it?

AFAICT it's fixed in CVS Libtool.
-- 
Alexandre Duret-Lutz



___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-23 Thread Ralf Corsepius

Am Mon, 2002-09-23 um 10.49 schrieb Alexandre Duret-Lutz:
> >>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
>  Ralf> http://mail.gnu.org/pipermail/libtool-patches/2002-January/001659.html
> 
>  Ralf> .. which seems to indicate that libtool is the culprit.
>  Ralf> => There doesn't exist any officially released version of libtool that
>  Ralf> is usable with autoconf-2.54 and automake-1.7
> 
> Not exactly: there is no release of Libtool that honors
> AC_CONFIG_AUX_DIR in configure.*ac*.
> 
>  Ralf> .. still nobody wanting to care to fix it?
> 
> AFAICT it's fixed in CVS Libtool.

We are talking about released SW rsp. to be released SW here.

The current situation is: libtool and autoreconf do not interact
together, rendering autoreconf entirely useless and unreliable in total
in many situations, no matter if libtool is the culprit or not.

Pointing users to cvs versions is acceptable as long a tool is in
development, however once a tool is release, this situation changes.
Read: Users will yell at autoconf, because _it_ can't deal with released
versions of libtool.

In my opinion it is prohibitive and stupid not to have a libtool release
that can properly interact with autoconf.

Ralf






___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-23 Thread Roger Leigh

Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes:

> >>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
>  Ralf> http://mail.gnu.org/pipermail/libtool-patches/2002-January/001659.html
> 
>  Ralf> .. which seems to indicate that libtool is the culprit.
>  Ralf> => There doesn't exist any officially released version of libtool that
>  Ralf> is usable with autoconf-2.54 and automake-1.7
> 
> Not exactly: there is no release of Libtool that honors
> AC_CONFIG_AUX_DIR in configure.*ac*.

It's sometime in January I sent the patch for that.  Is there no
chance of a bugfix release, given that the fix is trivial?  If you use
libtool and AC_CONFIG_AUX_DIR, you need to do ugly things like having
a configure.in symlink for libtoolize to use.

>  Ralf> .. still nobody wanting to care to fix it?
> 
> AFAICT it's fixed in CVS Libtool.

And in Debian.


-- 
Roger Leigh

"Liberty and Livelihood"
Support the Countryside Alliance
www.march-info.org


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-23 Thread Thomas Dickey

On Mon, Sep 23, 2002 at 12:23:34PM +0200, Ralf Corsepius wrote:
 
> In my opinion it is prohibitive and stupid not to have a libtool release
> that can properly interact with autoconf.

It's equally stupid to release a version of autoconf which cannot properly
interact with released versions of libtool.  (That's what engineering is
all about - the converse is just playing games).

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-23 Thread Bruce Korb

Thomas Dickey wrote:
> 
> > In my opinion it is prohibitive and stupid 
> 
> It's equally stupid to .

I think everyone knows that autoreconf is not ready for prime time.
>From someone who gets cranky when working code breaks because
someone thought I shouldn't do things that way, let me say this:
Don't use autoreconf.  Blow away your sources and rebootstrap.
That must work whether autoreconf does or not.  And volunteer
your project for the regression suite  :-)


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-24 Thread Akim Demaille


| Am Mon, 2002-09-23 um 10.49 schrieb Alexandre Duret-Lutz:
| > >>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes:
| > 
| > [...]
| > 
| >  Ralf> http://mail.gnu.org/pipermail/libtool-patches/2002-January/001659.html
| > 
| >  Ralf> .. which seems to indicate that libtool is the culprit.
| >  Ralf> => There doesn't exist any officially released version of libtool that
| >  Ralf> is usable with autoconf-2.54 and automake-1.7
| > 
| > Not exactly: there is no release of Libtool that honors
| > AC_CONFIG_AUX_DIR in configure.*ac*.
| > 
| >  Ralf> .. still nobody wanting to care to fix it?
| > 
| > AFAICT it's fixed in CVS Libtool.
| 
| We are talking about released SW rsp. to be released SW here.
| 
| The current situation is: libtool and autoreconf do not interact
| together, rendering autoreconf entirely useless and unreliable in total
| in many situations, no matter if libtool is the culprit or not.
| 
| Pointing users to cvs versions is acceptable as long a tool is in
| development, however once a tool is release, this situation changes.
| Read: Users will yell at autoconf, because _it_ can't deal with released
| versions of libtool.
| 
| In my opinion it is prohibitive and stupid not to have a libtool release
| that can properly interact with autoconf.

This is my opinion too, and I have regularly sent messages to the
Libtool lists, but without affect.  They are still in CC of these
messages, but without any answer.

So as was kindly suggested by TED, we should have autoreconf work
around Libtool problems.  I have not read all the details yet, but
does anybody know what we must do to cope with Libtool 1.4.2?  Or,
does anybody know when another Libtool will be released?


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-24 Thread Akim Demaille

> "Roger" == Roger Leigh <[EMAIL PROTECTED]> writes:

Ralf> .. still nobody wanting to care to fix it?
>> AFAICT it's fixed in CVS Libtool.

Roger> And in Debian.

Am I crazy suggesting that Debian Libtool be the next Libtool release?


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-24 Thread Paul Eggert

> From: Akim Demaille <[EMAIL PROTECTED]>
> Date: 24 Sep 2002 13:33:43 +0200
> 
> So as was kindly suggested by TED, we should have autoreconf work
> around Libtool problems.

I missed that suggestion somewhere in my mailbox (currently with 2035
messages to read, sigh); if you think it preferable to the patch
below, can you please send a URL?


> I have not read all the details yet, but does anybody know what we
> must do to cope with Libtool 1.4.2?

How about this patch to Autoconf?  It should let us limp along until a
new libtool version is published.  (In this patch I resisted the
temptation to append "Libtool?  Run away!  Run away!")

--- old/BUGS2002-03-26 08:14:37.0 -0800
+++ new/BUGS2002-09-24 06:35:04.496461535 -0700
@@ -38,3 +38,12 @@
 /*--.
 | Sane for full scale use.  |
 `--*/
+
+* Interoperability bugs
+
+** AC_CONFIG_AUX_DIR and libtool 1.4.2.
+
+Autoconf-generated scripts that use AC_CONFIG_AUX_DIR do not work with
+libtool 1.4.2.  Robert Boehne and Michael Matz have published a patch
+for libtool in:
+.


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-25 Thread Akim Demaille


| > I have not read all the details yet, but does anybody know what we
| > must do to cope with Libtool 1.4.2?
| 
| How about this patch to Autoconf?  It should let us limp along until a
| new libtool version is published.
| 
| --- old/BUGS  2002-03-26 08:14:37.0 -0800
| +++ new/BUGS  2002-09-24 06:35:04.496461535 -0700
| @@ -38,3 +38,12 @@
|  /*--.
|  | Sane for full scale use.  |
|  `--*/
| +
| +* Interoperability bugs
| +
| +** AC_CONFIG_AUX_DIR and libtool 1.4.2.
| +
| +Autoconf-generated scripts that use AC_CONFIG_AUX_DIR do not work with
| +libtool 1.4.2.  Robert Boehne and Michael Matz have published a patch
| +for libtool in:
| +.

Please, install!


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: autoreconf misses ltmain.sh

2002-09-25 Thread Paul Eggert

> From: Akim Demaille <[EMAIL PROTECTED]>
> Date: 25 Sep 2002 12:03:42 +0200
> 
> Please, install!

OK, done.  I did find some errors in my proposed text (it didn't give
the obvious workaround, and it credited the wrong people for the patch
-- ouch!), so I installed the following patch instead.


--- BUGS26 Mar 2002 16:16:51 -  1.22
+++ BUGS26 Sep 2002 06:16:44 -  1.23
@@ -38,3 +38,12 @@ address them.
 /*--.
 | Sane for full scale use.  |
 `--*/
+
+* Interoperability bugs
+
+** libtool 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR
+
+configure.ac files that use AC_CONFIG_AUX_DIR do not work with libtool
+1.4.2.  To work around the problem, you can rename configure.ac to
+configure.in.  Or you can apply Roger Leigh's patch to libtool; see
+.


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool