Closed GoogleCodeExporter closed 9 years ago
The environment you try to compile it under seems to have problems with some
Posix structures, how does "struct dirent" look like?
Anyway, I doubt you will have an inotify interface on Interix with a
Windowskernel. This rules out running Lsyncd on it :-(
Original comment by axk...@gmail.com
on 29 Mar 2011 at 8:42
Nuts. You're right. :(
I got lsyncd.c to compile by removing the if() statement at line 1113 and
forcing the DT_UNKNOWN branch which uses lstat() and S_ISDIR() instead of
(de->d_type == DT_DIR). I also had to add <sys/select.h> to the header
#includes.
But then once I got past lsyncd.c, inotify.c started throwing errors and I came
to the same conclusion you did - that Interix doesn't offer that functionality.
:(
Original comment by nicholas...@gmail.com
on 29 Mar 2011 at 4:16
Windows has its own event queues. Lsyncd would need its own adapter for that
like it has already for Linux' inotify and OSX' fsevents. However, this isn't
on my TODO list in any near future.
At least I'll add <sys/select.h> to lsyncd.c, seems i forgot that.
Original comment by axk...@gmail.com
on 30 Mar 2011 at 10:14
Original issue reported on code.google.com by
nicholas...@gmail.com
on 29 Mar 2011 at 8:12