On Sun, 2009-05-10 at 12:14 -0600, Just E. Mail wrote:
> No <db.h> include file found.
My postfix spec file requires following packages to build cleanly:
libspf2-, db4-devel, pcre-devel postgresql-devel zlib-devel
cyrUs-sasl-devel openssl-devel
You will need to install these packages before building your postfix.
However, my vote is not building Postfix from source.
First, download this:
http://ftp.wl0.org/official/2.5/SRPMS/postfix-2.5.6-2.src.rpm
then run:
rpmbuild --rebuild --define "with_pgsql 1" --define "--with-ldap 0" \
--define "with-dovecot 1" --define "--with-sasl 1" \
--define "with_tls 1" postfix-2.5.6-2.src.rpm
If it asks you to install packages before building, do install them.
Here is an example (output may differ):
===========
error: Failed build dependencies:
openldap-devel >= 1.2.9 is needed by postfix-2.5.6-2.rhel5.x86_64
openssl-devel is needed by postfix-2.5.6-2.rhel5.x86_64
===========
-HTH
Regards,
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org