首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在ubuntu 14.04上安装watchman

无法在ubuntu 14.04上安装watchman
EN

Stack Overflow用户
提问于 2015-09-23 00:34:13
回答 2查看 2.1K关注 0票数 0

我无法使用linuxbrew安装watchman,它显示一个错误:

代码语言:javascript
复制
  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

我已经生成了错误日志

代码语言:javascript
复制
brew gist-logs watchman --config --doctor

它的链接是https://gist.github.com/anonymous/d4f8d02f93db2e2b1c15

请帮帮忙

EN

回答 2

Stack Overflow用户

发布于 2017-01-25 19:33:45

安装Watchman最好的方法是:

通过选择https://github.com/facebook/watchman

  • Download

  • or Download watchman

to

  • to it to it to Clone or Download button
    • Go to toit to
      • to Download it toClone or Download Download to to Download it to Download it to Download to to Download it to
        • or Download Download to the Folder. by using cd Clone or Download Download to the Folder.
        • 通过使用cd Clone进入该文件夹并解压它

遵循以下命令

代码语言:javascript
复制
$ 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
票数 3
EN

Stack Overflow用户

发布于 2015-09-23 11:58:27

我对linuxbrew一无所知,但这是最基本的问题:

https://gist.github.com/anonymous/d4f8d02f93db2e2b1c15#file-03-make-L31-L56

这表明您没有设置可用的python开发环境;watchman中的构建过程的一部分是为python构建C扩展,以提高序列化/反序列化的效率。

您可能希望/需要使用linuxbrew安装python来克服这一点。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32722177

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档