source: general/genutils/unixodbc.xml@ 07cb2c5

lazarus trunk
Last change on this file since 07cb2c5 was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 4 months ago

A bunch of tags

  • Property mode set to 100644
File size: 9.3 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[b74eff5a]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[d9ff8eba]7 <!ENTITY unixodbc-download-http "https://github.com/lurcher/unixODBC/releases/download/&unixodbc-version;/unixODBC-&unixodbc-version;.tar.gz">
[e1e58be]8 <!ENTITY unixodbc-download-ftp " ">
[4757ef5d]9 <!ENTITY unixodbc-md5sum "d62167d85bcb459c200c0e4b5a63ee48">
[bbf24398]10 <!ENTITY unixodbc-size "1.7 MB">
[e9c7577]11 <!ENTITY unixodbc-buildsize "28 MB">
[7ac67fc]12 <!ENTITY unixodbc-time "0.2 SBU (using parallelism=4)">
[b74eff5a]13]>
14
15<sect1 id="unixodbc" xreflabel="unixODBC-&unixodbc-version;">
16 <?dbhtml filename="unixodbc.html"?>
17
18
19 <title>unixODBC-&unixodbc-version;</title>
20
21 <indexterm zone="unixodbc">
22 <primary sortas="a-unixODBC">unixODBC</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to unixODBC</title>
27
[d78d84d]28 <para>
29 The <application>unixODBC</application> package is an Open Source
30 ODBC (Open DataBase Connectivity) sub-system and an ODBC SDK for Linux, Mac
31 OSX, and UNIX. ODBC is an open specification for providing application
32 developers with a predictable API with which to access data sources. Data
33 sources include optional SQL Servers and any data source with an ODBC Driver.
34 <application>unixODBC</application> contains the following components used
35 to assist with the manipulation of ODBC data sources: a driver manager, an
36 installer library and command line tool, command line tools to help install
37 a driver and work with SQL, drivers and driver setup libraries.
38 </para>
39
[5d0e7b8]40 &lfs121_checked;
[b74eff5a]41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[d78d84d]45 <para>
46 Download (HTTP): <ulink url="&unixodbc-download-http;"/>
47 </para>
[b74eff5a]48 </listitem>
49 <listitem>
[d78d84d]50 <para>
51 Download (FTP): <ulink url="&unixodbc-download-ftp;"/>
52 </para>
[b74eff5a]53 </listitem>
54 <listitem>
[d78d84d]55 <para>
56 Download MD5 sum: &unixodbc-md5sum;
57 </para>
[b74eff5a]58 </listitem>
59 <listitem>
[d78d84d]60 <para>
61 Download size: &unixodbc-size;
62 </para>
[b74eff5a]63 </listitem>
64 <listitem>
[d78d84d]65 <para>
66 Estimated disk space required: &unixodbc-buildsize;
67 </para>
[b74eff5a]68 </listitem>
69 <listitem>
[d78d84d]70 <para>
71 Estimated build time: &unixodbc-time;
72 </para>
[b74eff5a]73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">unixODBC Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
[d78d84d]79 <para role="optional">
[4671375]80 <ulink url="https://hughestech.com.au/products/msql/">Mini SQL</ulink>
[d78d84d]81 </para>
[b74eff5a]82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of unixODBC</title>
87
[d78d84d]88 <para>
89 Install <application>unixODBC</application> by running the following
90 commands:
91 </para>
[b74eff5a]92
[63bb3941]93<screen><userinput>./configure --prefix=/usr \
[d78d84d]94 --sysconfdir=/etc/unixODBC &amp;&amp;
[b74eff5a]95make</userinput></screen>
96
[d78d84d]97 <para>
98 This package does not come with a test suite.
99 </para>
[b74eff5a]100
[d78d84d]101 <para>
102 Now, as the <systemitem class="username">root</systemitem> user:
103 </para>
[b74eff5a]104
105<screen role="root"><userinput>make install &amp;&amp;
[63bb3941]106
[252e5bf]107find doc -name "Makefile*" -delete &amp;&amp;
108chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* &amp;&amp;
[63bb3941]109
[b74eff5a]110install -v -m755 -d /usr/share/doc/unixODBC-&unixodbc-version; &amp;&amp;
[066dad5a]111cp -v -R doc/* /usr/share/doc/unixODBC-&unixodbc-version;</userinput></screen>
[b74eff5a]112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
[d78d84d]118 <para>
119 <option>--enable-drivers</option>: This parameter enables building
120 the drivers that were installed by default in previous versions.
121 </para>
[b74eff5a]122
[d78d84d]123 <para>
124 <option>--enable-drivers-conf</option>: This parameter enables
[0d7900a]125 building the driver configuration libraries that were installed
[d78d84d]126 by default in previous versions.
127 </para>
[b74eff5a]128
129 </sect2>
130
131 <sect2 role="configuration">
132 <title>Configuring unixODBC</title>
133
134 <sect3 id="unixodbc-config">
135 <title>Config Files</title>
[b7a85cd9]136 <para>
137 <filename>/etc/unixODBC/*</filename>
138 </para>
[b74eff5a]139
[b7a85cd9]140 <indexterm zone="unixodbc unixodbc-config">
141 <primary sortas="e-etc-unixODBC-">/etc/unixODBC/*</primary>
142 </indexterm>
[b74eff5a]143 </sect3>
144
145 <sect3><title>Configuration Information</title>
146
[d78d84d]147 <para>
148 The files in <filename class='directory'>/etc/unixODBC</filename>
149 are meant to be configured by the system administrator (or the ODBC site
150 administrator if appropriate privileges are granted to
151 <filename class='directory'>/etc/unixODBC</filename>). These files
152 are not meant to be directly edited. The ODBC installer library is
153 responsible for reading and writing the
154 <application>unixODBC</application> config files.
155 </para>
156
157 <para>
[ff5109d]158 Unfortunately, there are not many <command>man</command>, or any
[d78d84d]159 <command>info</command> pages for the various programs available in the
160 <application>unixODBC</application> package. Along with the information
161 in the <quote>Short Descriptions</quote> below and the documentation
162 installed in <filename
163 class='directory'>/usr/share/doc/unixODBC-&unixodbc-version;</filename>,
164 there are many <filename>README</filename> files throughout the source
165 tree where the use and functionality of the programs can be found.
166 Additionally, you can use the parameter <option>-?</option> for syntax
167 and usage information. Lastly, the <application>unixODBC</application>
168 web site at <ulink url="http://www.unixodbc.org/"/> has very good
169 information.
170 </para>
[b74eff5a]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>
[d78d84d]185 <seg>
[d9121306]186 dltest, isql, iusql, odbc_config, odbcinst, and slencheck
[d78d84d]187 </seg>
188 <seg>
[d9121306]189 libodbc.so, libodbccr.so, and libodbcinst.so
[d78d84d]190 </seg>
191 <seg>
192 /etc/unixODBC and
193 /usr/share/doc/unixODBC-&unixodbc-version;
194 </seg>
[b74eff5a]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="dltest">
204 <term><command>dltest</command></term>
205 <listitem>
[d78d84d]206 <para>
[afd2e883]207 is a utility used to check a shared library to see if it can be
[4c24eb0a]208 loaded and if a given symbol exists in it
[d78d84d]209 </para>
[b74eff5a]210 <indexterm zone="unixodbc dltest">
211 <primary sortas="b-dltest">dltest</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="isql">
217 <term><command>isql</command></term>
218 <listitem>
[d78d84d]219 <para>
[73fe507]220 is a utility which can be used to submit SQL to a data source and
[d78d84d]221 to format/output results. It can be used in batch or interactive
[4c24eb0a]222 mode
[d78d84d]223 </para>
[b74eff5a]224 <indexterm zone="unixodbc isql">
225 <primary sortas="b-isql">isql</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="iusql">
231 <term><command>iusql</command></term>
232 <listitem>
[d78d84d]233 <para>
234 provides the same functionality as the <command>isql</command>
[4c24eb0a]235 program
[d78d84d]236 </para>
[b74eff5a]237 <indexterm zone="unixodbc iusql">
238 <primary sortas="b-iusql">iusql</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="odbc_config">
244 <term><command>odbc_config</command></term>
245 <listitem>
[d78d84d]246 <para>
247 is used to find out details about the installation of
[4c24eb0a]248 the <application>unixODBC</application> package
[d78d84d]249 </para>
[b74eff5a]250 <indexterm zone="unixodbc odbc_config">
251 <primary sortas="b-odbc_config">odbc_config</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="odbcinst">
257 <term><command>odbcinst</command></term>
258 <listitem>
[d78d84d]259 <para>
[73fe507]260 is a utility created for install script/RPM writers. It is a
[d78d84d]261 command line interface to key functionality in the
[4c24eb0a]262 <filename class="libraryfile">libodbcinst</filename> library. It does
[d78d84d]263 not copy any files (i.e., libraries) but it will modify the ODBC
[4c24eb0a]264 System Information for the user
[d78d84d]265 </para>
[b74eff5a]266 <indexterm zone="unixodbc odbcinst">
267 <primary sortas="b-odbcinst">odbcinst</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
[d78d84d]271
[af5248e2]272 <varlistentry id="slencheck">
273 <term><command>slencheck</command></term>
274 <listitem>
275 <para>
[73fe507]276 is a utility which attempts to check whether an ODBC driver
[4c24eb0a]277 was built with 32-bit or 64-bit SQLLEN types
[af5248e2]278 </para>
279 <indexterm zone="unixodbc slencheck">
280 <primary sortas="b-slencheck">slencheck</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285
[b74eff5a]286 </variablelist>
287
288 </sect2>
289
290</sect1>
Note: See TracBrowser for help on using the repository browser.