我想安装一些依赖关系flutter
,这就需要homebrew
。唯一的问题是自制软件没有安装任何工具。
例如,如果我都试一下brew install --HEAD libimobiledevice
,brew install ideviceinstaller
而且brew install ios-deploy
,它给了我下面的错误(有时略有不同)和工具不安装。
Last 15 lines from /Users/davidkeen/Library/Logs/Homebrew/makedepend/05.configure:
checking for rename... yes
checking for fchmod... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for X... configure: error: in `/private/tmp/makedepend-20180609-57475-hh24w0/makedepend-1.0.5':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables X_CFLAGS
and X_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.14.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
Error: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.
Error: You are using macOS 10.14.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
我要如何在macOS Mojave beta 1上安装这些依赖项?
请注意,该方法brew install cocoapods
有效,所以我不确定这是否是homebrew
或问题package
?