我正在使用此命令
git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0 # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
当我输入make cmd时,它的返回错误如下所示
Makefile:1960: recipe for target 'cppclient/libwatchmanclient_la-WatchmanClient.lo' failed
make[1]: *** [cppclient/libwatchmanclient_la-WatchmanClient.lo]
Error 1
make[1]: Leaving directory '/tmp/watchman'
Makefile:1101: recipe for target 'all' failed
make: *** [all] Error 2
您的构建正在从您的系统中获取某些版本的folly
。使用./configure --without-folly
配置构建。