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