我从GitHub下载了conky,当我尝试使用./configure命令时,出现以下错误:
bash: ./configure: No such file or directory
我在Src文件夹中打开了终端并尝试了此命令。我错过了什么?
This is the screenshot of the terminal and the downloaded conky folder
答案 0 :(得分:0)
1.10及更高版本
Conky 2将使用cmake而不是autotools,这意味着你不再需要autoconf和automake,但你需要cmake。
autoconf和automake(和autogen)通常是驱动"配置"。
您将需要tolua库(参考),可以使用
apt-get install libtolua-dev libtolua++5.1-dev
为Linux安装。如果保留默认的cmake配置,还需要以下开发包:apt-get install libx11-dev libxft-dev libxdamage-dev libncurses5-dev libxinerama-dev
。然后,建立conky会像这样工作:
$ mkdir build $ cd build $ ccmake .. # this will launch a curses-based UI where you can configure # everything, when you are ready you can build as usual: $ make # This will compile conky in the `src` subdirectory $ make install