automake error
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.
Thank you for the workaround! Other guy had the same problem and we didn't get to fix it, I'll try this with him and I'll update the website ASAP.
2014-04-26 16:04 GMT+02:00 Michael Ossmann [email protected]:
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.
— Reply to this email directly or view it on GitHubhttps://github.com/BatchDrake/vix/issues/3 .
Gonzalo José Carracedo Carballal
Just another datapoint: automake 1.14.1/autoconf 2.69. Same problem as above. 'autoreconf -vi' worked.
Tested here aswell and it worked seamlessly, I updated the project's site with this information, thank you both.