我无法安装 avahi
错误是:
checking for AVAHI... yes
checking avahi-client/client.h usability... yes
checking avahi-client/client.h presence... yes
checking for avahi-client/client.h... yes
checking avahi-glib/glib-malloc.h usability... no
checking avahi-glib/glib-malloc.h presence... no
checking for avahi-glib/glib-malloc.h... no
checking for avahi_client_new in -lavahi-client... yes
configure: error:
avahi development headers not found.
Use --disable-avahi if you do not need avahi (Bonjour) support.
答案1
您还需要 libavahi 开发包。由于不知道您要编译什么,我只能为您提供可用包的列表。检查此链接。
但我相信,你需要libavahi-glib-dev
:
sudo apt-get install libavahi-glib-dev
缺少的头文件avahi-glib/glib-malloc.h
位于此包中。
答案2
这就是我所需要的:
libavahi-client-dev
libavahi-core-dev