source: server/databases/sqlite.xml@ 2870db0

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 2870db0 was 2870db0, checked in by Krejzi <krejzi@…>, 12 years ago

Mark some packages as 7.2 checked. Part 12 - Servers and Databases.

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

  • Property mode set to 100644
File size: 6.7 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 "3071300">
8 <!ENTITY sqlite-download-http
9 "http://sqlite.org/sqlite-autoconf-&sqlite-dl-version;.tar.gz">
10 <!ENTITY sqlite-download-ftp " ">
11 <!ENTITY sqlite-md5sum "c97df403e8a3d5b67bb408fcd6aabd8e">
12 <!ENTITY sqlite-size "1.8 MB">
13 <!ENTITY sqlite-buildsize "41 MB (includes optional documentation)">
14 <!ENTITY sqlite-time "0.2 SBU">
15
16 <!ENTITY sqlite-docs-md5sum "16a003d5a619a6c725e3d81cf5aaba2a">
17 <!ENTITY sqlite-docs-size "3.7 MB">
18 <!ENTITY sqlite-docs-download
19 "http://sqlite.org/sqlite-doc-&sqlite-dl-version;.zip">
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 &lfs72_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 <xref linkend="unzip"/> (required to unzip the documentation).
106 </para>
107
108 <para condition="html" role="usernotes">
109 User Notes: <ulink url="&blfs-wiki;/sqlite"/>
110 </para>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of SQLite</title>
115
116 <para>
117 If you downloaded the optional documentation, issue the following command
118 to install the documentation into the source tree:
119 </para>
120
121<screen><userinput>unzip -q ../sqlite-doc-&sqlite-dl-version;.zip</userinput></screen>
122
123 <para>
124 Install <application>SQLite</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>./configure --prefix=/usr --disable-static \
129 CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" &amp;&amp;
130make</userinput></screen>
131
132 <para>
133 This package does not come with a test suite.
134 </para>
135
136 <para>
137 Now, as the <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"><userinput>make install</userinput></screen>
141
142 <para>
143 If you downloaded the optional documentation, issue the following commands
144 as the <systemitem class="username">root</systemitem> user to install it:
145 </para>
146
147<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
148cp -v -R sqlite-doc-&sqlite-dl-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
155 href="../../xincludes/static-libraries.xml"/>
156
157 <para>
158 <parameter>CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE
159 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"</parameter>: Applications such as
160 <application>Firefox</application> require secure delete and enable unlock
161 notify to be turned on. The only way to do this is to include them in the
162 CFLAGS. By default, these are set to <literal>"-g -O2"</literal> so we
163 specify that to preserve those settings. You may, of course, wish to omit
164 the <literal>'-g'</literal> if you do not wish to create debugging
165 information. For further information on what can be specified see
166 <ulink url="http://www.sqlite.org/compile.html"/>.
167 </para>
168
169 <para>
170 <option>-DSQLITE_ENABLE_COLUMN_METADATA</option>: Add this to the CFLAGS
171 if you want to use this as a system version for <xref linkend="libgda"/>.
172 </para>
173 </sect2>
174
175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Program</segtitle>
180 <segtitle>Installed Library</segtitle>
181
182 <seglistitem>
183 <seg>sqlite3</seg>
184 <seg>libsqlite3.so</seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <varlistentry id="sqlite3">
194 <term><command>sqlite3</command></term>
195 <listitem>
196 <para>
197 A terminal-based front-end to the <application>SQLite</application>
198 library that can evaluate queries interactively and display the
199 results.
200 </para>
201 <indexterm zone="sqlite sqlite3">
202 <primary sortas="b-sqlite3">sqlite3</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="libsqlite3">
208 <term><filename class='libraryfile'>libsqlite3.so</filename></term>
209 <listitem>
210 <para>
211 contains the <application>SQLite</application> API functions.
212 </para>
213 <indexterm zone="sqlite libsqlite3">
214 <primary sortas="c-libsqlite3">libsqlite3.so</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218 </variablelist>
219 </sect2>
220</sect1>
Note: See TracBrowser for help on using the repository browser.