(following up to my own message ...)
On Tue, 10 Aug 2021, I wrote:
My build-time configure and make for pigeonhole is relatively simple,
but fails to build:
./configure --prefix=/local/pkg/pigeonhole-0.5.16/root \
--sbindir=/local/pkg/pigeonhole-0.5.16/root/bin \
--localstatedir=/var \
--mandir=/local/pkg/pigeonhole-0.5.16/root/man \
--with-dovecot=/local/pkg/dovecot-CURRENT/root/lib/dovecot
make -j2
"/local/pkg/dovecot-CURRENT/root/lib/dovecot" is correct for us, if I
understand the installation instructions correctly:
-rw-r--r-- 1 root root 1324 Aug 3 14:03
/local/pkg/dovecot-CURRENT/root/lib/dovecot/dovecot-config
The make fails, while compiling sieve-extprograms-common.c:
sieve-extprograms-common.c: In function ‘sieve_extprogram_run’:
sieve-extprograms-common.c:639:7: error:
‘PROGRAM_CLIENT_EXIT_STATUS_INTERNAL_FAILURE’ undeclared (first use in this
function)
case PROGRAM_CLIENT_EXIT_STATUS_INTERNAL_FAILURE:
^
sieve-extprograms-common.c:639:7: note: each undeclared identifier is
reported only once for each function it appears in
sieve-extprograms-common.c:641:7: error:
‘PROGRAM_CLIENT_EXIT_STATUS_FAILURE’ undeclared (first use in this function)
case PROGRAM_CLIENT_EXIT_STATUS_FAILURE:
^
sieve-extprograms-common.c:643:7: error:
‘PROGRAM_CLIENT_EXIT_STATUS_SUCCESS’ undeclared (first use in this function)
case PROGRAM_CLIENT_EXIT_STATUS_SUCCESS:
^
Just after I sent that, a colleague found the string in
/local/pkg/dovecot-2.3.16/root/include/dovecot/program-client.h; Ok,
great, but that's why we want to point to dovecot-config, so this can be
found ... except:
: lust[syl] ~; grep -w include
/local/pkg/dovecot-CURRENT/root/lib/dovecot/dovecot-config
LIBDOVECOT_INCLUDE=-I/local/pkg/dovecot-2.3.15/root/include/dovecot
dovecot_pkgincludedir=/local/pkg/dovecot-2.3.15/root/include/dovecot
Well that explains the compilation error on pigeonhole. No I need only
to figure out why dovecot-config is pointing to the old version ...
(for the record, I suspect my "dovecot-CURRENT" symlink wasn't correctly
updated ... sorry for the noise ...)
--
----------------------------------------------------------------------
Sylvain Robitaille s...@encs.concordia.ca
Systems analyst / AITS Concordia University
Faculty of Engineering and Computer Science Montreal, Quebec, Canada
----------------------------------------------------------------------