[Dovecot] Compiling Dovecot with-notify=inotify

Jakob Hirsch jh at plonk.de
Mon Jan 23 14:28:29 EET 2006


Nicolas STRANSKY wrote:

> I'm trying to compile Dovecot beta2 with inotify support, but this is
> unsuccessfull.

This whole inotify header thing is a little strange.
At first, dovecot needed linux/inotify.h and linux/inotify-syscalls.h.
This was changed some days ago to a single header file, sys/inotify.h. But
now the syscall numbers are missing...

I solved it on my system by fetching both header files from
ftp://ftp.kernel.org/pub/linux/kernel/people/rml/inotify/headers/ and
merging them into a single inotify.h. Don't know if this the right
thing[tm], but it works. It's now in the Wiki (CompilingSource). Comments
and objections welcome.


More information about the dovecot mailing list