6
6
http://libdbi-drivers.sourceforge.net
9
OSX-SPECIFIC INSTALLATION INSTRUCTIONS:
10
-------------------------------------------
12
Installing libdbi-drivers on OSX can be easily accomplished by bending
13
over backwards while jumping through a burning hoop. This is the
14
recommended procedure to achieve this feat:
16
/sw/bin/glibtoolize --force
18
automake --add-missing
20
./configure --with-mysql --with-pgsql --with-sqlite --with-pgsql-dir=/opt/local/pgsql LDFLAGS="-L/sw/lib"
25
The fixlt.sh script is shipped with libdbi-drivers. It is required to
26
fix the libtool script created by configure for libtool versions
27
1.4.x. libtool versions 1.5.x should not require this hack.
29
Please note that you may have to adapt some paths depending on where
30
your stuff is installed.
9
OS X-SPECIFIC INSTALLATION INSTRUCTIONS:
10
----------------------------------------
12
(Tested on 10.4.9/PowerPC)
14
LIBTOOLIZE=glibtoolize ./autogen.sh
15
./configure --disable-docs --with-mysql --with-pgsql --with-sqlite --with-pgsql-dir=/opt/local/pgsql LDFLAGS="-L/sw/lib"
19
Adjust configure options and paths according to which databases you are
20
using, and where their headers and libraries are installed.
25
If you are using the MySQL.com Community[1] or Enterprise[2] package,
26
or a source install in the default location:
28
sudo ln -s /usr/local/mysql/include /usr/include/mysql
29
./configure --with-mysql --with-mysql-dir=/usr/local/mysql --disable-docs
33
[1] http://dev.mysql.com/downloads/
34
[2] https://enterprise.mysql.com/software/enterprise.php
37
QUICKSTART - POSTGRESQL
38
-----------------------
39
There are several options for installing PostgreSQL on OS X, including:
40
- Marc Liyanage's package at http://www.entropy.ch/software/macosx/postgresql/
41
- Druware's package at http://postgresqlformac.com/
42
- Fink package manager, see http://developer.apple.com/internet/opensource/postgres.html
44
If using the entropy.ch package, configure libdbi-drivers as follows:
45
./configure --with-pgsql --with-pgsql-dir=/usr/local/pgsql --disable-docs
47
If using the postgresqlformac.com package,
48
./configure --with-pgsql --with-pgsql-dir=/Library/PostgreSQL8 --disable-docs
50
In all cases, build and install libdbi-drivers as follows:
32
55
MODIFICATIONS AND REDISTRIBUTION (GPL):
33
----------------------------------------
56
---------------------------------------
35
58
See the file COPYING or http://www.gnu.org for more details.
38
$Id: README.osx,v 1.1 2003/06/09 20:04:54 mhoenicka Exp $
61
$Id: README.osx,v 1.2 2007/05/01 22:27:28 qu1j0t3 Exp $