Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Full source build of Android stuff.
Shell Perl JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build/deps
oldnotes - Tweak or fix paths where appropriate; add old notes and patches for…
patches
scripts
.gitignore
README.markdown
build.all
build.couch
build.couchservice
build.erlang
build.final
build.geocouch removed support for downloading NDK
build.js removed support for downloading NDK
build.nspr
build.openssl
build.resetmz

README.markdown

Building Couchbase Mobile for Android

These instructions are for building Couchbase Mobile for Android binaries from source. This involves building openssl, spidermonkey, erlang, CouchDB, GeoCouch, and the Couchbase Mobile Android Service from source.

It is currently aimed to work on Ubuntu 10.10, 11.04 and Debian Squeeze x86 32bit, other platforms should be possible.

Dependencies

You will also need to create a staging directory for the installation process:

# Mimic the data layout on the device
sudo mkdir /data
sudo chown dale:dale /data

Set environment variables pointing to location of SDK and NDK (or edit scripts/env)

export ANDROID_NDK_ROOT=...
export ANDROID_SDK_ROOT=...

Usage

$ ./build.openssl
$ ./build.resetmz
$ ./build.nspr
$ ./build.js
$ ./build.erlang
$ ./build.couch
$ ./build.geocouch
$ ./build.couchservice 2.0.0-dp r14b03
$ ./build.final 2.0.0-dp r14b03

Credits

Original port by Aaron Miller (https://github.com/apage43).

Updated port, patches and build scripts by Matt Adams (http://radicaldynamic.com) based on Aaron's work and using patches to CouchDB from Chris C. Coulson (https://launchpad.net/~chrisccoulson) for compatibility with newer versions of libjs.

Further work on the build system by Dale Harvey (http://arandomurl.com) and Matt Adams.

Something went wrong with that request. Please try again.