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
RevLine 
[e2a0e91]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
[d60f0d5]7 <!ENTITY sqlite-dl-version "3200000">
8 <!ENTITY sqlite-doc-version "3200000">
[8cce479c]9
[66a6477]10 <!ENTITY sqlite-download-http "http://sqlite.org/2017/sqlite-autoconf-&sqlite-dl-version;.tar.gz">
[e2a0e91]11 <!ENTITY sqlite-download-ftp " ">
[d60f0d5]12 <!ENTITY sqlite-md5sum "e262a28b73cc330e7e83520c8ce14e4d">
[c6135f81]13 <!ENTITY sqlite-size "2.4 MB">
[0ca1d21]14 <!ENTITY sqlite-buildsize "48 MB (with docs)">
15 <!ENTITY sqlite-time "0.4 SBU">
[e5085ae1]16
[c6e34f8]17 <!ENTITY sqlite-docs-download "http://sqlite.org/2017/sqlite-doc-&sqlite-doc-version;.zip">
[d60f0d5]18 <!ENTITY sqlite-docs-md5sum "ed8f9d7dfb410853619e195af2e73250">
19 <!ENTITY sqlite-docs-size "5.5 MB">
[e2a0e91]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
[a26f3f8f]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>
[e2a0e91]44
[89f706b2]45 &lfs80_checked;
[0ca1d21]46 &gcc7_checked;
[49f7d8b]47
[e2a0e91]48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
[a26f3f8f]51 <para>
52 Download (HTTP): <ulink url="&sqlite-download-http;"/>
53 </para>
[e2a0e91]54 </listitem>
55 <listitem>
[a26f3f8f]56 <para>
57 Download (FTP): <ulink url="&sqlite-download-ftp;"/>
58 </para>
[e2a0e91]59 </listitem>
60 <listitem>
[a26f3f8f]61 <para>
62 Download MD5 sum: &sqlite-md5sum;
63 </para>
[e2a0e91]64 </listitem>
65 <listitem>
[a26f3f8f]66 <para>
67 Download size: &sqlite-size;
68 </para>
[e2a0e91]69 </listitem>
70 <listitem>
[a26f3f8f]71 <para>
72 Estimated disk space required: &sqlite-buildsize;
73 </para>
[e2a0e91]74 </listitem>
75 <listitem>
[a26f3f8f]76 <para>
77 Estimated build time: &sqlite-time;
78 </para>
[e2a0e91]79 </listitem>
80 </itemizedlist>
81
[10e02da]82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
83 <itemizedlist spacing="compact">
84 <title>Optional Documentation</title>
85 <listitem>
[a26f3f8f]86 <para>
87 Download (HTTP): <ulink url="&sqlite-docs-download;"/>
88 </para>
[10e02da]89 </listitem>
90 <listitem>
[a26f3f8f]91 <para>
92 Download MD5 sum: &sqlite-docs-md5sum;
93 </para>
[10e02da]94 </listitem>
95 <listitem>
[a26f3f8f]96 <para>
97 Download size: &sqlite-docs-size;
98 </para>
[10e02da]99 </listitem>
100 </itemizedlist>
[e2a0e91]101
[780294af]102 <bridgehead renderas="sect3">SQLite Dependencies</bridgehead>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
[a26f3f8f]105 <para role="optional">
[39ffbd0]106 <ulink url="http://www.thrysoee.dk/editline/">libedit</ulink> and
[85e109d]107 <xref linkend="unzip"/> (required to unzip the documentation)
[a26f3f8f]108 </para>
[e2a0e91]109
[a26f3f8f]110 <para condition="html" role="usernotes">
111 User Notes: <ulink url="&blfs-wiki;/sqlite"/>
112 </para>
[e2a0e91]113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of SQLite</title>
117
[a26f3f8f]118 <para>
119 If you downloaded the optional documentation, issue the following command
120 to install the documentation into the source tree:
121 </para>
[e5085ae1]122
[5b50432]123<screen><userinput>unzip -q ../sqlite-doc-&sqlite-doc-version;.zip</userinput></screen>
[e5085ae1]124
[a26f3f8f]125 <para>
126 Install <application>SQLite</application> by running the following
127 commands:
128 </para>
[e2a0e91]129
[8cce479c]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 \
[0bcaa9a6]134 -DSQLITE_SECURE_DELETE=1 \
135 -DSQLITE_ENABLE_DBSTAT_VTAB=1" &amp;&amp;
[41745476]136make</userinput></screen>
[e2a0e91]137
[a26f3f8f]138 <para>
139 This package does not come with a test suite.
140 </para>
[e2a0e91]141
[a26f3f8f]142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
[e2a0e91]145
146<screen role="root"><userinput>make install</userinput></screen>
147
[a26f3f8f]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>
[e5085ae1]152
[780294af]153<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
[5b50432]154cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
[85e109d]155
[e2a0e91]156 </sect2>
157
[bdf24aa4]158 <sect2 role="commands">
159 <title>Command Explanations</title>
160
[a26f3f8f]161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[10a480a]162 href="../../xincludes/static-libraries.xml"/>
[a26f3f8f]163
164 <para>
[8cce479c]165 <parameter>CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1
[464f030]166 <!-- insecure, see below: -DSQLITE_ENABLE_FTS3_TOKENIZER=1 -->
167 -DSQLITE_ENABLE_COLUMN_METADATA=1
[7594f10]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
[464f030]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
[7594f10]177 table is also required. The only way to do this is to include them in the
[a26f3f8f]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
[7594f10]181 information. For further information on what can be specified see <ulink
182 url="http://www.sqlite.org/compile.html"/>.
[a26f3f8f]183 </para>
184
[bdf24aa4]185 </sect2>
186
[e2a0e91]187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Program</segtitle>
[985d9e0]192 <segtitle>Installed Library</segtitle>
193 <segtitle>Installed Directory</segtitle>
[e2a0e91]194
195 <seglistitem>
[8cce479c]196 <seg>
197 sqlite3
198 </seg>
199 <seg>
[985d9e0]200 libsqlite3.so
[8cce479c]201 </seg>
202 <seg>
203 /usr/share/doc/sqlite-&sqlite-version;
204 </seg>
[e2a0e91]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>
[a26f3f8f]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>
[e2a0e91]221 <indexterm zone="sqlite sqlite3">
222 <primary sortas="b-sqlite3">sqlite3</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libsqlite3">
[8cce479c]228 <term><filename class="libraryfile">libsqlite3.so</filename></term>
[e2a0e91]229 <listitem>
[a26f3f8f]230 <para>
231 contains the <application>SQLite</application> API functions.
232 </para>
[e2a0e91]233 <indexterm zone="sqlite libsqlite3">
[1f95134]234 <primary sortas="c-libsqlite3">libsqlite3.so</primary>
[e2a0e91]235 </indexterm>
236 </listitem>
237 </varlistentry>
[8cce479c]238
[e2a0e91]239 </variablelist>
[8cce479c]240
[e2a0e91]241 </sect2>
[8cce479c]242
[e2a0e91]243</sect1>
Note: See TracBrowser for help on using the repository browser.