source: server/databases/sqlite.xml@ 85e109d

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 85e109d was 85e109d, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

tcl-8.6.2: fixes for the build instructions.
Add optional instructions for sqlite-tcl to SQLite-3.8.6.

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

  • Property mode set to 100644
File size: 7.9 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
[6e08e9c0]7 <!ENTITY sqlite-dl-version "3080600">
8 <!ENTITY sqlite-doc-version "3080600">
[8cce479c]9
[433a30b0]10 <!ENTITY sqlite-download-http
[0ad0ff2]11 "http://sqlite.org/2014/sqlite-autoconf-&sqlite-dl-version;.tar.gz">
[e2a0e91]12 <!ENTITY sqlite-download-ftp " ">
[6e08e9c0]13 <!ENTITY sqlite-md5sum "f7e4a156b583abeba349629e2364224b">
[cddd48eb]14 <!ENTITY sqlite-size "1.9 MB">
[6e08e9c0]15 <!ENTITY sqlite-buildsize "16 MB (additional 24 MB for the Optional Documentation)">
16 <!ENTITY sqlite-time "0.2 SBU">
[e5085ae1]17
[433a30b0]18 <!ENTITY sqlite-docs-download
[0ad0ff2]19 "http://sqlite.org/2014/sqlite-doc-&sqlite-doc-version;.zip">
[6e08e9c0]20 <!ENTITY sqlite-docs-md5sum "e65b1a9569d3e3129538942255db0af1">
21 <!ENTITY sqlite-docs-size "4.6 MB">
[e2a0e91]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
[a26f3f8f]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>
[e2a0e91]46
[59d9079]47 &lfs76_checked;
[49f7d8b]48
[e2a0e91]49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
[a26f3f8f]52 <para>
53 Download (HTTP): <ulink url="&sqlite-download-http;"/>
54 </para>
[e2a0e91]55 </listitem>
56 <listitem>
[a26f3f8f]57 <para>
58 Download (FTP): <ulink url="&sqlite-download-ftp;"/>
59 </para>
[e2a0e91]60 </listitem>
61 <listitem>
[a26f3f8f]62 <para>
63 Download MD5 sum: &sqlite-md5sum;
64 </para>
[e2a0e91]65 </listitem>
66 <listitem>
[a26f3f8f]67 <para>
68 Download size: &sqlite-size;
69 </para>
[e2a0e91]70 </listitem>
71 <listitem>
[a26f3f8f]72 <para>
73 Estimated disk space required: &sqlite-buildsize;
74 </para>
[e2a0e91]75 </listitem>
76 <listitem>
[a26f3f8f]77 <para>
78 Estimated build time: &sqlite-time;
79 </para>
[e2a0e91]80 </listitem>
81 </itemizedlist>
82
[10e02da]83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84 <itemizedlist spacing="compact">
85 <title>Optional Documentation</title>
86 <listitem>
[a26f3f8f]87 <para>
88 Download (HTTP): <ulink url="&sqlite-docs-download;"/>
89 </para>
[10e02da]90 </listitem>
91 <listitem>
[a26f3f8f]92 <para>
93 Download MD5 sum: &sqlite-docs-md5sum;
94 </para>
[10e02da]95 </listitem>
96 <listitem>
[a26f3f8f]97 <para>
98 Download size: &sqlite-docs-size;
99 </para>
[10e02da]100 </listitem>
101 </itemizedlist>
[e2a0e91]102
[780294af]103 <bridgehead renderas="sect3">SQLite Dependencies</bridgehead>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
[a26f3f8f]106 <para role="optional">
[85e109d]107 <xref linkend="tcl"/> (required to build <application>SQLite Tcl
108 Extension Architecture - TEA</application>, also know as
109 <application>sqlite-tcl</application>) and
110 <xref linkend="unzip"/> (required to unzip the documentation)
[a26f3f8f]111 </para>
[e2a0e91]112
[a26f3f8f]113 <para condition="html" role="usernotes">
114 User Notes: <ulink url="&blfs-wiki;/sqlite"/>
115 </para>
[e2a0e91]116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of SQLite</title>
120
[a26f3f8f]121 <para>
122 If you downloaded the optional documentation, issue the following command
123 to install the documentation into the source tree:
124 </para>
[e5085ae1]125
[5b50432]126<screen><userinput>unzip -q ../sqlite-doc-&sqlite-doc-version;.zip</userinput></screen>
[e5085ae1]127
[a26f3f8f]128 <para>
129 Install <application>SQLite</application> by running the following
130 commands:
131 </para>
[e2a0e91]132
[8cce479c]133<screen><userinput>./configure --prefix=/usr --disable-static \
134 CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
135 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
136 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
137 -DSQLITE_SECURE_DELETE=1" &amp;&amp;
[e2a0e91]138make</userinput></screen>
139
[85e109d]140 <para>
141 If you wish to install <application>sqlite-tcl</application>, run the
142 following commands:
143 </para>
144
145<screen><userinput>cd tea &amp;&amp;
146./configure --prefix=/usr --with-system-sqlite &amp;&amp;
147make &amp;&amp;
148cd ..</userinput></screen>
149
[a26f3f8f]150 <para>
151 This package does not come with a test suite.
152 </para>
[e2a0e91]153
[a26f3f8f]154 <para>
155 Now, as the <systemitem class="username">root</systemitem> user:
156 </para>
[e2a0e91]157
158<screen role="root"><userinput>make install</userinput></screen>
159
[a26f3f8f]160 <para>
161 If you downloaded the optional documentation, issue the following commands
162 as the <systemitem class="username">root</systemitem> user to install it:
163 </para>
[e5085ae1]164
[780294af]165<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
[5b50432]166cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
[85e109d]167
168 <para>
169 If you decided to install <application>sqlite-tcl</application>, issue
170 the following commands as the
171 <systemitem class="username">root</systemitem> user:
172 </para>
173
174<screen><userinput>cd tea &amp;&amp;
175make install &amp;&amp;
176cd ..</userinput></screen>
177
[e2a0e91]178 </sect2>
179
[bdf24aa4]180 <sect2 role="commands">
181 <title>Command Explanations</title>
182
[a26f3f8f]183 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[10a480a]184 href="../../xincludes/static-libraries.xml"/>
[a26f3f8f]185
186 <para>
[8cce479c]187 <parameter>CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1
188 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE
[a26f3f8f]189 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"</parameter>: Applications such as
190 <application>Firefox</application> require secure delete and enable unlock
191 notify to be turned on. The only way to do this is to include them in the
192 CFLAGS. By default, these are set to <literal>"-g -O2"</literal> so we
193 specify that to preserve those settings. You may, of course, wish to omit
194 the <literal>'-g'</literal> if you do not wish to create debugging
195 information. For further information on what can be specified see
196 <ulink url="http://www.sqlite.org/compile.html"/>.
197 </para>
198
[bdf24aa4]199 </sect2>
200
[e2a0e91]201 <sect2 role="content">
202 <title>Contents</title>
203
204 <segmentedlist>
205 <segtitle>Installed Program</segtitle>
[85e109d]206 <segtitle>Installed Libraries</segtitle>
207 <segtitle>Installed Directories</segtitle>
[e2a0e91]208
209 <seglistitem>
[8cce479c]210 <seg>
211 sqlite3
212 </seg>
213 <seg>
[85e109d]214 libsqlite3.so and (optionally)
215 /usr/lib/sqlite&sqlite-version;/libsqlite&sqlite-version;.so
[8cce479c]216 </seg>
217 <seg>
[85e109d]218 /usr/lib/sqlite&sqlite-version; (optionally) and
[8cce479c]219 /usr/share/doc/sqlite-&sqlite-version;
220 </seg>
[e2a0e91]221 </seglistitem>
222 </segmentedlist>
223
224 <variablelist>
225 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
226 <?dbfo list-presentation="list"?>
227 <?dbhtml list-presentation="table"?>
228
229 <varlistentry id="sqlite3">
230 <term><command>sqlite3</command></term>
231 <listitem>
[a26f3f8f]232 <para>
233 A terminal-based front-end to the <application>SQLite</application>
234 library that can evaluate queries interactively and display the
235 results.
236 </para>
[e2a0e91]237 <indexterm zone="sqlite sqlite3">
238 <primary sortas="b-sqlite3">sqlite3</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="libsqlite3">
[8cce479c]244 <term><filename class="libraryfile">libsqlite3.so</filename></term>
[e2a0e91]245 <listitem>
[a26f3f8f]246 <para>
247 contains the <application>SQLite</application> API functions.
248 </para>
[e2a0e91]249 <indexterm zone="sqlite libsqlite3">
[1f95134]250 <primary sortas="c-libsqlite3">libsqlite3.so</primary>
[e2a0e91]251 </indexterm>
252 </listitem>
253 </varlistentry>
[8cce479c]254
[e2a0e91]255 </variablelist>
[8cce479c]256
[e2a0e91]257 </sect2>
[8cce479c]258
[e2a0e91]259</sect1>
Note: See TracBrowser for help on using the repository browser.