0

嗨,我想在我的 MAC 中安装 berkeley db。我的 Xcode 版本是 4.5.2。我从 oracle 站点下载了 db-5.3.21(Berkeley)。我为 xcode 安装了命令行工具。我在我的 MAC 中为 iPhoneSimulator 安装了 berkeley db。至于 iPhone 设备,我无法安装。我正在按照以下链接安装 berkeley db。 http://docs.oracle.com/cd/E17076_02/html/installation/build_unix_iphone.html

当我为 IOS 设备安装 berkeley db 时,它显示以下错误。

checking for arm-apple-darwin11.4.2-sh... no checking for sh... /bin/sh checking for a BSD-compatible install... /usr/bin/install -c checking for arm-apple-darwin11.4.2-cc... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc checking whether the C compiler works... no configure: error: in /Users/celstra/rajaramesh/db-5.3.21/build_unix': configure: error: C compiler cannot create executables config.log' for more details

.............................错误告诉C编译器无法创建可执行文件......但对于iPhonesimulator它不是显示错误...

任何意见,将不胜感激。

4

1 回答 1

0

你检查过 config.log 吗?在 C 编译器检查期间可能出现问题,例如找不到头文件,...

于 2013-04-17T16:07:10.497 回答