linux下安装c语言支持的thrift库
由于工作需要用到C库的thrift,但是在安装过程中遇到了各种坑,而网上又没有一篇关于C_GLIB的thrift安装指导,我也花了将近两天才搞定,
为了避免别的同学重复造轮子,特输出造轮子秘方,以帮助大家规避各种坑。
在前期环境准备上,有借鉴 郭了个治浩同学的C++环境安装方法 :http://blog.youkuaiyun.com/mysteryhaohao/article/details/51881274#t7
安装步骤:
Building Apache Thrift with C_GLIB on CentOS 6.5
Apache Thrift configure 1.0.0-dev.
Update the System
sudo yum -y update
Install the Platform Development Tools
sudo yum -y groupinstall "Development Tools"
Upgrade autoconf/automake/bison
sudo yum install -y wget
Upgrade autoconf
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar xvf autoconf-2.69.tar.gz
cd autoconf-