Failed to install C ++ ODBC driver in Apache Ignite

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

Manually execute this libtoolize && aclocal && autoheader && automake --add-missing && & autoreconf creates a configuration file.

This (automake) should generate a Makefile.in.

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

Makefile.in is not generated.

Mistake:

./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 compatibility with BSD ... / usr / bin / install -c checking if the build environment is sane ... yes checking thread safe mkdir -p ... / bin / mkdir -p checking for gawk ... gawk checking if the sets are $ (MAKE) ... yes checking the include style used by make ... GNU checking for gcc ... gcc checking if the C compiler is working ... yes checking the C compiler default output filename ... a.out checking the suffix executables ... do we check cross-compilation ... no check the suffix of object files ... o check if we are using the GNU C compiler ... rm: cannot deletecore': Is a directory yes checking whether gcc accepts -g... rm: cannot remove

core ': whether there is a directory yes check for gcc option to accept ISO C89 ... rm: cannot remove "core": whether there is a directory no need gcc dependency style check ... gcc3 check C preprocessor start ... gcc -E

autoconf file:  root @hostname cpp] # automake configure.ac:39: warning: AC_LANG_CONFTEST: no detected call to AC_LANG_SOURCE in body .. /../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST extended from ... .. / .. /lib/autoconf/general.m4:2661: _AC_LINK_IFELSE expands from ... .. /../lib/autoconf/general.m4:2678: AC_LINK_IFELSE expands from ... m4 / libtool.m4: 1022: _LT_SYS_MODULE_PATH_AIX ... m4 / libtool.m4: 4161: _LT_LINKER_SHLIBS extended ... m4 / libtool.m4: 5236: _LT_LANG_C_CONFIG extended ... m4 / libtool.m4: 138: _LT_SETUP extended since ... m4 / libtool.m4: 67 : LT_INIT extended ... configure.ac:39: top level configure.ac:39: warning: AC_LANG_CONFTEST: no detected call to AC_LANG_SOURCE in body .. /../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST extended with. .. .. /../lib/autoconf/general.m4:2661:_AC_LINK_IFELSE expands from ... .. /../lib/autoconf/general.m4:2678: AC_LINK_IFELSE expands from ... m4 / libtool.m4: 4161: _LT_LINKER_SHLIBS expanded ... m4 / libtool.m4: 5236: _C_CONFIGG extended ... m4 / libtool.m4: 138: _LT_SETUP extended with ... m4 / libtool.m4: 67: LT_INIT extended ... configure.ac:39: top level / usr / share / automake -1.11 / am / depend2.am: am__fastdepCXX does not show up in AM_CONDITIONAL / usr / share / automake -1.11 / am / depend2.am: Normal way to determineam__fastdepCXX does not show up in AM_CONDITIONAL / usr / share / automake -1.11 / am / depend2.am: Normal way to determineam__fastdepCXX does not show up in AM_CONDITIONAL / usr / share / automake -1.11 / am / depend2.am: Normal way to determineam__fastdepCXX' is to add

AC_PROG_CXX '/ usr / share / automake -1.11 / am / depend2.am: to configure.ac' and run

aclocal' and autoconf' again. binary/Makefile.am: C++ source seen but

CXX 'undefined binary / Makefile.am: Normal way to determine CXX' is to add

AC_PROG_CXX' binary / Makefile.am: before configure.ac' and run

autoconf 'again. common / Makefile.am: C ++ source saw, but CXX' is undefined common/Makefile.am: The usual way to define

CXX 'must add AC_PROG_CXX' common/Makefile.am: to

configure.ac' and run autoconf' again. core/Makefile.am: C++ source seen but

CXX 'undefined core / Makefile.am: Normal way to define CXX' is to add

AC_PROG_CXX' core / Makefile.am: before configure.ac' and run

autoconf 'again. ignite / Makefile.am: C ++ source, but CXX' is undefined ignite/Makefile.am: The usual way to define

CXX 'must add AC_PROG_CXX' ignite/Makefile.am: to

configure.ac' and run autoconf' again. jni/Makefile.am: C++ source seen but

CXX 'undefined jni / Makefile.am: Normal way to define CXX' is to add

AC_PROG_CXX' jni / Makefile.am: before configure.ac' and run

autoconf 'again. odbc / Makefile.am:c ++ source butCXX' is undefined odbc/Makefile.am: The usual way to define

CXX 'must add AC_PROG_CXX' odbc/Makefile.am: to

configure.ac' and run autoconf again.

+3


source to share


1 answer


Makefile.in should be generated by automake. Make sure you have a C ++ compiler on your system. This is required to compile the ODBC driver.



Try changing AC_PROG_CPP to AC_PROG_CXX in configure.ac.

+5


source







All Articles