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

nev*_*ihs 3 c++ odbc gcc makefile ignite

我在Centros 6.3上安装ODBC驱动程序,IGNITE_HOME是path/target/release-package,安装了autoconf和automake.

手动执行此命令libtoolize && aclocal && autoheader && automake --add-missing && autoreconf创建配置文件.

这个(automake)应该生成Makefile.in文件.

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

未生成Makefile.in.

错误:

./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)...是检查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检查如何运行C预处理器... gcc - Ë

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从...扩展为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 addAC_PROG_CXX'/ usr/的常用方法share/automake-1.11/am/depend2.am:to configure.ac' and runaclocal'和autoconf' again. binary/Makefile.am: C++ source seen butCXX'是未定义的二进制文件/ Makefile.am:通常的方法是再次定义CXX' is to addAC_PROG_CXX'binary/Makefile.am:to configure.ac' and runautoconf'.common/Makefile.am:看到C++源代码但是CXX' is undefined common/Makefile.am: The usual way to defineCXX'是添加AC_PROG_CXX' common/Makefile.am: toconfigure.ac'并且运行autoconf' again. core/Makefile.am: C++ source seen butCXX'是未定义的核心/ Makefile.am:通常的方法是再次定义CXX' is to addAC_PROG_CXX'core/Makefile.am:to configure.ac' and runautoconf'.ignite/Makefile.am:看到C++源代码但是CXX' is undefined ignite/Makefile.am: The usual way to defineCXX'是添加AC_PROG_CXX' ignite/Makefile.am: toconfigure.ac'并且运行autoconf' again. jni/Makefile.am: C++ source seen butCXX'是未定义的jni/Makefile.am:通常的方法是再次定义CXX' is to addAC_PROG_CXX'jni/Makefile.am:to configure.ac' and runautoconf'.odbc/Makefile.am:看到了C++源码,但CXX' is undefined odbc/Makefile.am: The usual way to defineCXX'是添加AC_PROG_CXX' odbc/Makefile.am: toconfigure.ac'并再次运行`autoconf'.

小智 5

Makefile.in应该由automake创建.请确保您的系统上有C++编译器.您需要它来编译ODBC驱动程序.

尝试将configure.ac文件中的AC_PROG_CPP更改为AC_PROG_CXX.