source: server/databases/sqlite.xml@ 2dcd27e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2dcd27e was 2dcd27e, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • BIND-9.10.3-P3: fix URL of "BIND 9 Administrator Reference Manual".
  • Graphite2-1.3.5: add dblatex as optional dependency.
  • Update to Module-Build-0.4216 (perl module).
  • Update to dhcpcd-6.10.1.
  • Update to ntp-4.2.8p6.
  • Update to sqlite-autoconf-3100200 (3.10.2).
  • Update to libsecret-0.18.4.
  • Update to gedit-3.18.3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16828 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.3 KB
Line 
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 sqlite-dl-version "3100200">
8 <!ENTITY sqlite-doc-version "3100200">
9
10 <!ENTITY sqlite-download-http "http://sqlite.org/2016/sqlite-autoconf-&sqlite-dl-version;.tar.gz">
11 <!ENTITY sqlite-download-ftp " ">
12 <!ENTITY sqlite-md5sum "adaa31593bb5605ec6d6f34f81b43008">
13 <!ENTITY sqlite-size "2.3 MB">
14 <!ENTITY sqlite-buildsize "73 MB (with Optional Documentation)">
15 <!ENTITY sqlite-time "0.3 SBU">
16
17 <!ENTITY sqlite-docs-download "http://sqlite.org/2016/sqlite-doc-&sqlite-doc-version;.zip">
18 <!ENTITY sqlite-docs-md5sum "08f301085279c2e4451f7dd568342943">
19 <!ENTITY sqlite-docs-size "5.2 MB">
20]>
21
22<sect1 id="sqlite" xreflabel="SQLite-&sqlite-version;">
23 <?dbhtml filename="sqlite.html"?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
29
30 <title>SQLite-&sqlite-version;</title>
31
32 <indexterm zone="sqlite">
33 <primary sortas="a-SQLite">SQLite</primary>
34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to SQLite</title>
38
39 <para>
40 The <application>SQLite</application> package is a software library that
41 implements a self-contained, serverless, zero-configuration, transactional
42 SQL database engine.
43 </para>
44
45 &lfs78_checked;
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>
51 Download (HTTP): <ulink url="&sqlite-download-http;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download (FTP): <ulink url="&sqlite-download-ftp;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download MD5 sum: &sqlite-md5sum;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download size: &sqlite-size;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated disk space required: &sqlite-buildsize;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated build time: &sqlite-time;
77 </para>
78 </listitem>
79 </itemizedlist>
80
81 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
82 <itemizedlist spacing="compact">
83 <title>Optional Documentation</title>
84 <listitem>
85 <para>
86 Download (HTTP): <ulink url="&sqlite-docs-download;"/>
87 </para>
88 </listitem>
89 <listitem>
90 <para>
91 Download MD5 sum: &sqlite-docs-md5sum;
92 </para>
93 </listitem>
94 <listitem>
95 <para>
96 Download size: &sqlite-docs-size;
97 </para>
98 </listitem>
99 </itemizedlist>
100
101 <bridgehead renderas="sect3">SQLite Dependencies</bridgehead>
102
103 <bridgehead renderas="sect4">Optional</bridgehead>
104 <para role="optional">
105 <ulink url="http://www.thrysoee.dk/editline/">libedit</ulink> and
106 <xref linkend="unzip"/> (required to unzip the documentation)
107 </para>
108
109 <para condition="html" role="usernotes">
110 User Notes: <ulink url="&blfs-wiki;/sqlite"/>
111 </para>
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of SQLite</title>
116
117 <note>
118 <para>
119 This package does not support parallel build.
120 </para>
121 </note>
122
123 <para>
124 If you downloaded the optional documentation, issue the following command
125 to install the documentation into the source tree:
126 </para>
127
128<screen><userinput>unzip -q ../sqlite-doc-&sqlite-doc-version;.zip</userinput></screen>
129
130 <para>
131 Install <application>SQLite</application> by running the following
132 commands:
133 </para>
134
135<screen><userinput>./configure --prefix=/usr --disable-static \
136 CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
137 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
138 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
139 -DSQLITE_SECURE_DELETE=1 \
140 -DSQLITE_ENABLE_DBSTAT_VTAB=1" &amp;&amp;
141make -j1</userinput></screen>
142
143 <para>
144 This package does not come with a test suite.
145 </para>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>make install</userinput></screen>
152
153 <para>
154 If you downloaded the optional documentation, issue the following commands
155 as the <systemitem class="username">root</systemitem> user to install it:
156 </para>
157
158<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
159cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
160
161 </sect2>
162
163 <sect2 role="commands">
164 <title>Command Explanations</title>
165
166 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
167 href="../../xincludes/static-libraries.xml"/>
168
169 <para>
170 <parameter>CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1
171 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE
172 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1"</parameter>:
173 Applications such as <application>Firefox</application> require secure
174 delete and enable unlock notify to be turned on. Since
175 <application>firefox-41</application> the dbstat virtual table is also
176 required. The only way to do this is to include them in the
177 CFLAGS. By default, these are set to <literal>"-g -O2"</literal> so we
178 specify that to preserve those settings. You may, of course, wish to omit
179 the <literal>'-g'</literal> if you do not wish to create debugging
180 information. For further information on what can be specified see
181 <ulink url="http://www.sqlite.org/compile.html"/>.
182 </para>
183
184 </sect2>
185
186 <sect2 role="content">
187 <title>Contents</title>
188
189 <segmentedlist>
190 <segtitle>Installed Program</segtitle>
191 <segtitle>Installed Library</segtitle>
192 <segtitle>Installed Directory</segtitle>
193
194 <seglistitem>
195 <seg>
196 sqlite3
197 </seg>
198 <seg>
199 libsqlite3.so
200 </seg>
201 <seg>
202 /usr/share/doc/sqlite-&sqlite-version;
203 </seg>
204 </seglistitem>
205 </segmentedlist>
206
207 <variablelist>
208 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
209 <?dbfo list-presentation="list"?>
210 <?dbhtml list-presentation="table"?>
211
212 <varlistentry id="sqlite3">
213 <term><command>sqlite3</command></term>
214 <listitem>
215 <para>
216 A terminal-based front-end to the <application>SQLite</application>
217 library that can evaluate queries interactively and display the
218 results.
219 </para>
220 <indexterm zone="sqlite sqlite3">
221 <primary sortas="b-sqlite3">sqlite3</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 <varlistentry id="libsqlite3">
227 <term><filename class="libraryfile">libsqlite3.so</filename></term>
228 <listitem>
229 <para>
230 contains the <application>SQLite</application> API functions.
231 </para>
232 <indexterm zone="sqlite libsqlite3">
233 <primary sortas="c-libsqlite3">libsqlite3.so</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 </variablelist>
239
240 </sect2>
241
242</sect1>
Note: See TracBrowser for help on using the repository browser.