Sunday, October 30, 2022

Re: postfix-pgsql postmap failures after upgrade

On Sun, 30 Oct 2022 09:13:19 +0000
Stuart Henderson <stu@spacehopper.org> wrote:

> If you have the ports tree on your machine you can unpack the attached
> file under /usr/ports/mail/postfix, pkg_delete postfix, and build a 3.5
> version from /usr/ports/mail/postfix/stable35 with "FLAVOR=pgsql make
> install".

Thank you for your help and response.

I was building your stable35 but it failed at sqlite3, which I do have
installed (found /usr/local/include/sqlite3.h on my system, anyway).
I wasn't sure if I should play with -I or not.

full error:

dict_sqlite.c:74:10: fatal error: 'sqlite3.h' file not found
#include <sqlite3.h>
^~~~~~~~~~~
1 error generated.
*** Error 1 in src/global (Makefile:186 'dict_sqlite.o')
*** Error 1 in /usr/ports/pobj/postfix-3.5.17-pgsql/postfix-3.5.17 (Makefile:96 'update')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2971 '/usr/ports/pobj/postfix-3.5.17-pgsql/.build_done': @cd /usr/ports/pobj/post...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2143 '/usr/ports/packages/amd64/all/postfix-3.5.17-pgsql.tgz': @cd /usr/ports/mai...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2632 '_internal-package': @case X${_DEPENDS_CACHE} in X) _DEPENDS_CACHE=$( mktem...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2611 'package': @:; cd /usr/ports/mail/postfix/stable35 && PKGPATH=mail/postfix/s...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2164 '/var/db/pkg/postfix-3.5.17-pgsql/+CONTENTS': @cd /usr/ports/mail/postfix/st...)
*** Error 2 in /usr/ports/mail/postfix/stable35 (/usr/ports/infrastructure/mk/bsd.port.mk:2611 'install': @lock=postfix-3.5.17-pgsql; expor...)

No comments:

Post a Comment