source: general/genutils/unixodbc.xml@ b74eff5a

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

Added new package, unixODBC-2.2.11 to BLFS

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

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