Skip to content

Instantly share code, notes, and snippets.

@markis
Last active April 4, 2022 08:53
Show Gist options
  • Save markis/705f101a549f958d62546fb966caae42 to your computer and use it in GitHub Desktop.
Save markis/705f101a549f958d62546fb966caae42 to your computer and use it in GitHub Desktop.
sudo apt install -y autoconf automake build-essential python-dev libtool libssl-dev pkg-config
cd /tmp
git clone https://github.com/facebook/watchman.git -b v4.9.0 --depth 1
cd watchman/
./autogen.sh
./configure --enable-lenient
make
sudo make install
@longtc170593
Copy link

thank you

@collinanderson
Copy link

ditto on 18.04 pkg-config is also needed

@harsh-98
Copy link

@maurojaf
Copy link

These steps worked for me on Ubuntu 18.4 (note I had to install the pkg-config package):

sudo apt install -y autoconf automake build-essential python-dev libtool libssl-dev pkg-config
cd /tmp
git clone https://github.com/facebook/watchman.git
cd watchman/
git checkout v4.9.0
./autogen.sh 
./configure 
make
sudo make install

Working! thx!!

@elarb
Copy link

elarb commented Nov 27, 2019

./configure --without-python --without-pcre --enable-lenient

did the trick on 19.04

@markis
Copy link
Author

markis commented Dec 2, 2019

I updated the script with all the comments mentioned here, ie. pkg-config and --enable-lenient

@Shair17
Copy link

Shair17 commented May 1, 2020

Another way more easiest is sudo apt install watchman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment