Closed pascalrobert closed 7 years ago
Hi!
This is because it needs to be compiled against master-2.2 branch, which apparently is missing. We'll try to get it pushed.
I get the same problem with the master-2.2 branch:
[root@localhost core]# git status
# On branch master-2.2
[root@localhost imaptest]# ./configure --with-dovecot=../core
[root@localhost imaptest]# make
make all-recursive
make[1]: entrant dans le répertoire « /root/imaptest »
Making all in src
make[2]: entrant dans le répertoire « /root/imaptest/src »
gcc -DHAVE_CONFIG_H -I. -I.. -I/root/core -I/root/core/src/lib -I/root/core/src/lib-dict -I/root/core/src/lib-dns -I/root/core/src/lib-http -I/root/core/src/lib-mail -I/root/core/src/lib-smtp -I/root/core/src/lib-imap -I/root/core/src/lib-fs -I/root/core/src/lib-charset -I/root/core/src/lib-auth -I/root/core/src/lib-master -I/root/core/src/lib-ssl-iostream -I/root/core/src/lib-compression -I/root/core/src/lib-settings -I/root/core/src/lib-test -I/root/core/src/lib-sasl -I/root/core/src/lib-stats -I/root/core/src/lib-dcrypt -I/root/core/src/lib-program-client -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
client.c: In function ‘client_init’:
client.c:235: erreur: too few arguments to function ‘i_stream_create_fd’
client.c:236: erreur: too few arguments to function ‘o_stream_create_fd’
what version of dovecot are you compiling against?
ah, 2.2.27...
oh, and i ment core-2.2
branch of this repository.
Ok. So, now I'm trying to build imaptest from the core-2.2 branch, with the master-2.2 branch of Dovecot, and I'm getting:
gcc -DHAVE_CONFIG_H -I. -I.. -I/root/core -I/root/core/src/lib -I/root/core/src/lib-dict -I/root/core/src/lib-dns -I/root/core/src/lib-http -I/root/core/src/lib-mail -I/root/core/src/lib-smtp -I/root/core/src/lib-imap -I/root/core/src/lib-fs -I/root/core/src/lib-charset -I/root/core/src/lib-auth -I/root/core/src/lib-master -I/root/core/src/lib-ssl-iostream -I/root/core/src/lib-compression -I/root/core/src/lib-settings -I/root/core/src/lib-test -I/root/core/src/lib-sasl -I/root/core/src/lib-stats -I/root/core/src/lib-dcrypt -I/root/core/src/lib-program-client -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT user.o -MD -MP -MF .deps/user.Tpo -c -o user.o user.c
user.c: In function ‘user_get_random_from_conf’:
user.c:67: warning: format not a string literal, argument types not checked
user.c: In function ‘user_get_new_mailbox’:
user.c:246: warning: unused variable ‘error’
mv -f .deps/user.Tpo .deps/user.Po
make[2]: *** No rule to make target `/root/core/src/lib-dovecot/libdovecot.la', needed by `imaptest'. Stop.
Same error if I try to build it against the master branch of Dovecot.
Ok. Updated master-2.2, run make on Dovecot again, and it's working now.
Good to hear.
Running: ./configure --with-dovecot=../dovecot-2.2.27 && make
Getting: