简体   繁体   English

无法在Apache Ignite中安装ODBC驱动程序C ++

[英]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. 我在Centros 6.3上安装ODBC驱动程序,IGNITE_HOME是path / target / release-package,安装了autoconf和automake。

Manually executing this command libtoolize && aclocal && autoheader && automake --add-missing && autoreconf creates configure file. 手动执行此命令libtoolize && aclocal && autoheader && automake --add-missing && autoreconf创建配置文件。

This (automake) should generate Makefile.in file. 这个(automake)应该生成Makefile.in文件。

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

Makefile.in is not generated. 未生成Makefile.in。

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 remove core': 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 ./configure --enable-odbc --disable-node --disable-core检查构建系统类型... x86_64-unknown-linux-gnu检查主机系统类型... x86_64-unknown-linux-gnu检查BSD兼容安装... / usr / bin / install -c检查构建环境是否正常...是检查线程安全mkdir -p ... / bin / mkdir -p检查gawk ... gawk检查是否make sets $(MAKE)... yes检查make使用的包含样式... GNU检查gcc ... gcc检查C编译器是否正常工作...是检查C编译器默认输出文件名.. .a.out检查可执行文件的后缀...检查我们是否正在交叉编译...没有检查目标文件的后缀... o检查我们是否使用GNU C编译器... rm:无法删除core': Is a directory yes checking whether gcc accepts -g... rm: cannot remove核心':目录是否检查gcc选项以接受ISO C89 ... rm:无法删除`core':是否需要检查目录依赖风格 gcc... gcc3 checking how to run the C preprocessor... gcc -E gcc ... gcc3检查如何运行C预处理器... 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... autoconf文件: root @ hostname cpp] #automake configure.ac:39:warning:AC_LANG_CONFTEST:在正文中检测不到AC_LANG_SOURCE调用../../lib/autoconf/lang.m4:193:AC_LANG_CONFTEST从....扩展。 ./../lib/autoconf/general.m4:2661:_AC_LINK_IFELSE从......增加../../lib/autoconf/general.m4:2678:AC_LINK_IFELSE从...扩展为... m4 / libtool.m4 :1022:_LT_SYS_MODULE_PATH_AIX从...扩展为... m4 / libtool.m4:4161:_LT_LINKER_SHLIBS从...扩展为m4 / libtool.m4:5236:_LT_LANG_C_CONFIG从...扩展为... m4 / libtool.m4:138:_LT_SETUP是从...扩展为... m4 / libtool.m4:67:LT_INIT从... configure.ac:39扩展:顶级configure.ac:39:警告:AC_LANG_CONFTEST:在正文中检测不到AC_LANG_SOURCE调用../ .. /lib/autoconf/lang.m4:193:AC_LANG_CONFTEST从......开始扩展../../lib/autoconf/general.m4:2661:_AC_LINK_IFELSE从... ../../lib/autoconf扩展/general.m4:2678:AC_LINK_IFELSE从...扩展为... m4 / libtool.m4:4161:_LT_LINKER_SHLIBS从...扩展 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 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 m4 / libtool.m4:5236:_LT_LANG_C_CONFIG从...扩展为m4 / libtool.m4:138:_LT_SETUP从...扩展为... m4 / libtool.m4:67:LT_INIT从...扩展为:configure.ac:39 :顶级/usr/share/automake-1.11/am/depend2.am:am__fastdepCXX没有出现在AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am中:定义am__fastdepCXX' is to add的常用方法am__fastdepCXX' is to add AC_PROG_CXX'/usr/share/automake-1.11/am/depend2.am:to configure.ac'并autoconf' again. binary/Makefile.am: C++ source seen but configure.ac' and run aclocal'和autoconf' again. binary/Makefile.am: C++ source seen but autoconf' again. binary/Makefile.am: C++ source seen but CXX' is undefined binary/Makefile.am: The usual way to define CXX' is to add AC_PROG_CXX' binary/Makefile.am: to configure.ac' and run autoconf' again. autoconf' again. binary/Makefile.am: C++ source seen but CXX'是未定义的二进制文件/ Makefile.am:定义CXX' is to add的常用方法CXX' is to add AC_PROG_CXX'binary / Makefile.am:添加到configure.ac' and run再次configure.ac' and run autoconf'。 common/Makefile.am: C++ source seen but CXX' is undefined common/Makefile.am: The usual way to define CXX' is to add AC_PROG_CXX' common/Makefile.am: to configure.ac' and run autoconf' again. core/Makefile.am: C++ source seen but common / Makefile.am:看到C ++源但是CXX' is undefined common/Makefile.am: The usual way to define CXX CXX' is undefined common/Makefile.am: The usual way to define是将AC_PROG_CXX' common/Makefile.am: to configure.ac'并autoconf' again. core/Makefile.am: C++ source seen but运行autoconf' again. core/Makefile.am: C++ source seen but autoconf' again. core/Makefile.am: C++ source seen but CXX' is undefined core/Makefile.am: The usual way to define CXX' is to add AC_PROG_CXX' core/Makefile.am: to configure.ac' and run autoconf' again. autoconf' again. core/Makefile.am: C++ source seen but CXX'是未定义的核心/ Makefile.am:定义CXX' is to add的常用方法CXX' is to add AC_PROG_CXX'core / Makefile.am:添加到configure.ac' and run再次configure.ac' and run autoconf'。 ignite/Makefile.am: C++ source seen but CXX' is undefined ignite/Makefile.am: The usual way to define CXX' is to add AC_PROG_CXX' ignite/Makefile.am: to configure.ac' and run autoconf' again. jni/Makefile.am: C++ source seen but ignite / Makefile.am:看到C ++源代码但CXX' is undefined ignite/Makefile.am: The usual way to define CXX' CXX' is undefined ignite/Makefile.am: The usual way to define是将AC_PROG_CXX' ignite/Makefile.am: to configure.ac'并autoconf' again. jni/Makefile.am: C++ source seen but运行autoconf' again. jni/Makefile.am: C++ source seen but autoconf' again. jni/Makefile.am: C++ source seen but CXX' is undefined jni/Makefile.am: The usual way to define CXX' is to add AC_PROG_CXX' jni/Makefile.am: to configure.ac' and run autoconf' again. autoconf' again. jni/Makefile.am: C++ source seen but CXX'未定义jni / Makefile.am:定义CXX' is to add的常用方法CXX' is to add AC_PROG_CXX'jni / Makefile.am:添加到configure.ac' and run再次configure.ac' and run autoconf'。 odbc/Makefile.am: C++ source seen but CXX' is undefined odbc/Makefile.am: The usual way to define CXX' is to add AC_PROG_CXX' odbc/Makefile.am: to configure.ac' and run `autoconf' again. odbc / Makefile.am:看到C ++源代码但是CXX' is undefined odbc/Makefile.am: The usual way to define CXX CXX' is undefined odbc/Makefile.am: The usual way to define是将AC_PROG_CXX' odbc/Makefile.am: to configure.ac'并再次运行`autoconf'。

Makefile.in should be created by automake. Makefile.in应该由automake创建。 Please make sure you have C++ compiler on your system. 请确保您的系统上有C ++编译器。 You need that to compile ODBC driver. 您需要它来编译ODBC驱动程序。

Try changing AC_PROG_CPP to AC_PROG_CXX in configure.ac file. 尝试将configure.ac文件中的AC_PROG_CPP更改为AC_PROG_CXX。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM