rudimeier / twsapi

portable C++ API for Interactive Brokers TWS
126 stars 69 forks source link

autoconf -vfi fails #4

Closed wooosh-zz closed 10 years ago

wooosh-zz commented 10 years ago

Hi,

I was trying to build your project. This is what I get, when I run autoconf -vfi. Any hints on what I'm doing wrong? kai@hh-soft5:~/tmp/ibapi$ autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing PosixSocketClient/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined PosixSocketClient/Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INIT' PosixSocketClient/Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' again. PosixSocketClient/Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure PosixSocketClient/Makefile.am:6: its definition is in aclocal's search path. autoreconf: automake failed with exit status: 1

rudimeier commented 10 years ago

Which version is you autoconf? Maybe it's too old and does not know the LT_INIT macro so it forgets to call libtoolize.

Alternatively you could try to run all the autotools manually instead of autoreconf: aclocal --force -I m4 libtoolize --copy --force autoconf --force autoheader --force automake --add-missing --copy --force-missing

wooosh-zz commented 10 years ago

Thanks for your input. I did not have libtool installed...