【问题标题】:Need to install Watchman version 4.9.0 on a mac需要在mac上安装Watchman 4.9.0版本
【发布时间】:2021-11-14 15:03:45
【问题描述】:

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.

我怀疑的原因是并非所有相同的 linux 软件包都可以在 mac 上使用。我怎样才能让它在 Mac 上运行?

【问题讨论】:

  • 在运行react-native doctor 之后,我发现自己也在问同样的问题。它输出 ✖ Watchman - Used for watching changes in the filesystem when in development mode - Version found: 2021.09.13.00 - Version supported: 4.x 但我的版本比 4.x bc 更新 FB 特别声明“注意:二进制文件仅由 master 构建。我们不提供 v4.9.0 的二进制文件”我想知道 doctor 是否标记了假阴性。他们甚至不再使用semver 的那种形式。因此,除非有使用 4.9 的特定原因,否则我会抓住最新的并继续前进。
  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: macos installation version watchman


【解决方案1】:
// autoconf@2.7
brew uninstall autoconf
brew install autoconf@2.6.9
//pass
./autogen.sh 

只需运行 ./autogen.sh

【讨论】:

    猜你喜欢
    • 2021-12-06
    • 2020-01-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多