HBase Thrift 0.5.0 + PHP 5 安裝設定
1
wget
ftp
://
ftp
.stu.edu.tw/Unix/Web/apache//incubator/thrift/0.5.0-incubating/thrift-0.5.0.
tar
.gz
Thrift 需要 C++ 的 libboost 函式庫, 以及 flex, libtool 方能運作
1
$?
sudo
?apt-get?
install
?libboost-dev automake libtool flex bison g++
注意, 不能裝 php5, 不然會沒有設定檔
1
$?
sudo
?apt-get?
install
?python python-all-dev
2
$?
sudo
?apt-get?
install
?php5-dev
1
$?
cd
?thrift0.5.0/
2
$ ./configure
正常應輸出:
01
thrift 0.5.0
02
?03
Building code generators ..... : cpp java as3 csharp py rb perl php erl cocoa st ocaml hs xsd html js javame
04
?background-image: none !important; background-color: #1b2426 !important; text-align: left !impo