<?xml version="1.0"?>
<rss version="2.0">
  <channel><title>ejdb</title><link>http://bill.welliver.org//space/pike/ejdb</link><description>&lt;a href="http://ejdb.org" class="wiki_link_external" &gt;EJDB&lt;/a&gt; is an embedded schemaless database library, with a number of features inspired by MongoDB.&lt;p class="paragraph"/&gt;
&lt;b class="bold"&gt;Build notes for EJDB on Solaris&lt;/b&gt;&lt;p class="paragraph"/&gt;
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.&lt;p class="paragraph"/&gt;
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.&#xD;
&lt;ol&gt;
&lt;li&gt;Install math.h&lt;/li&gt;
&lt;li&gt;Add the following to tcejdb/tcejdbutil.h:&lt;/li&gt;
&lt;/ol&gt;&lt;div class="code"&gt;&lt;pre&gt;&lt;pre&gt;&#xD;
&lt;font color=red&gt;// These are defined in a really funky place in Solaris.&#xD;
&lt;/font&gt;&lt;font color=brown&gt;#ifndef MIN&#xD;
&lt;/font&gt;&lt;font color=brown&gt;#define MIN(a, b) ((a) &amp;lt; (b) ? (a) : (b))&#xD;
&lt;/font&gt;&lt;font color=brown&gt;#endif&#xD;
&lt;/font&gt;&#xD;
&lt;font color=brown&gt;#ifndef MAX&#xD;
&lt;/font&gt;&lt;font color=brown&gt;#define MAX(a, b) ((a) &amp;gt; (b) ? (a) : (b))&#xD;
&lt;/font&gt;&lt;font color=brown&gt;#endif&#xD;
&lt;/font&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Run "gmake"&lt;/li&gt;
&lt;li&gt;Edit tcejdb/Makefile, replacing calls to "install" with "ginstall".&lt;/li&gt;
&lt;li&gt;Run Make install.&lt;/li&gt;
&lt;/ol&gt;</description><generator>Fins 0.9.7</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs></channel>
</rss>
