source: general/genutils/unixodbc.xml@ 9becc53

7.6-blfs 7.6-systemd kde5-14686 systemd-13485
Last change on this file since 9becc53 was f2d55c92, checked in by Krejzi <krejzi@…>, 10 years ago

Even more checks and fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14021 af4574ff-66df-0310-9fd7-8a98e5e911e0

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