source: general/genutils/unixodbc.xml@ 1039de3

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 1039de3 was 1039de3, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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