我从github link https://github.com/facebook/watchman.git找到了watchman,然后我找到了watchman文件夹并try 了这个

./autogen.sh 

./autogen.sh: 9: ./autogen.sh: aclocal: not found

./autogen.sh: 10: ./autogen.sh: autoheader: not found

./autogen.sh: 11: ./autogen.sh: automake: not found

./autogen.sh: 12: ./autogen.sh: autoconf: not found

为什么?我有python 2.7.9个.

这可能是原因吗?(我使用ubuntu 15.04 btw)

推荐答案

你需要安装每个丢失的软件包.

例如在ubuntu上:

$ sudo apt-get install automake  <=== contains autoheader, ...
$ sudo apt-get install autoconf

如果你最终出现了一系列错误,比如AC_*undefined,那么你可能需要一个更为最新的automake版本.您可以从gnu repo下载源代码...见:https://www.gnu.org/software/automake/

React-native相关问答推荐

复活的夹子在Panguesture上崩溃

react 本机中的TextInput对齐中的长文本

react-native-fs 改变 toUrl 本身

react-native 根据状态隐藏显示按钮

如何在 react-native 中刷新 Flatlist 数据?

react native HTML entities

React Native Ios错误 - ENOENT:no such file or directory, uv_cwd (null)

React Native 用于低互联网带宽的小型 apk APP应用

检索元素的父项时出错:找不到与给定名称android:TextAppearance.Material.Widget.Button.Colored匹配的资源

Invariant Violation:requireNativeComponent: "RNCWebView" was not found in the UIManager

react-native 链接仅适用于一个项目(Android 或 iOS)

React-navigation:增加底部标签导航的高度?

在本react-native中具有异步和等待的箭头函数

更新 this.state.dataSource 不会更新 ListView

如何在 Expo 和 React Native 中使用绝对路径导入?

带有父 PanResponder 的 TouchableOpacity

按钮的标题属性必须是字符串

Mapping children of a parent component

React Native 中的 CSS 三角形

如何允许 react-native 启用对 JSX(扩展)文件的支持