Giter Site home page Giter Site logo

citrusleaf-client's Introduction

#C Client Installation for Linux

Aerospike client from here

libc and openssl packages must be installed to compile the client library.

For Debian-based distributions, execute:

    sudo apt-get install libc6-dev libssl-dev

For redhat derived distributions such as Fedora Core and Centos, excute:

    sudo yum install openssl-devel glibc-devel

Installation of these packages will also install gcc. gcc -version must show a version of 4.1 or better. g++ is also supported with the same version restriction.

How to build

The C client can be built with the default Makefile:

    make

A static (libcitrusleaf.a) and dynamic (libcitrusleaf-<version>.so.1) library will be created in the lib directory. Static linking prevents you from having to install the libraries on your target platform. Dynamic linking avoids a client rebuild if you upgrade the client. Choose the option that is right for you.

The root level 'Makefile' automatically executed make -f src/Makefile.native , which uses that GCC -march=noarch as a compilation target. Other examples, such as src/Makefile.32 and src/Makefile.64, build explicitly for 32 and 64 bit environments.

How to Install

The C client can be installed with Makefile:

    make install

A static (libcitrusleaf.a) and dynamic (libcitrusleaf-<version>.so.1) library will be created in the /usr/local/lib directory. Headers files will be created at /usr/local/include directory.

You can specify installation folder:

    make install PREFIX=/var/tmp

citrusleaf-client's People

Contributors

sharpyfox avatar

Stargazers

 avatar  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.