Hi I want to install berkeley db in my MAC. My Xcode version is 4.5.2. I downloaded db-5.3.21(Berkeley) from oracle site.I installed command line tool for xcode. I installed berkeley db in my MAC for iPhoneSimulator. Where as for iPhone device I am unable to install. I am following below link for installing the berkeley db. http://docs.oracle.com/cd/E17076_02/html/installation/build_unix_iphone.html
When I am installing berkeley db for IOS device it is showing following error.
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
See config.log' for more details
............................... The error is telling that C compiler cannot create executables... But for iPhonesimulator it is not showing the error...
Any advice would be appreciated.