[Dovecot] dovecot ignoring config file contents -- istream.c problem?
Hello!
This is my first time trying to run dovecot so maybe I've overlooked something, but I'm having a hard time running dovecot.
First of all, it's worth noting that I'm trying to run dovecot on an embedded platform: the target architecture is mipsel; I have patches for the 2.4.18 kernel with special support for the board so I'm still using the 2.4.18 kernel. My C library is uClibc (I forget which version; will look it up later). The compiler I'm using is GCC 2.96.
Anyway, after some struggling, I got dovecot to compile.
These are my configure options:
./configure --prefix=/home/marko/ovis/myfirm/tmp/ --build=i686-linux --host=mipsel-uclibc-linux --disable-static --disable-rpath --disable-ipv6 --with-pic --with-notify=none --without-shadow --without-pam --with-checkpassword --without-bsdauth --without-vpopmail --without-ssl --without-pop3d --without-docs
dovecot compiles and runs, but no matter what I put in dovecot.conf, it says something like "SSL support not build in but ssl_disable=no". I've even tried putting garbage into the config file (like hello=test ; on my desktop dovecot complains on that line, it is completly ignored on my embedded device). But when I delete the config file, dovecot complains.
So I've done some printf-debugging in lib-settings/settings.c, and fount out that: control flow reaches the line input = i_stream_create_file(fd, default_pool, 2048, TRUE);
but then no single iteration of the while loop is executed.
Do you have any idea what could be wrong here? Any help is greatly appreciated ! Thank you.
Pavol Marko
Hello,
dovecot compiles and runs, but no matter what I put in dovecot.conf, it says something like "SSL support not build in but ssl_disable=no". looks like ./configure doesn't find openssl... can you try something like:
CPPFLAGS=-I/usr/local/ssl/include LDFLAGS="-L/usr/local/ssl/lib -ldl" ./configure (+options)
(all one one line, or in a wrapperscript, edit paths to match yours) ./configure prints a summary which tells you if it finds openssl.
success!
--
groeten,
HenkJan Wolthuis
On Wed, 2006-09-06 at 23:11 +0000, pavol marko wrote:
First of all, it's worth noting that I'm trying to run dovecot on an embedded platform: the target architecture is mipsel; I have patches for the 2.4.18 kernel with special support for the board so I'm still using the 2.4.18 kernel. My C library is uClibc (I forget which version; will look it up later). The compiler I'm using is GCC 2.96. .. So I've done some printf-debugging in lib-settings/settings.c, and fount out that: control flow reaches the line input = i_stream_create_file(fd, default_pool, 2048, TRUE);
but then no single iteration of the while loop is executed.
Maybe pread() is broken. After configure try commenting out HAVE_PREAD and HAVE_PWRITE lines from config.h. If that fixes it, try to get uClibc people to fix it..
Yes, commenting out HAVE_PREAD and PREAD_WRAPPERS from config.h has fixed this problem!
Thank you very much.
As for notifying uClibc people, I'll first have to verify that I'm using the newest uClibc version.
On 9/7/06, Timo Sirainen tss@iki.fi wrote:
On Wed, 2006-09-06 at 23:11 +0000, pavol marko wrote:
First of all, it's worth noting that I'm trying to run dovecot on an embedded platform: the target architecture is mipsel; I have patches for the 2.4.18 kernel with special support for the board so I'm still using the 2.4.18 kernel. My C library is uClibc (I forget which version; will look it up later). The compiler I'm using is GCC 2.96. .. So I've done some printf-debugging in lib-settings/settings.c, and fount out that: control flow reaches the line input = i_stream_create_file(fd, default_pool, 2048, TRUE);
but then no single iteration of the while loop is executed.
Maybe pread() is broken. After configure try commenting out HAVE_PREAD and HAVE_PWRITE lines from config.h. If that fixes it, try to get uClibc people to fix it..
participants (3)
-
HenkJan Wolthuis
-
pavol marko
-
Timo Sirainen