系统库thrift的安装
来源:互联网 发布:淘宝招工 编辑:程序博客网 时间:2024/05/16 10:47
1、安装thrift-0.9.2版本,官方文档连接,这里有一些依赖,不建议升级yum,这样可能会升级你的centos系统。可以直接安装thrift,在安装的时候他会告诉你依赖什么,这时候你再去安装这些依赖。
2、按照官方文档去执行的时候会有下面的警告,由于第一次安装,以为是错误,各种找原因。
Configuring for:PHP Api Version: 20131106Zend Module Api No: 20131226Zend Extension Api No: 220131226configure.in:149: 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...aclocal.m4:4055: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal.m4:7194: _LT_LINKER_SHLIBS is expanded from...configure.in:149: the top levelconfigure.in:149: 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...aclocal.m4:7194: _LT_LINKER_SHLIBS is expanded from...aclocal.m4:8269: _LT_LANG_C_CONFIG is expanded from...aclocal.m4:3171: _LT_SETUP is expanded from...aclocal.m4:3100: LT_INIT is expanded from...aclocal.m4:3135: AC_PROG_LIBTOOL is expanded from...configure.in:149: the top levelconfigure.in:149: 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...aclocal.m4:4055: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal.m4:8376: _LT_LANG_CXX_CONFIG is expanded from...aclocal.m4:3818: _LT_LANG is expanded from...aclocal.m4:3801: LT_LANG is expanded from...aclocal.m4:3829: _LT_LANG_DEFAULT_CONFIG is expanded from...aclocal.m4:3171: _LT_SETUP is expanded from...aclocal.m4:3100: LT_INIT is expanded from...aclocal.m4:3135: AC_PROG_LIBTOOL is expanded from...configure.in:149: the top levelconfigure.in:149: 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...aclocal.m4:4055: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal.m4:7194: _LT_LINKER_SHLIBS is expanded from...aclocal.m4:8269: _LT_LANG_C_CONFIG is expanded from...aclocal.m4:3171: _LT_SETUP is expanded from...aclocal.m4:3100: LT_INIT is expanded from...aclocal.m4:3135: AC_PROG_LIBTOOL is expanded from...configure.in:149: the top levelconfigure.in:149: 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...aclocal.m4:7194: _LT_LINKER_SHLIBS is expanded from...aclocal.m4:8269: _LT_LANG_C_CONFIG is expanded from...aclocal.m4:3171: _LT_SETUP is expanded from...aclocal.m4:3100: LT_INIT is expanded from...aclocal.m4:3135: AC_PROG_LIBTOOL is expanded from...configure.in:149: the top levelconfigure.in:149: 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...aclocal.m4:4055: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...aclocal/libtool.m4:785: _LT_LANG is expanded from...aclocal/libtool.m4:768: LT_LANG is expanded from...aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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/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...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...aclocal/libtool.m4:785: _LT_LANG is expanded from...aclocal/libtool.m4:768: LT_LANG is expanded from...aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: 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...aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...aclocal/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...aclocal/libtool.m4:785: _LT_LANG is expanded from...aclocal/libtool.m4:768: LT_LANG is expanded from...aclocal/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...aclocal/libtool.m4:138: _LT_SETUP is expanded from...aclocal/libtool.m4:67: LT_INIT is expanded from...aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...configure.ac:89: the top levelconfigure.ac:89: installing './config.guess'configure.ac:89: installing './config.sub'configure.ac:26: installing './install-sh'configure.ac:26: installing './missing'compiler/cpp/Makefile.am:102: warning: source file 'src/thrifty.yy' is in a subdirectory,compiler/cpp/Makefile.am:102: but option 'subdir-objects' is disabledautomake: warning: possible forward-incompatibility.automake: At least a source file is in a subdirectory, but the 'subdir-objects'automake: automake option hasn't been enabled. For now, the corresponding outputautomake: object file(s) will be placed in the top-level directory. However,automake: this behaviour will change in future Automake versions: they willautomake: unconditionally cause object files to be placed in the same subdirectoryautomake: of the corresponding sources.automake: You are advised to start using 'subdir-objects' option throughout yourautomake: project, to avoid future incompatibilities.compiler/cpp/Makefile.am:102: warning: source file 'src/thriftl.ll' is in a subdirectory,compiler/cpp/Makefile.am:102: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/main.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/md5.c' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/parse/t_typedef.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/parse/parse.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_c_glib_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_cpp_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_java_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_json_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_as3_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_csharp_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_py_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_rb_generator.cc' is in a subdirectory,compiler/cpp/Makefile.am:34: but option 'subdir-objects' is disabledcompiler/cpp/Makefile.am:34: warning: source file 'src/generate/t_perl_generator.cc' is in a subdirectory,'src/thrift/c_glib/thrift.c' is in a subdirectory,lib/c_glib/test/Makefile.am:151: warning: source file 'gen-cpp/ThriftTest_types.cpp' is in a subdirectory,lib/c_glib/test/Makefile.am:151: but option 'subdir-objects' is disabled
这个问题可以解决,但是在执行make的时候依然报错了,当时由于是多台机器部署,在其中那个一台忽略了这个警告,直接进行configure,make make install 结果部署成功了。
虽然不明白这个问题,但是执行./bootstrap.sh
不报错的话,在下面这个配置文件中添加这个配置就可以了,但是最后执行make的时候会报错。
阅读全文
0 0
- 系统库thrift的安装
- Thrift的数据类型系统
- Thrift的安装
- thrift的安装和Java编写thrift
- Ubuntu下的Thrift安装
- ubuntu下thrift的安装
- ubuntu下thrift的安装
- linux下thrift的安装
- Thrift for python的安装
- thrift的安装和使用
- ubuntu下thrift的安装
- Linux下Thrift的安装
- 跨语言RPC库thrift的安装和使用
- 【Apache Thrift】windows下thrift的安装(一)
- 【Apache Thrift】windows下thrift的安装(一)
- thrift安装
- thrift安装
- thrift安装
- 自由存储区和堆
- 【Go】同步
- java引用类型的强制类型转换
- Vue框架快速入门
- Hbase架构
- 系统库thrift的安装
- Faster RCNN训练出现问题:ValueError: operands could not be broadcast together with shapes
- IPython常用魔法方法
- 迭代求解最优化问题——梯度下降、牛顿法
- 构建机器学习项目(二)- ML strategy(2)
- Python--day1 Python的安装
- Mybatis的基本使用实例
- ZED stereo camera开发入门教程(2)
- 695. Max Area of Island