Giter Site home page Giter Site logo

yottadb's Introduction

YottaDB

All software in this package is part of YottaDB (http://yottadb.com) each file of which identifies its copyright holders. The software is made available to you under the terms of a license. Refer to the LICENSE file for details.

YottaDB relies on CMake to generate the Makefiles to build binaries from source. The prerequisites are CMake (at least 2.8.5), GNU make (at least 3.81), Linux (x86_64), libraries and development files for libz, Unicode, OpenSSL and GPG. Ubuntu 16.04 LTS was used to test the builds for this distribution, with default versions of packages from the distribution repositories.

How to build

  1. Fulfill the pre-requisites

    Install developement libraries

     Ubuntu Linux OR Raspbian Linux OR Beagleboard Debian
     sudo aptitude install cmake tcsh {libconfig,libelf,libgcrypt,libgpg-error,libgpgme11,libicu,libncurses,libssl,zlib1g}-dev
    
     Arch Linux
     sudo pacman -S cmake tcsh {libconfig,libelf,libgcrypt,libgpg-error,gpgme,icu,ncurses,openssl,zlib}
    
     CentOS Linux OR RedHat Linux
     sudo yum install git gcc cmake tcsh {libconfig,gpgme,libicu,libgpg-error,libgcrypt,ncurses,openssl,zlib,elfutils-libelf}-devel

    There may be other library dependencies or the packages may have different names. If CMake issues a NOTFOUND error, please see the FAQ below.

  2. Unpack the YottaDB sources

    The YottaDB source tarball extracts to a directory with the version number in the name, i.e. yottadb_r110

    $ tar xfz yottadb_r110_src.tar.gz
    $ cd yottadb_r110_src

    You should find this README, LICENSE, COPYING and CMakeLists.txt file and sr_* source directories.

  3. Build the YottaDB binaries

    $ mkdir build
    $ cd build

    By default the script creates production (pro) builds of YottaDB. To create a debug (dbg) build of YottaDB supply the following parameter to cmake -D CMAKE_BUILD_TYPE=Debug Note: title case is important

    $ cmake -D CMAKE_INSTALL_PREFIX:PATH=$PWD ../
    $ make -j `grep -c ^processor /proc/cpuinfo`
    $ make install
    $ cd yottadb_r110

Note that the make install done above does not create the final installed YottaDB. Instead, it stages YottaDB for distribution.

Now you are ready to install YottaDB. The default installation path is /usr/local/lib/yottadb/r110 but can be controlled using the --installdir option. Run ./ydbinstall --help for a list of options.

$ sudo ./ydbinstall
$ cd - ; make clean
  1. Packaging YottaDB

    Create a tar file from the installed directory

FAQ

  • The CMake build fails with the following message followed by one or more cases. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: This indicates that required libraries are not found. Please consult the list of libraries and check your distributions package manager.

yottadb's People

Contributors

nars1 avatar shabiel avatar sljohnson1 avatar ksbhaskar avatar estess avatar christopheredwards avatar kdrozd avatar ashok-bhaskar-yottadb avatar

Watchers

James Cloos avatar Sergey 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.