According to wikipedia, Avahi is a free zero-configuration networking (zeroconf) implementation, including a system for multicast DNS/DNS-SD service discovery.
- build dependent libs, refer to avahi download page
- gettext
brew link --force gettext
brew unlink gettext- intltool
- glib need link
- libdaemon
- disable gui and python, refer to linux from scratch and askubuntu
./configure --disable-qt3 --disable-qt4 \
--disable-gtk --disable-gtk3 \
--disable-python \
--disable-mono --disable-monodoc \
--enable-core-docs \
--disable-dbus \
--prefix=/Users/will/Downloads/avahi-0.6.31/build \
--sysconfdir=/Users/will/Downloads/avahi-0.6.31/etc \
--localstatedir=/Users/will/Downloads/avahi-0.6.31/var \make, which I got a error
socket.c:609:27: error: use of undeclared identifier 'IPV6_PKTINFO'
cmsg->cmsg_type = IPV6_PKTINFO;
socket.c:869:22: error: use of undeclared identifier 'IPV6_HOPLIMIT'
case IPV6_HOPLIMIT:
socket.c:878:22: error: use of undeclared identifier 'IPV6_PKTINFO'
case IPV6_PKTINFO: {for
IPV6_PKTINFOplease refer to apple opensource .h file
hi @artificiel i am facing same issue can you please tell me where i need to add this flag