~ubuntu-branches/ubuntu/oneiric/postfix/oneiric

« back to all changes in this revision

Viewing changes to README_FILES/MYSQL_README

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2008-09-07 14:02:15 UTC
  • mfrom: (29.1.21 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080907140215-d9zf8bj803ditke5
Tags: 2.5.5-1.1
* Non-maintainer upload.
* Add rsyslog.d config snipped to create a /dev/log syslog socket in the
  postfix chroot.  Also, add a note about other syslog daemons to
  README.Debian.  Closes: #311812

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
BBuuiillddiinngg PPoossttffiixx wwiitthh MMyySSQQLL ssuuppppoorrtt
19
19
 
 
20
These instructions assume that you build Postfix from source code as described
 
21
in the INSTALL document. Some modification may be required if you build Postfix
 
22
from a vendor-specific source package.
 
23
 
20
24
Note: to use mysql with Debian GNU/Linux's Postfix, all you need is to install
21
25
the postfix-mysql package and you're done. There is no need to recompile
22
26
Postfix.
35
39
        'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
36
40
        'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'
37
41
 
 
42
On Solaris, use this instead:
 
43
 
 
44
    make -f Makefile.init makefiles \
 
45
        'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
 
46
        'AUXLIBS=-L/usr/local/mysql/lib -R/usr/local/mysql/lib \
 
47
            -lmysqlclient -lz -lm'
 
48
 
38
49
Then, just run 'make'. This requires libz, the compression library. Older mysql
39
50
implementations build without libz.
40
51