Ticket #191 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

0.6.22 fails to build with ulibc?

Reported by: jablko Owned by: lennart
Milestone: Component: build-system
Keywords: Cc:

Description

I run Avahi on my consumer router using the OpenWrt? distribution.

I was unable to build Avahi 0.6.22 for OpenWrt?:

[...] checking for GOBJECT... configure: error: Package requirements ( glib-2.0 >= 2.4 .0 gobject-2.0 ) were not met:

No package 'glib-2.0' found No package 'gobject-2.0' found [...]

I guess this is because OpenWrt? uses ulibc?

Thanks to tedp's advice on #avahi, I did successfully build Avahi 0.6.21 after disabling HAVE_INOTIFY:

(05:10:15 PM) tedp: jablko: those symbols are provided by libc6, usually (05:13:01 PM) tedp: if you have autoconf installed you can put dnl in front of the two blocks of code with HAVE_INOTIFY in configure.ac then re-run autoconf to disable it

This is the OpenWrt? ticket and patch for building Avahi 0.6.21: https://dev.openwrt.org/ticket/2936

What needs to be done to make Avahi 0.6.22 build with ulibc?

Much thanks for maintaining Avahi! Jack

Change History

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to invalid

The failure you are experiencing is because you didn't install glib2.0 but enabled support for it in configure. Either install glib/gobject or disable Avahi's support for it via --disable-glib --disable-gobject.

Note: See TracTickets for help on using tickets.