On Wed, Jan 28, 2026 at 3:05 PM Matthias Fechner via dovecot < dovecot@dovecot.org> wrote:
Am 28.01.2026 um 12:58 schrieb Joel Mawhorter via dovecot:
./autogen.sh ./configure --enable-maintainer-mode make on BSD you must use gmake if you want to use GNU make and not BSD make.
I tried compiling on OpenBSD7.8 too. Here is what I did:
#!/usr/bin/env bash
export AUTOCONF_VERSION=2.72 export AUTOMAKE_VERSION=1.18 export LIBTOOL=glibtool export PATH="/usr/local/bin:$PATH"
./autogen.sh &&
./configure
--enable-maintainer-mode
--with-sql=yes
--with-mysql
--with-pgsql
--enable-experimental-mail-utf8
--with-pcre2
gmake -j$(sysctl -n hw.ncpu) doas gmake install
And here is where it fails:
<cut> gmake[2]: Leaving directory '/home/wash/Dovecot/dovecot/src/lib-doveadm' Making install in lib-var-expand-crypt gmake[2]: Entering directory '/home/wash/Dovecot/dovecot/src/lib-var-expand-crypt' CCLD test-var-expand-crypt
*** Warning: Linking the executable test-var-expand-crypt against the loadable module *** var_expand_crypt.so is not portable! ld: error: unable to find library -lvar_expand_crypt cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:829: test-var-expand-crypt] Error 1 gmake[2]: Leaving directory '/home/wash/Dovecot/dovecot/src/lib-var-expand-crypt' gmake[1]: *** [Makefile:607: install-recursive] Error 1 gmake[1]: Leaving directory '/home/wash/Dovecot/dovecot/src' gmake: *** [Makefile:744: install-recursive] Error 1 bash-5.3$ </cut>
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On Wed, Jan 28, 2026 at 3:05PM Matthias Fechner via dovecot <[1]dovecot@dovecot.org> wrote:
Am 28.01.2026 um 12:58 schrieb Joel Mawhorter via dovecot:
> ./autogen.sh
> ./configure --enable-maintainer-mode
> make
on BSD you must use gmake if you want to use GNU make and not BSD make.
I tried compiling on OpenBSD7.8 too. Here is what I did: #!/usr/bin/env bash
export AUTOCONF_VERSION=2.72 export AUTOMAKE_VERSION=1.18 export LIBTOOL=glibtool export PATH="/usr/local/bin:$PATH"
./autogen.sh &&
./configure
--enable-maintainer-mode
--with-sql=yes
--with-mysql
--with-pgsql
--enable-experimental-mail-utf8
--with-pcre2
gmake -j$(sysctl -n hw.ncpu) doas gmake install And here is where it fails:
<cut> gmake[2]: Leaving directory '/home/wash/Dovecot/dovecot/src/lib-doveadm' Making install in lib-var-expand-crypt gmake[2]: Entering directory '/home/wash/Dovecot/dovecot/src/lib-var-expand-crypt' CCLD test-var-expand-crypt
*** Warning: Linking the executable test-var-expand-crypt against the loadable module *** var_expand_crypt.so is not portable! ld: error: unable to find library -lvar_expand_crypt cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:829: test-var-expand-crypt] Error 1 gmake[2]: Leaving directory '/home/wash/Dovecot/dovecot/src/lib-var-expand-crypt' gmake[1]: *** [Makefile:607: install-recursive] Error 1 gmake[1]: Leaving directory '/home/wash/Dovecot/dovecot/src' gmake: *** [Makefile:744: install-recursive] Error 1 bash-5.3$ </cut>
Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' -\_(Tu)_/- :-) [How to ask smart questions: [2]http://www.catb.org/~esr/faqs/smart-questions.html]
References
Visible links
- mailto:dovecot@dovecot.org
- http://www.catb.org/~esr/faqs/smart-questions.html