source: general/genutils/unixodbc.xml@ c013399c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 c013399c was c013399c, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Define ODBC acronym

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

  • Property mode set to 100644
File size: 11.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/unixODBC-&unixodbc-version;.tar.gz">
9 <!ENTITY unixodbc-md5sum "9ae806396844e38244cf65ad26ba0f23">
10 <!ENTITY unixodbc-size "2.4 MB">
11 <!ENTITY unixodbc-buildsize "82.5 MB">
12 <!ENTITY unixodbc-time "3.4 SBU (includes building the GUI tools)">
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 <keywordset>
22 <keyword role="package">unixODBC-&unixodbc-version;.tar</keyword>
23 <keyword role="ftpdir">unixODBC</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>unixODBC-&unixodbc-version;</title>
28
29 <indexterm zone="unixodbc">
30 <primary sortas="a-unixODBC">unixODBC</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to unixODBC</title>
35
36 <para>The <application>unixODBC</application> package is an Open Source
37 ODBC (Open DataBase Connectivity) sub-system and an ODBC SDK for Linux, Mac
38 OSX, and UNIX. ODBC is an open specification for providing application
39 developers with a predictable API with which to access data sources. Data
40 sources include SQL Servers and any data source with an ODBC Driver.
41 <application>unixODBC</application> contains the following components used
42 to assist with the manipulation of ODBC data sources: a driver manager, an
43 installer library and command line tool, command line tools to help install
44 a driver and work with SQL, drivers and driver setup libraries and a suite
45 of graphical tools used to administer ODBC, test drivers and browse data
46 sources.</para>
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>Download (HTTP): <ulink url="&unixodbc-download-http;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download (FTP): <ulink url="&unixodbc-download-ftp;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download MD5 sum: &unixodbc-md5sum;</para>
58 </listitem>
59 <listitem>
60 <para>Download size: &unixodbc-size;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated disk space required: &unixodbc-buildsize;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated build time: &unixodbc-time;</para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">unixODBC Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Optional</bridgehead>
73 <para role="optional"><xref linkend="qt"/> (required to build the GUI tools),
74 <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink> and
75 <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink></para>
76
77 <note>
78 <para>There is a circular dependency with <application>Qt</application>
79 and <application>unixODBC</application>. If you need to build the
80 <application>Qt</application> <application>unixODBC</application>
81 plugin module, you will have to build and install
82 <application>unixODBC</application> once without the GUI tools to satisfy
83 the <application>Qt</application> build. Then, after
84 <application>Qt</application> has been installed, you'll need to build
85 and install <application>unixODBC</application> again if you wish to
86 build the GUI tools.</para>
87 </note>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/unixodbc"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of unixODBC</title>
96
97 <para>Install <application>unixODBC</application> by running the following
98 commands:</para>
99
100<screen><userinput>sed -i "s/void yyerror/#define YY_FLUSH_BUFFER\n\n&amp;/" sqp/lex.l &amp;&amp;
101./configure --prefix=/usr --sysconfdir=/etc/unixodbc \
102 --enable-ltdllib --enable-fdb --disable-gui &amp;&amp;
103make</userinput></screen>
104
105 <para>This package does not come with a test suite.</para>
106
107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>make install &amp;&amp;
110find doc -name "Makefile*" -exec rm {} \; &amp;&amp;
111chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* &amp;&amp;
112install -v -m755 -d /usr/share/doc/unixODBC-&unixodbc-version; &amp;&amp;
113cp -v -R doc/* /usr/share/doc/unixODBC-&unixodbc-version;</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para><command>sed -i "..." sqp/lex.l</command>: This fixes a build issue
121 if using a compiler version greater than
122 <application>GCC</application>-3.x.x.</para>
123
124 <para><parameter>--enable-ltdllib</parameter>: This parameter causes the
125 build to use the system-installed version of
126 <application>Libtool</application>.</para>
127
128 <para><parameter>--enable-fdb</parameter>: This parameter enables support
129 for file-based data access.</para>
130
131 <para><parameter>--disable-gui</parameter>: This parameter disables
132 building the GUI tools. Remove it if you have
133 <application>Qt</application> installed and wish to build the GUI
134 tools.</para>
135
136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring unixODBC</title>
140
141 <sect3 id="unixodbc-config">
142 <title>Config Files</title>
143 <para><filename>/etc/unixodbc/*</filename></para>
144
145 <indexterm zone="unixodbc unixodbc-config">
146 <primary sortas="e-etc-unixodbc-">/etc/unixodbc/*</primary>
147 </indexterm>
148 </sect3>
149
150 <sect3><title>Configuration Information</title>
151
152 <para>The files in <filename class='directory'>/etc/unixodbc</filename>
153 are meant to be configured by the system administrator (or the ODBC site
154 administrator if appropriate privileges are granted to
155 <filename class='directory'>/etc/unixodbc</filename>). These files
156 are not meant to be directly edited. The ODBC installer library is
157 responsible for reading and writing the
158 <application>unixODBC</application> config files.</para>
159
160 <para>Unfortunately, there are no <command>man</command> or
161 <command>info</command> pages for the various programs available in the
162 <application>unixODBC</application> package. Along with the information
163 in the <quote>Short Descriptions</quote> below and the documentation
164 installed in <filename
165 class='directory'>/usr/share/doc/unixODBC-&unixodbc-version;</filename>,
166 there are many <filename>README</filename> files thoughout the source
167 tree where the use and functionality of the programs can be found.
168 Additionally, you can use the parameter <option>-?</option> with the
169 non-GUI tools for syntax and usage information. Lastly, the
170 <application>unixODBC</application> web site at <ulink
171 url="http://www.unixodbc.org/"/> has very good information.</para>
172
173 </sect3>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg>DataManager, DataManagerII, ODBCConfig, dltest, isql, iusql,
187 odbc_config, odbcinst and odbctest</seg>
188 <seg>libboundparam.so, libesoobS.so, libgtrtst.so, libmimerS.so,
189 libnn.so, libodbc.so, libodbccr.so, libodbcdrvcfg1S.so,
190 libodbcdrvcfg2S.so, libodbcinst.so, libodbcinstQ.so, libodbcminiS.so,
191 libodbcmyS.so, libodbcnnS.so, libodbcpsql.so, libodbcpsqlS.so,
192 libodbctxt.so, libodbctxtS.so, liboplodbcS.so, liboraodbcS.so,
193 libsapdbS.so, libtdsS.so and libtemplate.so</seg>
194 <seg>/etc/unixodbc and /usr/share/doc/unixODBC-&unixodbc-version;</seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="DataManager">
204 <term><command>DataManager</command></term>
205 <listitem>
206 <para>is a graphical program which can be used to browse/explore ODBC
207 data sources.</para>
208 <indexterm zone="unixodbc DataManager">
209 <primary sortas="b-DataManager">DataManager</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="DataManagerII">
215 <term><command>DataManagerII</command></term>
216 <listitem>
217 <para>is an enhanced version of <command>DataManager</command>.</para>
218 <indexterm zone="unixodbc DataManagerII">
219 <primary sortas="b-DataManagerII">DataManagerII</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="ODBCConfig">
225 <term><command>ODBCConfig</command></term>
226 <listitem>
227 <para>is a graphical program used to make configuration of ODBC data
228 sources extremely easy.</para>
229 <indexterm zone="unixodbc ODBCConfig">
230 <primary sortas="b-ODBCConfig">ODBCConfig</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="dltest">
236 <term><command>dltest</command></term>
237 <listitem>
238 <para>is a utility used to check a share library to see if it can be
239 loaded and if a given symbol exists in it.</para>
240 <indexterm zone="unixodbc dltest">
241 <primary sortas="b-dltest">dltest</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 <varlistentry id="isql">
247 <term><command>isql</command></term>
248 <listitem>
249 <para>is a utility which can be used to submit SQL to a data source
250 and to format/output results. It can be used in batch or interactive
251 mode.</para>
252 <indexterm zone="unixodbc isql">
253 <primary sortas="b-isql">isql</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="iusql">
259 <term><command>iusql</command></term>
260 <listitem>
261 <para>provides the same funtionality as the <command>isql</command>
262 program.</para>
263 <indexterm zone="unixodbc iusql">
264 <primary sortas="b-iusql">iusql</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="odbc_config">
270 <term><command>odbc_config</command></term>
271 <listitem>
272 <para>is used to find out details about the installation of
273 the <application>unixODBC</application> package.</para>
274 <indexterm zone="unixodbc odbc_config">
275 <primary sortas="b-odbc_config">odbc_config</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="odbcinst">
281 <term><command>odbcinst</command></term>
282 <listitem>
283 <para> is a utility created for install script/RPM writers. It is a
284 command line interface to key functionality in the
285 <filename class='libraryfile'>libodbcinst</filename> library. It does
286 not copy any files (i.e., libraries) but it will modify the ODBC
287 System Information for the user.</para>
288 <indexterm zone="unixodbc odbcinst">
289 <primary sortas="b-odbcinst">odbcinst</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="odbctest">
295 <term><command>odbctest</command></term>
296 <listitem>
297 <para>is a graphical program used to test the ODBC API.</para>
298 <indexterm zone="unixodbc odbctest">
299 <primary sortas="b-odbctest">odbctest</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 </variablelist>
305
306 </sect2>
307
308</sect1>
Note: See TracBrowser for help on using the repository browser.