【发布时间】:2015-06-03 16:55:14
【问题描述】:
我正在尝试在我的 macbook pro 上安装 gphoto2。我从他们的网站和终端 I cd Downloads 安装了 tar.gz,并按照 README 文件的建议运行 ./configure。我不断收到此错误:
checking for pkg-config... false
configure: error:
*** Build requires pkg-config
***
*** Possible solutions:
*** - set PKG_CONFIG to where your pkg-config is located
*** - set PATH to include the directory where pkg-config is installed
*** - get it from http://freedesktop.org/software/pkgconfig/ and install it
我安装了 Xcode 6 以及命令行工具(通过在终端中运行 gcc 对其进行了测试)。我究竟做错了什么?我该怎么办?
另外,我应该安装 gphoto2 还是 libgphoto2?
【问题讨论】:
-
which pkg-config说什么?
标签: xcode macos terminal libgphoto2