How to install facebook watchman on ubuntu?

Albert Tobac picture Albert Tobac · Nov 8, 2015 · Viewed 10.4k times · Source

I got watchman from github link https://github.com/facebook/watchman.git, then I got watchman folder and tried this

./autogen.sh 

./autogen.sh: 9: ./autogen.sh: aclocal: not found

./autogen.sh: 10: ./autogen.sh: autoheader: not found

./autogen.sh: 11: ./autogen.sh: automake: not found

./autogen.sh: 12: ./autogen.sh: autoconf: not found

Why ? I have python 2.7.9.

Could it be the cause ? ( I use ubuntu 15.04 btw)

Answer

uDude picture uDude · Nov 8, 2015

You need to install each of the missing packages.

For example on ubuntu:

$ sudo apt-get install automake  <=== contains autoheader, ...
$ sudo apt-get install autoconf

If you wind up with a bunch of errors like AC_* undefined, then you may need a more up-to-date version of automake. You can download the source from the gnu repo ... see: https://www.gnu.org/software/automake/