From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | "Just E(dot) Mail" <justemail(at)imwell-usa(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Postfix with PostgreSQL |
Date: | 2009-05-11 10:49:46 |
Message-ID: | 1242038986.3163.254.camel@laptop-hp.gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Mag Gam | 2009-05-11 12:11:48 | Range queries with multiple tables |
Previous Message | Just E. Mail | 2009-05-10 18:14:26 | Re: Postfix with PostgreSQL |