nevihs
nevihs

Reputation: 1051

Unable to install ODBC driver C++ in Apache Ignite

I am installing ODBC driver on Centros 6.3, IGNITE_HOME is path/target/release-package , autoconf and automake is installed.

Manually executing this command libtoolize && aclocal && autoheader && automake --add-missing && autoreconf creates configure file.

This (automake) should generate Makefile.in file.

running ./configure --enable-odbc --disable-node --disable-core

Makefile.in is not generated.

Error:

./configure --enable-odbc --disable-node --disable-core checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... rm: cannot remove core': Is a directory yes checking whether gcc accepts -g... rm: cannot removecore': Is a directory yes checking for gcc option to accept ISO C89... rm: cannot remove `core': Is a directory none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E

autoconf file: root@hostname cpp]# automake configure.ac:39: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... configure.ac:39: the top level configure.ac:39: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... configure.ac:39: the top level /usr/share/automake-1.11/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am: The usual way to define am__fastdepCXX' is to addAC_PROG_CXX' /usr/share/automake-1.11/am/depend2.am: to configure.ac' and runaclocal' and autoconf' again. binary/Makefile.am: C++ source seen butCXX' is undefined binary/Makefile.am: The usual way to define CXX' is to addAC_PROG_CXX' binary/Makefile.am: to configure.ac' and runautoconf' again. common/Makefile.am: C++ source seen but CXX' is undefined common/Makefile.am: The usual way to defineCXX' is to add AC_PROG_CXX' common/Makefile.am: toconfigure.ac' and run autoconf' again. core/Makefile.am: C++ source seen butCXX' is undefined core/Makefile.am: The usual way to define CXX' is to addAC_PROG_CXX' core/Makefile.am: to configure.ac' and runautoconf' again. ignite/Makefile.am: C++ source seen but CXX' is undefined ignite/Makefile.am: The usual way to defineCXX' is to add AC_PROG_CXX' ignite/Makefile.am: toconfigure.ac' and run autoconf' again. jni/Makefile.am: C++ source seen butCXX' is undefined jni/Makefile.am: The usual way to define CXX' is to addAC_PROG_CXX' jni/Makefile.am: to configure.ac' and runautoconf' again. odbc/Makefile.am: C++ source seen but CXX' is undefined odbc/Makefile.am: The usual way to defineCXX' is to add AC_PROG_CXX' odbc/Makefile.am: toconfigure.ac' and run `autoconf' again.

Upvotes: 3

Views: 436

Answers (1)

Dushyant Kumar
Dushyant Kumar

Reputation: 92

Makefile.in should be created by automake. Please make sure you have C++ compiler on your system. You need that to compile ODBC driver.

Try changing AC_PROG_CPP to AC_PROG_CXX in configure.ac file.

Upvotes: 5

Related Questions