File: README.osx

package info (click to toggle)
libdbi-drivers 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,148 kB
  • ctags: 1,900
  • sloc: ansic: 18,980; sh: 10,942; xml: 2,759; makefile: 577
file content (62 lines) | stat: -rw-r--r-- 1,902 bytes parent folder | download | duplicates (7)
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

libdbi-drivers - drivers for libdbi, the Database
Independent Abstraction Layer for C

Copyright (C) 2001-2003, Markus Hoenicka
http://libdbi-drivers.sourceforge.net


OS X-SPECIFIC INSTALLATION INSTRUCTIONS:
----------------------------------------

(Tested on 10.4.9/PowerPC)

	LIBTOOLIZE=glibtoolize ./autogen.sh
	./configure --disable-docs --with-mysql --with-pgsql --with-sqlite --with-pgsql-dir=/opt/local/pgsql LDFLAGS="-L/sw/lib"
	make
	sudo make install

Adjust configure options and paths according to which databases you are
using, and where their headers and libraries are installed.


QUICKSTART - MYSQL
------------------
If you are using the MySQL.com Community[1] or Enterprise[2] package,
or a source install in the default location:

	sudo ln -s /usr/local/mysql/include /usr/include/mysql
	./configure --with-mysql --with-mysql-dir=/usr/local/mysql --disable-docs
	make
	sudo make install

[1] http://dev.mysql.com/downloads/
[2] https://enterprise.mysql.com/software/enterprise.php


QUICKSTART - POSTGRESQL
-----------------------
There are several options for installing PostgreSQL on OS X, including:
- Marc Liyanage's package at http://www.entropy.ch/software/macosx/postgresql/
- Druware's package at http://postgresqlformac.com/
- Fink package manager, see http://developer.apple.com/internet/opensource/postgres.html

If using the entropy.ch package, configure libdbi-drivers as follows:
	./configure --with-pgsql --with-pgsql-dir=/usr/local/pgsql --disable-docs

If using the postgresqlformac.com package,
	./configure --with-pgsql --with-pgsql-dir=/Library/PostgreSQL8 --disable-docs

In all cases, build and install libdbi-drivers as follows:
	make
	sudo make install


MODIFICATIONS AND REDISTRIBUTION (GPL):
---------------------------------------

See the file COPYING or http://www.gnu.org for more details.


$Id: README.osx,v 1.2 2007/05/01 22:27:28 qu1j0t3 Exp $