macos - 需要在mac上安装Watchman 4.9.0版本
问题描述
https://facebook.github.io/watchman/docs/install.html上的这些说明不适用于 mac osx:
$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
./autogen.sh...
The error:
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
我怀疑的原因是 Mac 上并非所有相同的 linux 软件包都可用。我怎样才能让它在mac上工作?
解决方案
// autoconf@2.7
brew uninstall autoconf
brew install autoconf@2.6.9
//pass
./autogen.sh
只需运行 ./autogen.sh
推荐阅读
- object - 无法将扩展 JPanel 的对象添加到我的 JFrame 类
- reactjs - 使用 React 进行服务器端渲染的正确 babel 配置?
- c# - 哪个具有更好的性能,Action 或 Wiring to Event
- font-awesome - 在PhoneGap App中链接Font Awesome的正确方法
- java - spark-submit:传递 java 属性文件给出 FileNotFoundException
- node.js - Nodejs登录未定向到个人资料页面
- ios - 使用 Swift 对日文字符进行排序
- javascript - 使用 .attr() 添加数据属性时出现“TypeError: undefined is not an object”
- javascript - 与 Google reCaptcha v3 相关的问题
- listview - 带有滚动条的 Flutter Listview