[Dovecot] cmd-vacation.c:4:17: fatal error: lib.h: No such file or directory && ./configure: line 11410: -lssl: command not found

Tobias Hachmer lists at kokelnet.de
Thu Nov 29 16:57:00 EET 2012


Hello Timo,

Building 2.1.11 was ok, but rebuilding pigeonhole 0.3.3 for dovecot 2.1.11 
show up the following errors:

checking for dovecot-config in "/usr/lib/dovecot"... /usr/lib/dovecot/dovecot-
config
./configure: line 11410: -lssl: command not found
checking whether OS supports plugin dependencies... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/example-config/Makefile
config.status: creating doc/example-config/conf.d/Makefile
config.status: creating doc/rfc/Makefile
config.status: creating src/Makefile
config.status: creating src/lib-sieve/Makefile
config.status: creating src/lib-sieve/plugins/Makefile
config.status: creating src/lib-sieve/plugins/vacation/Makefile
config.status: creating src/lib-sieve/plugins/subaddress/Makefile
config.status: creating src/lib-sieve/plugins/comparator-i-ascii-
numeric/Makefile
config.status: creating src/lib-sieve/plugins/relational/Makefile
config.status: creating src/lib-sieve/plugins/regex/Makefile
config.status: creating src/lib-sieve/plugins/imap4flags/Makefile
config.status: creating src/lib-sieve/plugins/copy/Makefile
config.status: creating src/lib-sieve/plugins/include/Makefile
config.status: creating src/lib-sieve/plugins/body/Makefile
config.status: creating src/lib-sieve/plugins/variables/Makefile
config.status: creating src/lib-sieve/plugins/enotify/Makefile
config.status: creating src/lib-sieve/plugins/enotify/mailto/Makefile
config.status: creating src/lib-sieve/plugins/notify/Makefile
config.status: creating src/lib-sieve/plugins/environment/Makefile
config.status: creating src/lib-sieve/plugins/mailbox/Makefile
config.status: creating src/lib-sieve/plugins/date/Makefile
config.status: creating src/lib-sieve/plugins/spamvirustest/Makefile
config.status: creating src/lib-sieve/plugins/ihave/Makefile
config.status: creating src/lib-sieve/plugins/editheader/Makefile
config.status: creating src/lib-sieve/plugins/vnd.dovecot/Makefile
config.status: creating src/lib-sieve/plugins/vnd.dovecot/debug/Makefile
config.status: creating src/lib-sieve/plugins/vnd.dovecot/duplicate/Makefile
config.status: creating src/lib-sieve-tool/Makefile
config.status: creating src/lib-sievestorage/Makefile
config.status: creating src/lib-managesieve/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/plugins/lda-sieve/Makefile
config.status: creating src/sieve-tools/Makefile
config.status: creating src/managesieve/Makefile
config.status: creating src/managesieve-login/Makefile
config.status: creating src/testsuite/Makefile
config.status: creating stamp.h
config.status: creating dummy-config.h
config.status: creating pigeonhole-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3'
/usr/bin/make  all-recursive
make[2]: Entering directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3'
Making all in src
make[3]: Entering directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src'
Making all in lib-sieve
make[4]: Entering directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve'
Making all in plugins
make[5]: Entering directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve/plugins'
Making all in vacation
make[6]: Entering directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve/plugins/vacation'
/bin/bash ../../../../libtool --tag=CC   --mode=compile x86_64-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../../../..  -I./../../  -D_FORTIFY_SOURCE=2  -std=gnu99 
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -
Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-
subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-
aliasing=2  -MT cmd-vacation.lo -MD -MP -MF .deps/cmd-vacation.Tpo -c -o cmd-
vacation.lo cmd-vacation.c
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../.. -
I./../../ -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -fstack-protector --param=ssp-
buffer-size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -
Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-
function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT cmd-vacation.lo -
MD -MP -MF .deps/cmd-vacation.Tpo -c cmd-vacation.c  -fPIC -DPIC -o .libs/cmd-
vacation.o
cmd-vacation.c:4:17: fatal error: lib.h: No such file or directory
compilation terminated.
make[6]: *** [cmd-vacation.lo] Error 1
make[6]: Leaving directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve/plugins/vacation'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve/plugins'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tobias/pighole_test/dovecot-2.1-
pigeonhole-0.3.3'
make: *** [build-stamp] Error 2


my configure options:
./configure --with-dovecot=/usr/lib/dovecot --prefix=/usr --sysconfdir=/etc --
libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --
infodir=/usr/share/info --with-moduledir=/usr/lib/dovecot/modules

Regards,
Tobias Hachmer


More information about the dovecot mailing list