首页 > 解决方案 > 需要在mac上安装Watchman 4.9.0版本

问题描述

https://facebook.github.io/watchman/docs/install.html上的这些说明不适用于 mac osx:

$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

./autogen.sh...
The error:  
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.

我怀疑的原因是 Mac 上并非所有相同的 linux 软件包都可用。我怎样才能让它在mac上工作?

标签: macosinstallationversionwatchman

解决方案


// autoconf@2.7
brew uninstall autoconf
brew install autoconf@2.6.9
//pass
./autogen.sh 

只需运行 ./autogen.sh


推荐阅读