electronic.alchemy :: ejdb
electronic.alchemy
where the past meets the future
pike > ejdb

ejdb

Created by hww3. Last updated by hww3, 9 years ago. Version #2.

EJDB is an embedded schemaless database library, with a number of features inspired by MongoDB.

Build notes for EJDB on Solaris

NOTE: most of these fixes have been contributed to the EJDB project. As a result, this page is mostly historical. Note, though, that the gcc version 3.4.2 supplied with Solaris 10 contains buggy header files, and thus should be upgraded to 3.4.3 or higher. Failure to upgrade will result in an inability to build EJDB.

There are a few "linuxisms" in this library that need to be worked around. This should contain the complete list of things needed to get EJDB to build and install on Solaris/OpenIndiana.

  1. Install math.h
  2. Add the following to tcejdb/tcejdbutil.h:
// These are defined in a really funky place in Solaris.
#ifndef MIN
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif

#ifndef MAX
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#endif
  1. Run "gmake"
  2. Edit tcejdb/Makefile, replacing calls to "install" with "ginstall".
  3. Run Make install.

Not categorized | RSS Feed | BackLinks

comments powered by Disqus