[Dovecot] DRAC support?
charlie at rubberduck.com
Thu May 29 12:09:11 EEST 2003
On Wed, May 28, 2003 at 02:30:19PM +0300, Timo Sirainen wrote:
> On Wed, 2003-05-28 at 08:08, Charlie Allom wrote:
> > still going here .. I have test2 and last drac.c
> > it all compiled much more cleanly this time.
> > NB you have to hand edit and #define HAVE_MODULES in config.h
> That's not enough. If configure doesn't detect that you have modules,
> it's not setting the linker flags correctly and it won't work.
> Looks like BSDs don't have libdl which is why configure's test fails.
> Try -test7, I just updated it so that the check should work.
Thanks, but drac.so will not compile with this anymore.
test2 does it cleanly, I will paste in my findings:
10:58 yeled at lazy:~/dovecot-0.99.10-test2$ export dovecot=~/dovecot-0.99.10-test2
10:58 yeled at lazy:~/dovecot-0.99.10-test2$ gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib drac.c -o drac.so -I/usr/pkg/lib/libdrac.a
10:59 yeled at lazy:~/dovecot-0.99.10-test2$ cd ../dovecot-0.99.10-test7/
10:59 yeled at lazy:~/dovecot-0.99.10-test7$ export dovecot=~/dovecot-0.99.10-test7
10:59 yeled at lazy:~/dovecot-0.99.10-test7$ gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib drac.c -o drac.so -I/usr/pkg/lib/libdrac.a
In file included from drac.c:14:
/home/yeled/dovecot-0.99.10-test7/src/lib/lib.h:6: ../../config.h: No such file or directory
In file included from /home/yeled/dovecot-0.99.10-test7/src/lib/lib.h:20,
/home/yeled/dovecot-0.99.10-test7/src/lib/compat.h:17: #error uoff_t size not set
10:59 yeled at lazy:~/dovecot-0.99.10-test7$
weird? anyway test7 still does not fix these HAVE_MODULES issue.
Install prefix ...................... : /usr/local
File offsets ........................ : 64bit
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with user database modules . : static passwd passwd-file
Building with password lookup modules : passwd passwd-file
11:07 yeled at lazy:~/dovecot-0.99.10-test7$ grep MODU config.h
/* #undef HAVE_MODULES */
charlie at rubberduck.com - Melbourne, Australia
PGP: 0x14AA7941 || finger yeled at lazy.spodder.com
More information about the dovecot