Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
couchbase storage file library
C C++ Python Lua

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
couchstore.xcodeproj
include/libcouchstore
m4
src
tests
win32
.gitignore
LICENSE
Makefile.am
README.md
config_static.h
configure.ac
csdata.md
libcouchstore.pc.in

README.md

Couchbase (.couch) storage file C library

Dependencies:

  • libei, from the erl_interface OTP library. Will be detected if erlang is installed.
  • snappy.
  • Lua interpreter, to run the test suite

How To Build:

  1. config/autorun.sh
  2. ./configure
  3. make

Build output library will be in the (invisible) .libs directory -- i.e. .libs/libcouchstore.dylib on Mac OS, or .libs/libcouchstore.so on Linux.

Tests:

  1. make test

This will run the native tests, and also the Lua tests if Lua was installed at the time the configure script ran.

If the tests pass, the output should look something like:

opening nonexistent file errors... OK
dump empty db...  OK
save_doc...  OK
save_docs...  OK
local docs...  OK
compressed bodies...  OK
changes no dupes...  OK
PASS: testapp
==================
All 1 tests passed
==================
Running lua tests.
Local doc test: PASS
Simple truncation test: PASS
Various mangling of headers: PASS
Explicit bulk test: PASS
Big bulk test: PASS
Something went wrong with that request. Please try again.