I am trying to install watchman in Ubuntu 17.10, to run npm run android
in command line to run React-Native in terminal.
I have tried sudo apt-get install -y autoconf automake build-essential python-dev
,
then when I run ./autogen.sh
, it throws this error:
./autogen.sh
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
Had similar problem and turns out that I was missing some binaries and that needed to run the watchman scripts as root. Here is a shorts script that I used to get everything working:
I had similar problem. I install pkg-config, then it is solved
Accept the installation by typing Y or y