安装 conky 包时出现问题 - 找不到 ./configure

b-f*_*-fg 5 compiling conky software-installation

我正在尝试安装此软件包,但是当我转到源文件夹并键入时,./configure我得到

bash: ./configure: No such file or directory
Run Code Online (Sandbox Code Playgroud)

如果我尝试sh ./configure我得到

sh: 0: Can't open ./configure
Run Code Online (Sandbox Code Playgroud)

所以无法创建 makefile 并且我无法安装该软件包。我过去已经成功编译并安装了软件包,所以我不明白为什么会发生这种情况。任何帮助,将不胜感激。

Geo*_*sen 7

我能够像这样安装它:

  1. 首先从以下位置下载最新版本 https://github.com/brndnmtthws/conky/releases/tag/v1.10.6

  2. 将其提取tar并移至home

    tar -xvf conky-1.10.6.tar.gz
    mv conky-1.10.6 ~/
    
    Run Code Online (Sandbox Code Playgroud)
  3. 使用ccmake版本1.10及更高版本所述的方法:

    1. 安装这些软件包:

      sudo apt install libtolua-dev libtolua++5.1-dev
      sudo apt install libx11-dev libxft-dev libxdamage-dev libncurses5-dev  libxinerama-dev
      sudo apt install cmake-curses-gui
      
      Run Code Online (Sandbox Code Playgroud)
    2. 运行这些/home/$USER

      mkdir build
      cd build 
      ccmake $HOME/conky-1.10.6
      
      Run Code Online (Sandbox Code Playgroud)
    3. 出现c时按键盘上的cmake GUI。这将构建目录中的build文件
    4. 然后运行 ​​make 并安装:

      make
      sudo make install
      
      Run Code Online (Sandbox Code Playgroud)
  4. ccmake .如果文件未生成,请在构建目录中重新运行。

来源:

https://github.com/brndnmtthws/conky/wiki/Installation