Watchman 的安装


 

先查看gcc的版本

gcc --version

如果gcc的版本低于4.8,就要升级gcc的版本了。在这里,就不延时升级gcc了,

安装watchman

 

git clone https://github.com/facebook/watchman.git

如果下载不下来就要源码安装了,我得就是源码安装的。
安装编译工具

       [root@master ~]# yum install -y automake

       [root@master watchman-master]# yum install -y gcc gcc-c++ (如果用就不要安装了)

 

下载watchman的源码包

打开 https://github.com/facebook/watchman,单击“download”

将下载下来的包上传到指定的目录戒烟

unzip watchman-master.zip

进入解压的watchman目录
  cd watchman-master
执行脚本

./autogen.sh

出现以下说明执行脚本成功

然后执行

./configure

最后出现就ok

 

 执行make 和makeinstall

make

 

 makeinstall

 

到此 watchman 安装完成

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM