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
Tree: 81bfa7f377

added missing http_util.beam needed for oauth

Change-Id: I332acd1ee10c6100c30f034b0bbf0eaa9d3605de
Reviewed-on: http://review.couchbase.org/11642
Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
Tested-by: Marty Schoch <marty.schoch@gmail.com>
latest commit 81bfa7f377
@mschoch mschoch authored
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
build.js
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.