source: general/genutils/unixodbc.xml@ 5b9456bf

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 5b9456bf was 5b9456bf, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to ImageMagick-6.8.6-5.
Update to gtk-doc-1.19.
Tag all in Chapter 11 for lfs73

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

  • Property mode set to 100644
File size: 9.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 unixodbc-download-http "http://www.unixodbc.org/unixODBC-&unixodbc-version;.tar.gz">
8 <!ENTITY unixodbc-download-ftp "&gentoo-ftp-repo;/unixODBC-&unixodbc-version;.tar.gz">
9 <!ENTITY unixodbc-md5sum "86788d4006620fa1f171c13d07fdcaab">
10 <!ENTITY unixodbc-size "1.8 MB">
11 <!ENTITY unixodbc-buildsize "30 MB">
12 <!ENTITY unixodbc-time "0.5 SBU">
13]>
14
15<sect1 id="unixodbc" xreflabel="unixODBC-&unixodbc-version;">
16 <?dbhtml filename="unixodbc.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>unixODBC-&unixodbc-version;</title>
24
25 <indexterm zone="unixodbc">
26 <primary sortas="a-unixODBC">unixODBC</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to unixODBC</title>
31
32 <para>
33 The <application>unixODBC</application> package is an Open Source
34 ODBC (Open DataBase Connectivity) sub-system and an ODBC SDK for Linux, Mac
35 OSX, and UNIX. ODBC is an open specification for providing application
36 developers with a predictable API with which to access data sources. Data
37 sources include optional SQL Servers and any data source with an ODBC Driver.
38 <application>unixODBC</application> contains the following components used
39 to assist with the manipulation of ODBC data sources: a driver manager, an
40 installer library and command line tool, command line tools to help install
41 a driver and work with SQL, drivers and driver setup libraries.
42 </para>
43
44 &lfs73_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>
50 Download (HTTP): <ulink url="&unixodbc-download-http;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download (FTP): <ulink url="&unixodbc-download-ftp;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download MD5 sum: &unixodbc-md5sum;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download size: &unixodbc-size;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated disk space required: &unixodbc-buildsize;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated build time: &unixodbc-time;
76 </para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">unixODBC Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink> and
85 <xref linkend="pth"/>
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/unixodbc"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of unixODBC</title>
95
96 <para>
97 Install <application>unixODBC</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>./configure --prefix=/usr \
102 --sysconfdir=/etc/unixODBC &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 This package does not come with a test suite.
107 </para>
108
109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>make install &amp;&amp;
114
115find doc -name "Makefile*" -exec rm {} \; &amp;&amp;
116chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* &amp;&amp;
117
118install -v -m755 -d /usr/share/doc/unixODBC-&unixodbc-version; &amp;&amp;
119cp -v -R doc/* /usr/share/doc/unixODBC-&unixodbc-version;</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <option>--enable-drivers</option>: This parameter enables building
128 the drivers that were installed by default in previous versions.
129 </para>
130
131 <para>
132 <option>--enable-drivers-conf</option>: This parameter enables
133 building the driver configuration libraries that were installed
134 by default in previous versions.
135 </para>
136
137 </sect2>
138
139 <sect2 role="configuration">
140 <title>Configuring unixODBC</title>
141
142 <sect3 id="unixodbc-config">
143 <title>Config Files</title>
144 <para><filename>/etc/unixODBC/*</filename></para>
145
146 <indexterm zone="unixodbc unixodbc-config">
147 <primary sortas="e-etc-unixODBC-">/etc/unixODBC/*</primary>
148 </indexterm>
149 </sect3>
150
151 <sect3><title>Configuration Information</title>
152
153 <para>
154 The files in <filename class='directory'>/etc/unixODBC</filename>
155 are meant to be configured by the system administrator (or the ODBC site
156 administrator if appropriate privileges are granted to
157 <filename class='directory'>/etc/unixODBC</filename>). These files
158 are not meant to be directly edited. The ODBC installer library is
159 responsible for reading and writing the
160 <application>unixODBC</application> config files.
161 </para>
162
163 <para>
164 Unfortunately, there are no <command>man</command> or
165 <command>info</command> pages for the various programs available in the
166 <application>unixODBC</application> package. Along with the information
167 in the <quote>Short Descriptions</quote> below and the documentation
168 installed in <filename
169 class='directory'>/usr/share/doc/unixODBC-&unixodbc-version;</filename>,
170 there are many <filename>README</filename> files throughout the source
171 tree where the use and functionality of the programs can be found.
172 Additionally, you can use the parameter <option>-?</option> for syntax
173 and usage information. Lastly, the <application>unixODBC</application>
174 web site at <ulink url="http://www.unixodbc.org/"/> has very good
175 information.
176 </para>
177
178 </sect3>
179
180 </sect2>
181
182 <sect2 role="content">
183 <title>Contents</title>
184
185 <segmentedlist>
186 <segtitle>Installed Programs</segtitle>
187 <segtitle>Installed Libraries</segtitle>
188 <segtitle>Installed Directories</segtitle>
189
190 <seglistitem>
191 <seg>
192 dltest, isql, iusql, odbc_config and odbcinst
193 </seg>
194 <seg>
195 libodbc.so, libodbccr.so and libodbcinst.so
196 </seg>
197 <seg>
198 /etc/unixODBC and
199 /usr/share/doc/unixODBC-&unixodbc-version;
200 </seg>
201 </seglistitem>
202 </segmentedlist>
203
204 <variablelist>
205 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
206 <?dbfo list-presentation="list"?>
207 <?dbhtml list-presentation="table"?>
208
209 <varlistentry id="dltest">
210 <term><command>dltest</command></term>
211 <listitem>
212 <para>
213 is a utility used to check a share library to see if it can be
214 loaded and if a given symbol exists in it.
215 </para>
216 <indexterm zone="unixodbc dltest">
217 <primary sortas="b-dltest">dltest</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="isql">
223 <term><command>isql</command></term>
224 <listitem>
225 <para>
226 is an utility which can be used to submit SQL to a data source and
227 to format/output results. It can be used in batch or interactive
228 mode.
229 </para>
230 <indexterm zone="unixodbc isql">
231 <primary sortas="b-isql">isql</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="iusql">
237 <term><command>iusql</command></term>
238 <listitem>
239 <para>
240 provides the same functionality as the <command>isql</command>
241 program.
242 </para>
243 <indexterm zone="unixodbc iusql">
244 <primary sortas="b-iusql">iusql</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="odbc_config">
250 <term><command>odbc_config</command></term>
251 <listitem>
252 <para>
253 is used to find out details about the installation of
254 the <application>unixODBC</application> package.
255 </para>
256 <indexterm zone="unixodbc odbc_config">
257 <primary sortas="b-odbc_config">odbc_config</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="odbcinst">
263 <term><command>odbcinst</command></term>
264 <listitem>
265 <para>
266 is an utility created for install script/RPM writers. It is a
267 command line interface to key functionality in the
268 <filename class='libraryfile'>libodbcinst</filename> library. It does
269 not copy any files (i.e., libraries) but it will modify the ODBC
270 System Information for the user.
271 </para>
272 <indexterm zone="unixodbc odbcinst">
273 <primary sortas="b-odbcinst">odbcinst</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 </variablelist>
279
280 </sect2>
281
282</sect1>
Note: See TracBrowser for help on using the repository browser.