~ubuntu-branches/ubuntu/hardy/postfix/hardy-security

« back to all changes in this revision

Viewing changes to README_FILES/DB_README

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2007-04-15 16:00:44 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070415160044-xl1vjlhf9mdmf43a
Tags: 2.4.0-3
Have preinst get user approval before installing (and being broken) on a
pre-2.6 kernel.  Closes: #417530

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
BBuuiillddiinngg PPoossttffiixx oonn ssyysstteemmss wwiitthhoouutt BBeerrkkeelleeyy DDBB
27
27
 
28
 
Many commercial UNIXes ship without Berkeley DB support. Examples are Solaris,
29
 
HP-UX, IRIX, UNIXWARE. In order to build Postfix with Berkeley DB support you
30
 
need to download and install the source code from http://www.sleepycat.com/
 
28
Some UNIXes ship without Berkeley DB support; for historical reasons these use
 
29
DBM files instead. A problem with DBM files is that they can store only limited
 
30
amounts of data. To build Postfix with Berkeley DB support you need to download
 
31
and install the source code from http://www.oracle.com/database/berkeley-db/.
31
32
 
32
33
Warning: some Linux system libraries use Berkeley DB, as do some third-party
33
34
libraries such as SASL. If you compile Postfix with a different Berkeley DB
34
35
implementation, then every Postfix program will dump core because either the
35
 
system library, SASL library, or Postfix itself ends up using the wrong
 
36
system library, the SASL library, or Postfix itself ends up using the wrong
36
37
version.
37
38
 
38
39
The more recent Berkeley DB versions have a compile-time switch, "--with-
40
41
can co-exist in the same application. Although wasteful, this may be the only
41
42
way to keep things from falling apart.
42
43
 
43
 
To build Postfix after you installed the Berkeley DB from http://
44
 
www.sleepycat.com/, use something like:
 
44
To build Postfix after you installed the Berkeley DB from source code, use
 
45
something like:
45
46
 
46
47
    % make tidy
47
48
    % make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB/include" \
151
152
 
152
153
    % make makefiles .... AUXLIBS="... -lpthread"
153
154
 
154
 
More information is available at http://www.sleepycat.com/.
 
155
More information is available at http://www.oracle.com/database/berkeley-db/.
155
156