问题描述
问题
我该怎么做才能达到很棒的 >= 4.3?
关于我的问题
我在 Ubuntu 18.04 上运行很棒的 4.2(安装了 apt
)。但是现在我想使用一些使用 awful.popup
的小部件,这些小部件是在 awesome 4.3 中引入的。 o 我想我可以通过编译我自己的新版本来让它工作。
所以按照 build instructions 我做了:
git clone https://github.com/awesomeWM/awesome
cd awesome
make
然后一切似乎都在工作,直到最终失败:
...
[ 87%] Generating API documentation
Error: no suitable Lua interpreter found
Error: supported versions are: 5.2 5.1
CMakeFiles/ldoc.dir/build.make:289: recipe for target 'doc/index.html' Failed
make[3]: *** [doc/index.html] Error 1
CMakeFiles/Makefile2:211: recipe for target 'CMakeFiles/ldoc.dir/all' Failed
make[2]: *** [CMakeFiles/ldoc.dir/all] Error 2
Makefile:151: recipe for target 'all' Failed
make[1]: *** [all] Error 2
Makefile:14: recipe for target 'cmake-build' Failed
make: *** [cmake-build] Error 2
据我所知,我使用的是 Lua5.3,awesomeConfig.cmake
告诉我 5.3 应该是有效的:
# 5.1 <= LUA_VERSION < 5.4
当前运行的很棒的版本是:
$ awesome --version
awesome v4.2 (Human after all)
• Compiled against Lua 5.3.3 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.5
• lgi version: 0.9.2
解决方法
Doyousketch2 确实提供了解决此问题的相关线索。我为成功运行 make
所做的是:
make CMAKE_ARGS="-DGENERATE_DOC:BOOLEAN=OFF"