在Linux machin上安装fbpython

2024-04-29 08:40:48 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试安装fb python library-Lua和python之间的桥梁: https://github.com/facebookarchive/fblualib/tree/master/fblualib/python

在我的Linux机器上使用命令

cd fblualib/fblualib/python
luarocks make rockspec/fbpython-0.1-1.rockspec 

但是,我的所有尝试都遇到了以下错误:

^{pr2}$

引发错误的文件是:https://github.com/facebookarchive/fblualib/blob/master/fblualib/cmake/FindGlog.cmake

但是,我已经安装了Glog库https://github.com/google/glog/releases:鉴于我没有sudo对机器的访问权限,我将./configure设置为一个自定义位置,我现在可能需要为Glog_INCLUDE_DIR和Glog_library标志指定该位置。怎么做?如有任何建议,我们将不胜感激。谢谢您!在


Tags: httpsgithubmastercmakecom机器fb错误