source: server/databases/sqlite.xml@ d60f0d5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 d60f0d5 was d60f0d5, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to sqlite-3.20.0.
Update to nmap-7.60.
Update to dhcp-4.3.6.
Update to poppler-0.57.0.
Update to ffmpeg-3.3.3.

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

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