UnixODBC下载安装地址:http://www.unixodbc.org/
DOWNLOAD |
Distribution Format unixODBC is currently availible in a gzip, tar format. This means that you should; 1. copy the file somewhere you can create files and directories 2. gunzip unixODBC*.tar.gz 3. tar xvf unixODBC*.tarDoing so will create a unixODBC directory with all source files inside. Via HTTP: MD5 (bd25d261ca1808c947cb687e2034be81): For software that still needs it, 2.3.0 is also available for download Source Access Public SVN access is also availible for those that want the very latest sources (bleeding edge). So you may want to use these commands, When prompted for a password for anonymous, simply press the Enter key svn co svn://svn.code.sf.net/p/unixodbc/code/trunk unixodbc Developers of unixODBC work from this SVN so the state of the sources in there will vary. To build from the tree downloaded by svn, run the following command (in the root of the downloaded tree) make -f Makefile.svn This will build the configure script. To build from SVN, you need some current tools, these are what we recommend:
Make the Libraries and Programs The install uses the standard GNU autoconf process. So its simply a matter of running ./configure make make install By default the files are installed into /usr/local. As is usual with configure, this location can be changed by altering the prefix option to configure. i.e. ./configure --prefix=/usr/local/unixODBC This will install the lib, bin, include and etc directories in /usr/local/unixODBC/lib etc. To conform with the GNU guidelines the odbcinst file is now installed by default in {prefix}/etc, this can be altered using the --sysconfdir option to configure. To install the files in the old default /etc you would run configure like this ./configure --sysconfdir=/etc RPM's if you want some RPMS have a look at the sourceforge page.
Andre Felipe Machado has also made up some RPM's for use with the version 7.0 and 8.0 version of Linux. These can be found I have also built a install which is FreeBSD Ports's Nick Sayer has created a FreeBSD port of unixODBC. Have a look at the site and search for unixODBCSolaris PKG of 2.2.14 I have created Solaris packages of 2.2.14 for and !!! WARNING (Will Robinson) - these packages expect to install in /usr/local/bin etc, and will remove any non pkgmgr contents of those directories. It will warn you, but if you say yes, they will be gone.Finally Everyone should take a look at the README and INSTALL files. If you still have problems then it is likely our fault so just send an and I will see what I can do. |