What am I missing here:
OS = FreeBSD 8.4
Here is how it fails during gmake
:
mv -f .deps/test_auth_cache-test-auth-cache.Tpo
.deps/test_auth_cache-test-auth-cache.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth
-I../../src/lib-test -I../../src/lib-dict -I../../src/lib-dns
-I../../src/lib-http -I../../src/lib-sql -I../../src/lib-settings
-I../../src/lib-old-stats -I../../src/lib-ntlm -I../../src/lib-otp
-I../../src/lib-master -I../../src/lib-oauth2 -I../../src/lib-ssl-iostream
-I../../src/lib-lua
-DAUTH_MODULE_DIR=\""/opt/dovecot2.3/lib/dovecot/auth"\"
-DPKG_LIBEXECDIR=\""/opt/dovecot2.3/libexec/dovecot"\"
-DPKG_RUNDIR=\""/opt/dovecot2.3/var/run/dovecot"\" -fPIE -DPIE
-std=gnu99 -g -O2 -fstack-protector -D_FORTIFY_SOURCE=2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
-Wstrict-aliasing=2 -I/usr/local/include -MT auth-main.o -MD -MP -MF
.deps/auth-main.Tpo -c -o auth-main.o test -f 'main.c' || echo './'
main.c
mv -f .deps/auth-main.Tpo .deps/auth-main.Po
gmake[3]: *** No rule to make target '-L/usr/local/lib', needed by 'auth'.
Stop.
gmake[3]: Leaving directory
'/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.0.rc1/src/auth'
Makefile:562: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
'/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.0.rc1/src'
Makefile:680: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
'/usr/home/wash/Tools/Dovecot/2.3/dovecot-2.3.0.rc1'
Makefile:524: recipe for target 'all' failed
gmake: *** [all] Error 2
And here are my configure options:
./configure
--prefix=/opt/dovecot2.3
--with-ioloop=kqueue
--with-notify=kqueue
--with-sql=yes
--with-mysql
--with-zlib
--with-bzlib
--with-ssl=openssl
On 19 December 2017 at 12:25, Eray Aslan <eraya@a21an.org> wrote:
On Mon, Dec 18, 2017 at 05:23:28PM +0200, Timo Sirainen wrote:
https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz.sig
Please do not feed libraries into LDFLAGS. It is wrong and breaks with --as-needed:
[...] checking for libsodium... yes checking for crypto_pwhash_str_verify... no configure: error: Can't build with libsodium: not found
Please see the attached patch for a possible solution.
Thank you
Eray
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."