source: server/databases/sqlite.xml@ 985d9e0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.7 7.8 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 krejzi/svn 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 985d9e0 was 985d9e0, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

ICU-53.1: not anymore broken with clang++.
Revert 'add optional instructions for sqlite-tcl to SQLite-3.8.6'.

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

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