Skip to content

Instantly share code, notes, and snippets.

@brisc
Last active October 21, 2021 17:22
Show Gist options
  • Save brisc/01228416d90d06ce51e8b80ebe5b5852 to your computer and use it in GitHub Desktop.
Save brisc/01228416d90d06ce51e8b80ebe5b5852 to your computer and use it in GitHub Desktop.
Install watchman 4.9.0 on Mac
# Make sure that you have installed all the required dependencies
# https://facebook.github.io/watchman/docs/install.html#installing-from-source
# Make sure that you have autoconf 2.69
brew uninstall autoconf
brew install autoconf@2.69
# add it to your shell / zsh PATH
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.9.0
./autogen.sh
./configure
# we need to checkout a newer version of jansson, 061e6ab is newer than 4.9.0
git checkout 061e6ab thirdparty/jansson/
make
cd python && /usr/bin/python ./setup.py clean build_py -c -d . build_ext -i
cd ..
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment