我正试图在我的macbook上安装gphoto2。我从他们的网站和终端i cd Downloads安装了cd Downloads,并按照自述文件建议的方式运行./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?
发布于 2015-06-03 17:27:53
我可不想自己动手造它。我会从homebrew安装这里。
然后你就可以简单地
brew install gphoto2如果你以后想安装其他很酷的东西,比如ImageMagick,gawk,GNU,swatch,youtube-下载器,wxWidgets,贵宾,redis,sox,ffmpeg,你也会有一个不错的软件包管理器。要找到其他可以用homebrew管理的很酷的东西,只需做
brew searchhttps://stackoverflow.com/questions/30626224
复制相似问题