configure error with LIBTOOL
I got those message, when I configure servo.
configure: complete
configure:
Running aclocal -I m4
configure.ac:71: warning: macro 'AM_PROG_LIBTOOL' not found in library
Running autoheader
Running libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running automake -a
configure.ac:657: installing './config.guess'
configure.ac:657: installing './config.sub'
configure.ac:37: installing './install-sh'
configure.ac:37: installing './missing'
Makefile.am:93: warning: subst $(BASECONFIGDIR: non-POSIX variable name
Makefile.am:93: (probably a GNU make extension)
doc/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
src/Makefile.am:162: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:162: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:162: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:162: If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:162: its definition is in aclocal's search path.
And those are my environments.
Autoconf version 2.13 , libtool (GNU libtool) 2.4.2 , aclocal (GNU automake) 1.13.4
Os version
NAME="Ubuntu"
VERSION="12.10, Quantal Quetzal"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu quantal (12.10)"
VERSION_ID="12.10"
You may want to try installing a more recent version of autoconf like 2.69 as well (2.13 and 2.69 are separate packages that can be installed simultaneously without problems).
If I install only autoconf version 2.64, I get an error like that I don't have autoconf 2.13. :( I also tried to configure with autoconf version like 2.64. But still has a problem :( I tested it another PC which has autoconf version is 2.13. The configuration is fine in that. That OS is ubuntu 13.04. I don't know what the difference is.
I fixed it. The problem was with automake version.
http://petio.org/tools/automake.html Since I changed automake version 1.13.x to 1.11.x, The configuration is fine now.