我无法在 OX 10.9 上编译 MongoDB PHP 驱动程序,它停在"检查 ANSI C 头文件..."
./configure
.
.
.
checking for ld used by cc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files...
有人可以帮忙吗?
升级到Mavericks后,您可能需要再次安装XCode。虽然这是一个"停下来"的奇怪地方,但我想你的环境被小牛队的升级弄得有点扭曲。
这至少是卡在 PHP Mongo 安装的解决方案 - 尽管它并没有停在同一个地方。