Coder Social home page Coder Social logo

aerospike-client-c's Introduction

Aerospike C Client API

This repository is a collection of C client libraries for interfacing with Aerospike database clusters.

BTJ Notes:

Build currently fails. Last at:

(cpython27) bjolit@BJOLIT1013mac:[aerospike-client-c] (osx-port)$ make CFLAGS+='-DOSX -I/usr/local/include' LDFLAGS+='-L/usr/local/lib -lcrypto -llua -lz' -C citrusleaf-base all
ar rcs target/Darwin-i386/lib/libaerospike-base.a target/Darwin-i386/obj/base/cf_alloc.o target/Darwin-i386/obj/base/cf_average.o target/Darwin-i386/obj/base/cf_client_rc.o target/Darwin-i386/obj/base/cf_hist.o target/Darwin-i386/obj/base/cf_log.o target/Darwin-i386/obj/base/cf_proto.o target/Darwin-i386/obj/base/cf_queue.o target/Darwin-i386/obj/base/cf_random.o target/Darwin-i386/obj/base/cf_service.o target/Darwin-i386/obj/base/cf_socket.o target/Darwin-i386/obj/base/cf_packet_compression.o
gcc -shared -Isrc/include -I/Users/bjolit/aerospike-client-c/aerospike-common/target/Darwin-i386/include -Wall -Winline -rdynamic -L/usr/local/lib -lcrypto -llua -lz -o target/Darwin-i386/lib/libaerospike-base.so target/Darwin-i386/obj/base/cf_alloc.o target/Darwin-i386/obj/base/cf_average.o target/Darwin-i386/obj/base/cf_client_rc.o target/Darwin-i386/obj/base/cf_hist.o target/Darwin-i386/obj/base/cf_log.o target/Darwin-i386/obj/base/cf_proto.o target/Darwin-i386/obj/base/cf_queue.o target/Darwin-i386/obj/base/cf_random.o target/Darwin-i386/obj/base/cf_service.o target/Darwin-i386/obj/base/cf_socket.o target/Darwin-i386/obj/base/cf_packet_compression.o
Undefined symbols for architecture x86_64:
  "_cf_bits_find_last_set_64", referenced from:
      _cf_histogram_insert_data_point in cf_hist.o
  "_cf_getms", referenced from:
      _cf_histogram_insert_data_point in cf_hist.o
      _cf_queue_pop in cf_queue.o
      _cf_socket_read_timeout in cf_socket.o
      _cf_socket_write_timeout in cf_socket.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [target/Darwin-i386/lib/libaerospike-base.so] Error 1
(cpython27) bjolit@BJOLIT1013mac:[aerospike-client-c] (osx-port)$ 

Modules

The C Client repository is composed of multiple modules. Each module is either a client library or shared module.

Each module has its own README.md and Makefile.

Please read the README.md for each module before using them or running make. The document contains information on prerequisites, usage and directory structure.

Usage

Please ensure you have resolved the prerequisites and dependencies in the README.me for each module before running commands accross all modules.

Cloning

To clone this repository, run:

$ git clone --recursive https://github.com/aerospike/aerospike-client-c.git

Build

To build all modules:

$ make

To build on OSX (this repo): $ brew install lua $ make CFLAGS='-DOSX -I/usr/local/include' LDFLAGS='-L/usr/local/lib -lcrypto -llua -lz'

To build a specific module:

$ make -C {module}

Clean

To clean all modules:

$ make clean

To clean a specific module:

$ make -C {module} clean

Other Targets

To run {target} on all module:

$ make {target}

To run {target} on a specific module:

$ make -C {module} {target}

aerospike-client-c's People

Contributors

bbulkow avatar bhuvanramk avatar briannichols avatar cstivers78 avatar gayathrikaliyamoorthy avatar gooding470 avatar kportertx avatar mukulagg avatar pratyyy avatar sunanda avatar sunilvirus avatar suzanne-aerospike avatar wchu-citrusleaf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.