~ubuntu-branches/ubuntu/precise/libdbi-drivers/precise

« back to all changes in this revision

Viewing changes to README.osx

  • Committer: Stefano Rivera
  • Date: 2010-08-07 14:06:29 UTC
  • mfrom: (5.1.1 libdbi-drivers)
  • Revision ID: stefanor@ubuntu.com-20100807140629-dshfwn5j6v34pqrd
Tags: 0.8.3-1-0ubuntu1
New upstream release. -- Fixes ABORT problems with sqlite3+rrdtool

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
http://libdbi-drivers.sourceforge.net
7
7
 
8
8
 
9
 
OSX-SPECIFIC INSTALLATION INSTRUCTIONS:
10
 
-------------------------------------------
11
 
 
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:
15
 
 
16
 
/sw/bin/glibtoolize --force
17
 
aclocal
18
 
automake --add-missing
19
 
autoconf
20
 
./configure --with-mysql --with-pgsql --with-sqlite --with-pgsql-dir=/opt/local/pgsql LDFLAGS="-L/sw/lib"
21
 
./fixlt.sh
22
 
make
23
 
sudo make install
24
 
 
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.
28
 
 
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
----------------------------------------
 
11
 
 
12
(Tested on 10.4.9/PowerPC)
 
13
 
 
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"
 
16
        make
 
17
        sudo make install
 
18
 
 
19
Adjust configure options and paths according to which databases you are
 
20
using, and where their headers and libraries are installed.
 
21
 
 
22
 
 
23
QUICKSTART - MYSQL
 
24
------------------
 
25
If you are using the MySQL.com Community[1] or Enterprise[2] package,
 
26
or a source install in the default location:
 
27
 
 
28
        sudo ln -s /usr/local/mysql/include /usr/include/mysql
 
29
        ./configure --with-mysql --with-mysql-dir=/usr/local/mysql --disable-docs
 
30
        make
 
31
        sudo make install
 
32
 
 
33
[1] http://dev.mysql.com/downloads/
 
34
[2] https://enterprise.mysql.com/software/enterprise.php
 
35
 
 
36
 
 
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
 
43
 
 
44
If using the entropy.ch package, configure libdbi-drivers as follows:
 
45
        ./configure --with-pgsql --with-pgsql-dir=/usr/local/pgsql --disable-docs
 
46
 
 
47
If using the postgresqlformac.com package,
 
48
        ./configure --with-pgsql --with-pgsql-dir=/Library/PostgreSQL8 --disable-docs
 
49
 
 
50
In all cases, build and install libdbi-drivers as follows:
 
51
        make
 
52
        sudo make install
 
53
 
31
54
 
32
55
MODIFICATIONS AND REDISTRIBUTION (GPL):
33
 
----------------------------------------
 
56
---------------------------------------
34
57
 
35
58
See the file COPYING or http://www.gnu.org for more details.
36
59
 
37
60
 
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 $
39
62