Skip to content

automake error #3

@mossmann

Description

@mossmann

The web site (http://actinid.org/vix/) says to use automake --add-missing which told me:

$ automake --add-missing
automake-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
configure.in:25: installing './install-sh'
automake-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
sim-static/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
sim-static/Makefile.am:1:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
sim-static/Makefile.am:1:   to 'configure.in' and run 'aclocal' and 'autoconf' again.
sim-static/Makefile.am:1:   If 'LT_INIT' is in 'configure.in', make sure
sim-static/Makefile.am:1:   its definition is in aclocal's search path.
sim-static/Makefile.am: installing './depcomp'
/usr/share/automake-1.13/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.13/am/depend2.am:   to 'configure.in' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.13/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.13/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.13/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.13/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.13/am/depend2.am:   to 'configure.in' and run 'aclocal' and 'autoconf' again
simtk/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
simtk/Makefile.am:1:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
simtk/Makefile.am:1:   to 'configure.in' and run 'aclocal' and 'autoconf' again.
simtk/Makefile.am:1:   If 'LT_INIT' is in 'configure.in', make sure
simtk/Makefile.am:1:   its definition is in aclocal's search path.
configure.in:8: error: required file 'src/config.h.in' not found
src/Makefile.am:10: warning: compiling 'main.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.in'
util/Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
util/Makefile.am:3:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
util/Makefile.am:3:   to 'configure.in' and run 'aclocal' and 'autoconf' again.
util/Makefile.am:3:   If 'LT_INIT' is in 'configure.in', make sure
util/Makefile.am:3:   its definition is in aclocal's search path.

I'm no autotools expert, but I was able to work around this by running autoreconf -vfi. Everything seems to work fine that way.

I'm on Gentoo with automake 1.13.4 and autoconf 2.69.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions