-
-
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 |
Thanks for this man! 🥇
How do you test if watchman works?
How do I correct this error found after running the sudo apt-get install -y autoconf automake build-essential python-dev libtool libssl-dev command
The following packages have unmet dependencies:
python-dev : Depends: python (= 2.7.11-1) but 2.7.12-116.04 is to be installed) but it is not going to be installed
Depends: libpython-dev (= 2.7.11-1) but it is not going to be installed
Depends: python2.7-dev (>= 2.7.11-1
E: Unable to correct problems, you have held broken packages.
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
thank you
ditto on 18.04 pkg-config
is also needed
./configure --enable-lenient
it worked for https://gist.github.com/markis/705f101a549f958d62546fb966caae42#gistcomment-2222957
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!!
./configure --without-python --without-pcre --enable-lenient
did the trick on 19.04
I updated the script with all the comments mentioned here, ie. pkg-config
and --enable-lenient
Another way more easiest is sudo apt install watchman
I install with master branch, and worked perfectly for me.