守望者安裝

守望者安裝
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
    

相關內容