automake
[Top][All Lists]
Advanced

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

autoreconf misses ltmain.sh


From: Ralf Corsepius
Subject: autoreconf misses ltmain.sh
Date: 19 Sep 2002 09:46:01 +0200

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.sub    depcomp       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






reply via email to

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