[avahi] OSX doesn't have inotify
Robey Pointer
robey at lag.net
Fri May 4 22:06:15 PDT 2007
The current avahi (0.6.18) won't build on OSX because it assumes OSX
has inotify. Oddly, configure even says "Enable Linux inotify: no".
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. '-DDEBUG_TRAP=__asm__
("int $3")' -DAVAHI_DAEMON_RUNTIME_DIR=\"/usr/local/var/run/avahi-
daemon/\" -DAVAHI_SOCKET=\"/usr/local/var/run/avahi-daemon/socket\" -
DAVAHI_SERVICE_DIR=\"/usr/local/etc/avahi/services\" -
DAVAHI_CONFIG_FILE=\"/usr/local/etc/avahi/avahi-daemon.conf\" -
DAVAHI_HOSTS_FILE=\"/usr/local/etc/avahi/hosts\" -
DAVAHI_DBUS_INTROSPECTION_DIR=\"/usr/local/share/avahi/introspection
\" -DAVAHI_CONFIG_DIR=\"/usr/local/etc/avahi\" -D_REENTRANT -I/usr/
local/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/
dbus-1.0/include -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=0 -
DDBUS_VERSION_MICRO=2 -DDBUS_API_SUBJECT_TO_CHANGE -
DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"unix:path=/var/run/dbus/
system_bus_socket\" -g -O2 -std=c99 -Wall -W -Wextra -pedantic -pipe -
Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-
equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -
Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-
strings -Winline -fPIC -MT avahi_daemon-main.o -MD -MP -MF ".deps/
avahi_daemon-main.Tpo" -c -o avahi_daemon-main.o `test -f 'main.c' ||
echo './'`main.c; \
then mv -f ".deps/avahi_daemon-main.Tpo" ".deps/avahi_daemon-
main.Po"; else rm -f ".deps/avahi_daemon-main.Tpo"; exit 1; fi
In file included from main.c:48:
inotify-nosys.h:15:24: error: asm/unistd.h: No such file or directory
robey
More information about the avahi
mailing list