1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY lmdb-download-http "https://github.com/LMDB/lmdb/archive/LMDB_&lmdb-version;.tar.gz">
|
---|
8 | <!ENTITY lmdb-download-ftp " ">
|
---|
9 | <!ENTITY lmdb-md5sum "c3e3474daf4a59685d154cc7fc5c99ad">
|
---|
10 | <!ENTITY lmdb-size "144 KB">
|
---|
11 | <!ENTITY lmdb-buildsize "5.9 MB">
|
---|
12 | <!ENTITY lmdb-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="lmdb" xreflabel="lmdb-&lmdb-version;">
|
---|
16 | <?dbhtml filename="lmdb.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy: bdubbs $</othername>
|
---|
20 | <date>$Date: 2015-10-18 13:08:53 -0500 (Sun, 18 Oct 2015) $</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>lmdb-&lmdb-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="lmdb">
|
---|
26 | <primary sortas="a-lmdb">lmdb</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to lmdb</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>lmdb</application> package is a fast, compact, key-value
|
---|
34 | embedded data store. It uses memory-mapped files, so it has the read
|
---|
35 | performance of a pure in-memory database while still offering the
|
---|
36 | persistence of standard disk-based databases, and is only limited to the
|
---|
37 | size of the virtual address space
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs91_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&lmdb-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&lmdb-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &lmdb-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &lmdb-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &lmdb-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &lmdb-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <para condition="html" role="usernotes">
|
---|
77 | User Notes: <ulink url="&blfs-wiki;/lmdb"/>
|
---|
78 | </para>
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="installation">
|
---|
82 | <title>Installation of lmdb</title>
|
---|
83 |
|
---|
84 | <note><para>This package extracts to lmdb-LMDB_&lmdb-version;.</para></note>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | Install <application>lmdb</application> by running the following
|
---|
88 | commands:
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <screen><userinput>cd libraries/liblmdb &&
|
---|
92 | make &&
|
---|
93 | sed -i 's| liblmdb.a||' Makefile</userinput></screen>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | This package does not come with a test suite.
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="commands">
|
---|
108 | <title>Command Explanations</title>
|
---|
109 |
|
---|
110 | <!--para>
|
---|
111 | <command>sed ... prefix ... Makefile</command>: The Makefile creates the
|
---|
112 | man pages directory during install if it is not present.
|
---|
113 | This fixes the directory location.
|
---|
114 | </para-->
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <command>sed ... liblmdb.a ... Makefile</command>: The package executables
|
---|
118 | use a static library so it must be created. This command suppresses installation
|
---|
119 | of the static library.
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Program</segtitle>
|
---|
129 | <segtitle>Installed Library</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>
|
---|
134 | mdb_copy, mdb_dump, mdb_load, and mdb_stat
|
---|
135 | </seg>
|
---|
136 | <seg>
|
---|
137 | liblmdb.so
|
---|
138 | </seg>
|
---|
139 | <seg>
|
---|
140 | None
|
---|
141 | </seg>
|
---|
142 | </seglistitem>
|
---|
143 | </segmentedlist>
|
---|
144 |
|
---|
145 | <!-- TODO
|
---|
146 | <variablelist>
|
---|
147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
148 | <?dbfo list-presentation="list"?>
|
---|
149 | <?dbhtml list-presentation="table"?>
|
---|
150 |
|
---|
151 | <varlistentry id="lmdb_copy">
|
---|
152 | <term><command>lmdb_copy</command></term>
|
---|
153 | <listitem>
|
---|
154 | <para>
|
---|
155 | A tool to copy an LMDB environment.
|
---|
156 | </para>
|
---|
157 | <indexterm zone="lmdb lmdb_copy">
|
---|
158 | <primary sortas="b-lmdb_copy">lmdb_copy</primary>
|
---|
159 | </indexterm>
|
---|
160 | </listitem>
|
---|
161 | </varlistentry>
|
---|
162 | </variablelist>
|
---|
163 | -->
|
---|
164 | </sect2>
|
---|
165 |
|
---|
166 | </sect1>
|
---|