On Tue, May 22, 2012 at 7:59 AM, del_pras <prashant.kumar@xxxxxxxxxx> wrote: > > Hello, > I am trying to build connman (connection manager) package using autotools. > Below error is coming when i run the command : "sh ./autogen.sh" > ====================================================================== > user@ubuntu:/mnt/hgfs/x_drive/connman-test/connman-1.0$ sh ./autogen.sh > Preparing the connman build system...please wait > > Found GNU Autoconf version 2.68 > Found GNU Automake version 1.12 > Found GNU Libtool version 2.2.6b > > Automatically preparing build ... Warning: autoreconf failed > Attempting to run the preparation steps individually > > Preparing build ... > Warning: autoconf seems to have succeeded by removing the following options: > AUTOCONF_OPTIONS="-f" > > Removing those options should not be necessary and indicate some other > problem with the build system. The build preparation is highly suspect > and may result in configuration or compilation errors. Consider > rerunning the build preparation with verbose output enabled. > ./autogen.sh --verbose > > Continuing build preparation ... Makefile.am:50: error: Libtool library used > but http://old.nabble.com/file/p33886956/configure.ac configure.ac > 'LIBTOOL' is undefined > Makefile.am:50: The usual way to define 'LIBTOOL' is to add 'LT_INIT' > Makefile.am:50: to 'configure.ac' and run 'aclocal' and 'autoconf' again. > Makefile.am:50: If 'LT_INIT' is in 'configure.ac', make sure > Makefile.am:50: its definition is in aclocal's search path. > ERROR: automake failed > ======================================================================= > 1. I don't understant when autoreconf is already installed, why this error. > 2. HOW to define LIBTOOL in configure.ac (i am new to linux and autools) as the message says, you must call LT_INIT in configure.ac : http://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT > Note: configure.ac is attached. i don't see it :) Vincent Torri _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf