[cairo-bugs] [Bug 16496] New: Failing run autogen.sh with new autoconf and libtool

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 24 06:13:27 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=16496

           Summary: Failing run autogen.sh with new autoconf and libtool
           Product: cairo
           Version: 1.6.5
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Keywords: notourbug
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: LoMoVP at yandex.ru
         QAContact: cairo-bugs at cairographics.org


Hi there.

I use cairo-git. Some time ago I upgrade system autoconf and libtool to 2.62
and 2.24 versions respectively (I need them to compile freetype2-cvs :)). But
after that I cannot run autogen.sh:
================================== Log ========================================
using autoconf for autoconf
checking for automake >= 1.8...
  testing automake... found 1.10.1
using libtoolize for libtool
./autogen.sh:   Note: `./configure' will be run with no arguments.
                If you wish to pass any to it, please specify them on the
                `./autogen.sh' command line.

./autogen.sh: running `libtoolize --copy --force'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
./autogen.sh: running `aclocal'
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/nspr.m4:8:   run info '(automake)Extending aclocal'
/usr/share/aclocal/nspr.m4:8:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
./autogen.sh: running `autoheader'
./autogen.sh: running `automake --add-missing --foreign'
configure.in:64: installing `./config.guess'
configure.in:64: installing `./config.sub'
configure.in:22: installing `./install-sh'
configure.in:22: installing `./missing'
boilerplate/Makefile.am: installing `./depcomp'
./autogen.sh: running `autoconf'
configure.in:29: error: possibly undefined macro: LT_CURRENT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:33: error: possibly undefined macro: LT_REVISION
configure.in:38: error: possibly undefined macro: LT_AGE
================================== Log ========================================
I added
m4_pattern_allow([[LT_]+])
into configure.in but then I stuck on
===========================================================================
[...]
configure: updating cache config.cache
configure: error: conditional "am__fastdepCXX" was never defined.
Usually this means the macro was only invoked conditionally.
===========================================================================
I think something changed in autoconf-automake-libtool bundle (versions: 2.62,
1.10.1, 2.2.4) then autogen.sh can help to warning about not supported version
of auto* - libtool.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list