autogen.sh throws LIBTOOOL error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

Note: configure.ac is attached.

Any response is welcome.

Regards,
Prashant
-- 
View this message in context: http://old.nabble.com/autogen.sh-throws-LIBTOOOL-error-tp33886956p33886956.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux