File: README.unix

package info (click to toggle)
myodbc 3.51.11-6.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,056 kB
  • ctags: 1,933
  • sloc: ansic: 31,656; sh: 10,955; cpp: 2,439; makefile: 1,120
file content (112 lines) | stat: -rw-r--r-- 3,007 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
+-------------------------------------------------------------+
| Connector/ODBC                                              |
| UNIX Platforms                                              |
+-------------------------------------------------------------+

INTRODUCTION
---------------------------------------------------------------

In this document I provide a general explaination of how to 
build the MyODBC driver on UNIX platforms. I will be as brief 
as possible.

NOTE:	This information is fairly generic. You may find other
	README files with more detailed information for 
	building for specific flavours of UNIX.
	
WHAT YOU NEED
---------------------------------------------------------------

UNIX
----

UNIX or some UNIX-like operating system such as;

- Solaris
- Linux
- HP-UX
- AIX
- OSX

ODBC
----

You need an ODBC SDK and you probably want an ODBC Driver 
Manager. 

ODBC has not, traditionally, been a standard part of any UNIX 
or UNIX-like platform. This caused a number of vendors to 
provide ODBC solutions which can be added to UNIX. In theory 
this should not be a problem but in practice this can cause 
compatability and portability issues.

Recently; Linux distributions have been including unixODBC as a
standard option and Apple OSX now has ODBC by default.

We recommend, and use, unixODBC on all UNIX-like platforms
except OSX where we use the default ODBC.

see;
	http://www.unixodbc.org

Compiler Tools
--------------

We try to build using the native compiler tool set for the 
target platform. This is SunStudio for Solaris and aCC for
HP-UX for example. But a common compiler across all platforms
is the GNU tool set.

Source Code
-----------

The source code is the main thing. You can get it from the bk
source repository if you want the 'bleeding edge' code but most
people will simply download the zip or tar-ball of the source.

Qt Class Library
----------------

The graphical bits of MyODBC are optional. If you plan to build
them you will need the Qt class library.

see;
	http://www.trolltech.com



BUILD
---------------------------------------------------------------


cd to the MyODBC source directory and do the following.

Execute 'configure --help' to see a list of configure options then
execute configure again with the desired options.

Then do;

$ make



INSTALL
---------------------------------------------------------------

You probably want to be root user to do install as extra 
privileges will likely be required. Now do the following to 
install the MyODBC libraries and tools.

# make install

At this point all of the MyODBC files should be in place but you
probably want to register the driver with the ODBC on your system.

See your ODBC documentation for more on how to do this. For
unixODBC one could use the odbcinst command line tool.


+-------------------------------------------------------------+
| Peter Harvey <pharvey@mysql.com                             |
+-------------------------------------------------------------+