我是 thrift 的新手,正在尝试将它安装到我的 mac 中。所以我下载了新版本 0.9.3,运行 ./configure
。但输出如下:
thrift 0.9.3
Building C++ Library ......... : yes
Building C (GLib) Library .... : no
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : no
Building Ruby Library ........ : no
Building Haxe Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Erlang Library ...... : no
Building Go Library .......... : no
Building D Library ........... : no
Building NodeJS Library ...... : no
Building Lua Library ......... : no
但是,实际上它已经成功检查了 python env,如下所示:
checking for a Python interpreter with version >= 2.4... python
checking for python... /Library/Frameworks/Python.framework/Versions/2.7/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
我还需要做什么?
最佳答案
不知道它是否有帮助(旧帖子),但在 0.9.3 中,配置脚本检查是否存在 trial 和 python 以确定是否必须构建 python 库 => 检查 trial 是否可用,或者安装 python-twisted 以获得你想要的。
关于python - 我的 thrift ./configure 不构建 python 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37672187/