source: server/databases/sqlite.xml@ 5b50432

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 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 systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5b50432 was 5b50432, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to SQLite-3.7.14.1

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

  • Property mode set to 100644
File size: 6.6 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 "3071401">
8 <!ENTITY sqlite-doc-version "3071400">
9 <!ENTITY sqlite-download-http
10 "http://sqlite.org/sqlite-autoconf-&sqlite-dl-version;.tar.gz">
11 <!ENTITY sqlite-download-ftp " ">
12 <!ENTITY sqlite-md5sum "4cf3fd434bbb6e50777019ff3507bfa5">
13 <!ENTITY sqlite-size "1.8 MB">
14 <!ENTITY sqlite-buildsize "28 MB (includes optional documentation)">
15 <!ENTITY sqlite-time "0.2 SBU">
16
17 <!ENTITY sqlite-docs-md5sum "5eaeaa2d0aef3b2c980aa784846fd562">
18 <!ENTITY sqlite-docs-size "4 MB">
19 <!ENTITY sqlite-docs-download
20 "http://sqlite.org/sqlite-doc-&sqlite-doc-version;.zip">
21]>
22
23<sect1 id="sqlite" xreflabel="SQLite-&sqlite-version;">
24 <?dbhtml filename="sqlite.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>SQLite-&sqlite-version;</title>
32
33 <indexterm zone="sqlite">
34 <primary sortas="a-SQLite">SQLite</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to SQLite</title>
39
40 <para>
41 The <application>SQLite</application> package is a software library that
42 implements a self-contained, serverless, zero-configuration, transactional
43 SQL database engine.
44 </para>
45
46 &lfs72_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 <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 <para>
118 If you downloaded the optional documentation, issue the following command
119 to install the documentation into the source tree:
120 </para>
121
122<screen><userinput>unzip -q ../sqlite-doc-&sqlite-doc-version;.zip</userinput></screen>
123
124 <para>
125 Install <application>SQLite</application> by running the following
126 commands:
127 </para>
128
129<screen><userinput>./configure --prefix=/usr --disable-static \
130 CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" &amp;&amp;
131make</userinput></screen>
132
133 <para>
134 This package does not come with a test suite.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>make install</userinput></screen>
142
143 <para>
144 If you downloaded the optional documentation, issue the following commands
145 as the <systemitem class="username">root</systemitem> user to install it:
146 </para>
147
148<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
149cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
150 </sect2>
151
152 <sect2 role="commands">
153 <title>Command Explanations</title>
154
155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
156 href="../../xincludes/static-libraries.xml"/>
157
158 <para>
159 <parameter>CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE
160 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"</parameter>: Applications such as
161 <application>Firefox</application> require secure delete and enable unlock
162 notify to be turned on. The only way to do this is to include them in the
163 CFLAGS. By default, these are set to <literal>"-g -O2"</literal> so we
164 specify that to preserve those settings. You may, of course, wish to omit
165 the <literal>'-g'</literal> if you do not wish to create debugging
166 information. For further information on what can be specified see
167 <ulink url="http://www.sqlite.org/compile.html"/>.
168 </para>
169
170 </sect2>
171
172 <sect2 role="content">
173 <title>Contents</title>
174
175 <segmentedlist>
176 <segtitle>Installed Program</segtitle>
177 <segtitle>Installed Library</segtitle>
178
179 <seglistitem>
180 <seg>sqlite3</seg>
181 <seg>libsqlite3.so</seg>
182 </seglistitem>
183 </segmentedlist>
184
185 <variablelist>
186 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
187 <?dbfo list-presentation="list"?>
188 <?dbhtml list-presentation="table"?>
189
190 <varlistentry id="sqlite3">
191 <term><command>sqlite3</command></term>
192 <listitem>
193 <para>
194 A terminal-based front-end to the <application>SQLite</application>
195 library that can evaluate queries interactively and display the
196 results.
197 </para>
198 <indexterm zone="sqlite sqlite3">
199 <primary sortas="b-sqlite3">sqlite3</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="libsqlite3">
205 <term><filename class='libraryfile'>libsqlite3.so</filename></term>
206 <listitem>
207 <para>
208 contains the <application>SQLite</application> API functions.
209 </para>
210 <indexterm zone="sqlite libsqlite3">
211 <primary sortas="c-libsqlite3">libsqlite3.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215 </variablelist>
216 </sect2>
217</sect1>
Note: See TracBrowser for help on using the repository browser.