守望者安装

守望者安装
pkg-config appears to be missing (not available to autoconf tools) please install the pkg-config package for your system.
bash: ./configure: No such file or directory

答案1

  1. 安装 pkg-config。

    sudo apt install pkg-config
    

    如果问题解决了,则说明大功告成,否则继续执行步骤 2。

  2. 安装守望者。

    sudo apt install -y libssl-dev autoconf automake libtool build-essential python-dev 
    cd $HOME
    git clone https://github.com/facebook/watchman.git -b v4.9.0 --depth 1
    cd watchman
    ./autogen.sh
    ./configure
    make
    sudo make install
    

相关内容