无法让WAF运行
我正在尝试在 Ubuntu 上构建 Monotooth 库,并且有一个需要编译的本机组件。 github 上的发行版有一个 wscript 文件,需要 WAF 来构建。然而,每当我尝试执行 waf configure 时,我都会得到:
Checking for program gcc : ok /usr/bin/gcc
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
error: No such method 'create_library_configurator'
我不知道 python,我不确定这实际上告诉我什么。我缺少库(模块)还是什么?
I am trying to build the Monotooth library on Ubuntu and there is a native component which needs to be compiled. The distro from github has a wscript file and requires WAF to build. However, whenever I try to execute waf configure I get:
Checking for program gcc : ok /usr/bin/gcc
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
error: No such method 'create_library_configurator'
I don't know python and I'm not sure what this is actually telling me. Am I missing a library (module) or what?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现我需要使用 http:// 中的 waf 版本waf.googlecode.com/files/waf-1.3.2.tar.bz2
我的版本是 1.5.9,它肯定已经弃用了 create_library_configurator 方法。
I found that I needed to use a version of waf from http://waf.googlecode.com/files/waf-1.3.2.tar.bz2
I had version 1.5.9 which must have deprecated the create_library_configurator method.