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 安装完成

 

转载于:https://www.cnblogs.com/houchaoying/p/8873205.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值