Need to install Watchman version 4.9.0 on a mac

Viewed 2963

These instructions at https://facebook.github.io/watchman/docs/install.html do not work for 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.

The reason I suspect is that not all the same linux packages are available on a mac. How can I get this working on a mac?

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

Just run ./autogen.sh

Related