我无法使用linuxbrew安装watchman,它显示一个错误:
error: command '/usr/bin/gcc-4.8' failed with exit status 1
make[1]: *** [py-build] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/watchman20150922-20192-z5lj26/watchman-3.7.0-brew'
make: *** [all] Error 2我已经生成了错误日志
brew gist-logs watchman --config --doctor它的链接是https://gist.github.com/anonymous/d4f8d02f93db2e2b1c15
请帮帮忙
发布于 2017-01-25 19:33:45
安装Watchman最好的方法是:
通过选择https://github.com/facebook/watchman
to
遵循以下命令
$ sudo apt-get install -y autoconf automake build-essential python-dev
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ watchman --version
$ echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server发布于 2015-09-23 11:58:27
我对linuxbrew一无所知,但这是最基本的问题:
https://gist.github.com/anonymous/d4f8d02f93db2e2b1c15#file-03-make-L31-L56
这表明您没有设置可用的python开发环境;watchman中的构建过程的一部分是为python构建C扩展,以提高序列化/反序列化的效率。
您可能希望/需要使用linuxbrew安装python来克服这一点。
https://stackoverflow.com/questions/32722177
复制相似问题