安装conky时出现./configure错误

时间:2016-10-10 09:29:45

标签: linux

我从GitHub下载了conky,当我尝试使用./configure命令时,出现以下错误:

   bash: ./configure: No such file or directory

我在Src文件夹中打开了终端并尝试了此命令。我错过了什么?

This is the screenshot of the terminal and the downloaded conky folder

1 个答案:

答案 0 :(得分:0)

根据documentation使用cmake

,我看到了CMakeLists.txt并加倍检查
  

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
相关问题