On 2026/01/28 16:58, Washington Odhiambo wrote: > #!/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
Bad idea to run the install as root unconditionally. If the build failed, you'll re-run part of the build again as root as a dependency of "make install". There are various ways to avoid this; "set -e" at the top of the script is probably simplest. > 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 You'll at least need either the patchset that Aki mentioned, or git head https://github.com/dovecot/core/compare/f8dcc0ddbf877%5E...1c6b67195d279836d94e.patch and then you may also hit the problems I ran into with xapian/pcre2. _______________________________________________ dovecot mailing list -- [email protected] To unsubscribe send an email to [email protected]
