[Dovecot] DRAC support?

Charlie Allom charlie at rubberduck.com
Mon May 19 12:48:49 EEST 2003


On Sun, May 18, 2003 at 08:07:12PM +0300, Timo Sirainen wrote:
> On Sat, 2003-05-17 at 09:31, Charlie Allom wrote:
> > has anyone else tried this patch ? with Timo's modifications to his
> > original patch I got it updating the DRAC db, but only able to use the
> > local interfaces.
> 
> Install Dovecot 0.99.10-test2 and
> http://dovecot.procontrol.fi/patches/drac-imap.c

The instructions specify:

	gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib \
	drac.c -o drac.so -ldrac

and the C defines common.h - which one?  "-I$dovecot/src/master" ?

11:19 root at lazy:/usr/src/dovecot# find . -name common.h
./src/auth/common.h
./src/imap/common.h
./src/imap-login/common.h
./src/login-common/common.h
./src/master/common.h
./src/pop3/common.h
./src/pop3-login/common.h

11:29 root at lazy:/usr/src/dovecot# export dovecot=/usr/src/dovecot/
11:46 root at lazy:/usr/src/dovecot# gcc -Wall -W -shared -fPIC -DHAVE_CONFIG_H -I$dovecot -I$dovecot/src/lib -I$dovecot/src/master drac.c -o drac.so -ldrac
In file included from /usr/src/dovecot/src/master/common.h:6,
                 from drac.c:14:
/usr/src/dovecot/src/lib/lib.h:6: ../../config.h: No such file or directory
In file included from /usr/src/dovecot/src/lib/lib.h:20,
                 from /usr/src/dovecot/src/master/common.h:6,
                 from drac.c:14:
/usr/src/dovecot/src/lib/compat.h:17: #error uoff_t size not set


Regards,
  C.

-- 
 charlie at rubberduck.com - Melbourne, Australia
 http://rubberduck.com/~yeled/
 PGP: 0x14AA7941 || finger yeled at lazy.spodder.com
 > http://groups.google.com/groups?selm=3266D499.342E%40student.uq.edu.au <


More information about the dovecot mailing list