On 03/17/2014 07:57 PM, Fernando de Oliveira wrote: > When trying new python, I arrived to playing with avahi build, for some > reasons. Then I discovered some facts I am trying to understand. > > > First, I discovered that it not only depends on D-Bus Python, but also > on pygtk, former being recommended. But in the switches, we have > > --disable-python > > thus, none of the above packages will be linked. > > Second, if I use > > --disable-gtk3 > > and remove "--disable-python", both modules are linked. > > Third, if both switches aren't used, configure fails: > > "configure: error: Could not find Python module gtk" > > Finally, > > we use: > > --disable-qt3 \ > --disable-qt4 \ > > but only Qt4 is listed as optional. > > Some of the problems in the page may even been introduced by me, can't > remember if/when it was updated. > > I am reporting, so someone more experienced could give here a solution > or make a cleanup in the referred page (ticket, commit, ...). >
You need to explicitly disable a dependency in Avahi if it isn't present. You are correct that both dbus-python and pygtk are required to remove --disable-python. Nothing that I know requires the module so maybe that's why it's disabled by default. As for why dbus-python is a recommended dep and pygtk optional, I can't say. Since Qt4 is optional, it makes no sense to enable it by default, and given that nothing explicitly requires libavahi-qt4 it's disabled. Qt3 isn't even present in the book. Epiphany requires GTK+3 library so it's enabled by default and GTK+3 is in recommended deps. I don't know the real reason behind enabling GTK+2 library by default though. -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page