autoconf
[Top][All Lists]
Advanced

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

Re: [BUG] autoreconf calls libtoolize too late


From: Gary V. Vaughan
Subject: Re: [BUG] autoreconf calls libtoolize too late
Date: Thu, 17 Jun 2004 13:23:09 +0100
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Alexandre Duret-Lutz wrote:
> On Thu, Jun 17, 2004 at 09:09:28AM +0100, Gary V. Vaughan wrote:
> > In my current testing with HEAD autoconf, I notice that autoreconf
> > calls autopoint (because it installs m4 files for aclocal), then
> > aclocal, and *then* libtoolize.  Presumably this is because for a
> > while libtoolize tried to run aclocal itself and then do a trace to
> > see whether macros were needed.
> 
> AFAICT it's an old behavior.
> 
> 2001-11-08  Akim Demaille  <address@hidden>
> 
>         * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
>         that we can trace macros from aclocal.m4.
>         Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
>         obsoleted, and redirect to the former anyway.
>         Reported by Ralf Corsepius.
>
> What are these problems?

That I can't bootstrap CVS m4 :-(

I'm having a number of problems due to changes in the autotools since I
was last hacking on m4,  On closer examination, where I had thought
that one of them was aclocal.m4 not picking up the in-tree libtool m4
macro files, it seems that autoreconf does indeed do a silent rerun of
aclocal after libtoolizing (see lines highlighed ">>>>>" below).

I'll retract my bug report :-)  However, I'd like to see autoreconf report
the currently silent aclocal run in the next autoconf release.

Cheers,
        Gary.

] tla get address@hidden/m4--devo--1.0 m4-bootstrap-bug
* from pristine cache: address@hidden/m4--devo--1.0--patch-1
* making pristine copy
* tree version set address@hidden/m4--devo--1.0
] cd m4-bootstrap-bug/gnulib/
] rm m4/gnulib.am
] ./import --verbose
import: extracting required module names
import: calculating module dependencies
import: updating gnulib files
import: extracting make fragments
import: creating... ./m4/gnulib.am
import: extracting autoconf fragments
] cd ..
] libtoolize --ltdl --force --copy
libtoolize: copying file `libltdl/COPYING.LIB'
libtoolize: copying file `libltdl/Makefile.am'
libtoolize: copying file `libltdl/README'
libtoolize: copying file `libltdl/argz.c'
libtoolize: copying file `libltdl/argz_.h'
libtoolize: copying file `libltdl/configure.ac'
libtoolize: copying file `libltdl/loader-dld_link.c'
libtoolize: copying file `libltdl/loader-dlopen.c'
libtoolize: copying file `libltdl/loader-dyld.c'
libtoolize: copying file `libltdl/loader-load_add_on.c'
libtoolize: copying file `libltdl/loader-loadlibrary.c'
libtoolize: copying file `libltdl/loader-preopen.c'
libtoolize: copying file `libltdl/loader-shl_load.c'
libtoolize: copying file `libltdl/lt__alloc.c'
libtoolize: copying file `libltdl/lt__alloc.h'
libtoolize: copying file `libltdl/lt__dirent.c'
libtoolize: copying file `libltdl/lt__dirent.h'
libtoolize: copying file `libltdl/lt__glibc.h'
libtoolize: copying file `libltdl/lt__private.h'
libtoolize: copying file `libltdl/lt_dlloader.h'
libtoolize: copying file `libltdl/lt_error.c'
libtoolize: copying file `libltdl/lt_error.h'
libtoolize: copying file `libltdl/lt_system.h'
libtoolize: copying file `libltdl/ltdl.c'
libtoolize: copying file `libltdl/ltdl.h'
libtoolize: putting files in AC_CONFIG_AUX_DIR, `gnulib/config'.
libtoolize: copying file `gnulib/config/config.guess'
libtoolize: copying file `gnulib/config/config.sub'
libtoolize: copying file `gnulib/config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `gnulib/acm4'.
libtoolize: copying file `gnulib/acm4/libtool.m4'
libtoolize: copying file `gnulib/acm4/ltdl.m4'
libtoolize: copying file `gnulib/acm4/argz.m4'
libtoolize: copying file `gnulib/acm4/ltoptions.m4'
libtoolize: copying file `gnulib/acm4/ltsugar.m4'
libtoolize: copying file `gnulib/acm4/ltversion.m4'
] ./bootstrap
+ autoreconf -f -v -i
autoreconf: Entering directory `.'
>>>>>autoreconf: running: autopoint --force
Copying file ABOUT-NLS
Copying file gnulib/config/config.rpath
Copying file gnulib/acm4/gettext.m4
Copying file gnulib/acm4/glibc21.m4
Copying file gnulib/acm4/intmax.m4
Copying file gnulib/acm4/inttypes_h.m4
Copying file gnulib/acm4/longlong.m4
Copying file gnulib/acm4/stdint_h.m4
Copying file gnulib/acm4/uintmax_t.m4
Copying file gnulib/acm4/ulonglong.m4
Copying file gnulib/acm4/xsize.m4
Copying file gnulib/config/mkinstalldirs
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/address@hidden
Copying file po/address@hidden
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
>>>>>autoreconf: running: aclocal --force -I gnulib/acm4 -I acm4
>>>>>autoreconf: configure.ac: tracing
>>>>>autoreconf: running: libtoolize --copy --force
libtoolize: putting files in AC_CONFIG_AUX_DIR, `gnulib/config'.
libtoolize: copying file `gnulib/config/config.guess'
libtoolize: copying file `gnulib/config/config.sub'
libtoolize: copying file `gnulib/config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `gnulib/acm4'.
libtoolize: copying file `gnulib/acm4/libtool.m4'
libtoolize: copying file `gnulib/acm4/ltdl.m4'
libtoolize: copying file `gnulib/acm4/argz.m4'
libtoolize: copying file `gnulib/acm4/ltoptions.m4'
libtoolize: copying file `gnulib/acm4/ltsugar.m4'
libtoolize: copying file `gnulib/acm4/ltversion.m4'
>>>>>autoreconf: running: /usr/local/bin/autoconf --force
>>>>>autoreconf: running: /usr/local/bin/autoheader --force
>>>>>autoreconf: running: automake --add-missing --copy --force-missing
configure.ac: installing `gnulib/config/install-sh'
configure.ac: installing `gnulib/config/missing'
doc/Makefile.am:19: installing `gnulib/config/mdate-sh'
doc/Makefile.am:19: installing `gnulib/config/texinfo.tex'
configure.ac:295: required file `gnulib/m4/argz.c' not found
configure.ac:295: required file `gnulib/m4/loader-loadlibrary.c' not found
configure.ac:295: required file `gnulib/m4/loader-dld_link.c' not found
configure.ac:295: required file `gnulib/m4/loader-shl_load.c' not found
configure.ac:295: required file `gnulib/m4/loader-dlopen.c' not found
configure.ac:295: required file `gnulib/m4/lt__dirent.c' not found
configure.ac:295: required file `gnulib/m4/loader-dyld.c' not found
configure.ac:295: required file `gnulib/m4/loader-load_add_on.c' not found
gnulib/m4/Makefile.am: installing `gnulib/config/depcomp'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
autoreconf: automake failed with exit status: 1
+ cd tests
+ awk -f ./generate.awk ../doc/m4.texinfo
+ exit 0

-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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