[Dovecot] other location of sys/inotify.h on Debian Etch (was Re: dnotify inotify)

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Mon Mar 3 11:23:47 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 3 Mar 2008, Osvaldo Alvarez Pozo wrote:

> AS for me is imposible to compile dovecot (sys/inotify.h is missing in
> Debian Etch)with inotify  I wonder wich would be the problem if I

I have _not_ tested the issue, yet, but I'm also looking in this topic:

Google found this:
http://bbs.archlinux.org/viewtopic.php?pid=336556

"Making CMake dance for me
Hi, I'm working on ap project that users inotify.h, a module that is 
included in recent versions of glibc, but for example not in Debian Etch.

The thing is, in any modern distro I'd have to include sys/inotify.h, 
while in etch I have to include inotifytools/inotify.h. I've managed to do 
it in CMake with CHECK_INCLUDE_FILES and a config.h, but I found a cleaner 
solution that should work in theory but actually doesn't, for me:"

The package inotify-tools does include the inotifytools/* files and the 
./configure test script does pass, if compiled with #include 
<inotifytools/inotify.h> instead of <sys/inotify.h>.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHy8OlVJMDrex4hCIRArNLAKDIRrXPwh69eben7/8aBXIbq4vwlwCfWCc/
4XuPq4bpLEiN5jb4cvQ8Zfo=
=p284
-----END PGP SIGNATURE-----


More information about the dovecot mailing list