Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error coming while installing Berkeley database for IOS Device.

1003550Apr 17 2013 — edited Apr 17 2013
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...



Steps performed for installing Berkeley database for IOS device.

export DEV_iOS=/Developer/Platforms/iPhoneOS.platform/Developer
export SDK_iOS=${DEV_iOS}/SDKs/iPhoneOS6.0.sdk
export COMPILER_iOS=${DEV_iOS}/usr/bin
export CC=${COMPILER_iOS}/gcc
export CXX=${COMPILER_iOS}/g++

export CFLAGS="-arch armv6 -pipe -Os -gdwarf-2\
-no-cpp-precomp -mthumb -isysroot $SDKROOT "
export CXXFLAGS="-arch armv6 -pipe -Os -gdwarf-2\
-no-cpp-precomp -mthumb -isysroot $SDKROOT "


export CFLAGS=${LDFLAGS}
export CXXFLAGS=${LDFLAGS}
//export CPP=”/usr/bin/cpp ${CPPFLAGS}”
export LD=${COMPILER_iOS}/ld
export AR=${COMPILER_iOS}/ar
export AS=${COMPILER_iOS}/as
export NM=${COMPILER_iOS}/nm
export RANLIB=${COMPILER_iOS}/ranlib

../dist/configure --host=arm-apple-darwin9\
--prefix=$SDKROOT ...



Same steps i performed for iPHONESIMULATOR. But at that time c complier works fine. But while i am try to install for IOS device it is showing above error.

Can we need any license software for this installation. Could any one please provide exact document regarding installation for IOS device.



Any advice would be appreciated.

Edited by: 1000547 on Apr 17, 2013 12:58 AM

Edited by: 1000547 on Apr 17, 2013 1:03 AM

Edited by: 1000547 on Apr 17, 2013 2:31 AM

Comments

786369
If the target node for your operation is a sibling, I believe you're going to have to pass the parent node of the sibling into the AddNode() API call when this operation occurs within a version. Note that copyNodesAcrossVersions is a new method that has a copyAsSibling parameter, but AddNode() does not.

Edited by: Naren Truelove on Nov 12, 2012 3:12 PM

...grammatical correction...
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 15 2013
Added on Apr 17 2013
0 comments
307 views