This installation is for PHP development configuration
According to the official document practice, there will be a variety of bugs, summed up the correct installation method:
STEP1:
Install the necessary dependency plugins:
sudo apt-get install Libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake Libtool Flex Bison pkg-config g++ libssl-devsudo apt-get install Php5-dev php5-cli phpunit #php
A necessary step:
sudo apt-get install Python-dev
STEP2:
Clone the latest version from thrift git Source:
git clone https://git-wip-us.apache.org/repos/asf/thrift.git THRIFTCD Thrift
STEP3:
CD thrift./bootstrap.sh #用于检测系统环境, generate configure file./configuremakesudo make Install
The above steps do not appear error stating that the whole process is smooth.
STEP4:
Thrift-version
Thrift version 1.0.0-dev appears
Good,thrift installation was successful.