简体   繁体   English

./configure 安装 conky 时出错

[英]./configure error while installing conky

I've downloaded conky from GitHub and when I try to use the ./configure command, I get this following error :我已经从 GitHub 下载了 conky,当我尝试使用 ./configure 命令时,出现以下错误:

   bash: ./configure: No such file or directory

I opened my terminal in the Src folder and tried this command.我在 Src 文件夹中打开了我的终端并尝试了这个命令。 What am I missing?我错过了什么?

This is the screenshot of the terminal and the downloaded conky folder这是终端和下载的conky文件夹的截图

I see CMakeLists.txt and doubled checked, per the documentation use cmake我看到 CMakeLists.txt 并加倍检查,根据文档使用cmake

1.10 and later versions 1.10 及更高版本

Conky 2 will use cmake instead of autotools which means you won't need autoconf and automake anymore but you'll need cmake. Conky 2 将使用 cmake 而不是 autotools,这意味着您将不再需要 autoconf 和 automake,但您将需要 cmake。

autoconf and automake (and autogen) are what generally drive "configure". autoconf 和 automake(和 autogen)通常驱动“配置”。

You will need the tolua library (Ref.), which can be installed for Linux with apt-get install libtolua-dev libtolua++5.1-dev .您将需要 tolua 库(参考),可以使用apt-get install libtolua-dev libtolua++5.1-dev为 Linux 安装该库。 You also need the following development packages if you keep the default cmake configuration: apt-get install libx11-dev libxft-dev libxdamage-dev libncurses5-dev libxinerama-dev .如果您保留默认的 cmake 配置,您还需要以下开发包: apt-get install libx11-dev libxft-dev libxdamage-dev libncurses5-dev libxinerama-dev

Then, building conky will work like this:然后,构建 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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM