【发布时间】:2014-04-23 22:22:21
【问题描述】:
我正在尝试安装一些软件,但一直收到错误消息:
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.
我刚刚安装了brew 命令,并尝试使用它来安装pkg-config。它说它已经安装了。
我确定它在通过export PATH=$PATH:/usr/bin/pkg-config 的路径中。
另外,尝试安装 glib,它说我缺少 libfft。我使用brew install libfft 来安装这个丢失的包。但是,我仍然收到一条消息,指出它不存在。这是一个新的 mac,所以可能没有正确的目录?
任何帮助将不胜感激,因为我已经迷路了。
【问题讨论】:
标签: macos homebrew pkg-config