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