1.下载thrift安装包,
git clone https://github.com/apache/thr...git
执行cd thrift & ./bootstrap.sh ./configure ;
若是不须要某种语言,能够执行./configure --without-<language>
3.编译error,
PKG_CHECK_MODULES(QT5, Qt5Core >= 5.0, Qt5Network >= 5.0,
解决:
从新安装automake及其组件
4.make
5.make installgithub
在Ubuntu中能够直接执行sudo apt install thrift-compilerapache