source: server/databases/sqlite.xml@ a26f3f8f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a26f3f8f was a26f3f8f, checked in by Andrew Benton <andy@…>, 12 years ago

sqlite-3.7.11

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

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