[avahi] Installing Avahi 0.7 on Ubuntu 16.04

Philip Prindeville philipp_subx at redfish-solutions.com
Fri Jul 6 06:07:48 UTC 2018


> 
> On Jul 5, 2018, at 8:36 PM, Shanae <shanaek92 at gmail.com> wrote:
> 
> Hi all,
> 
> I'm not overly familiar with installing linux packages from source. Could you please advise the best way of updating my avahi services to the new Avahi 0.7 version? The original way I installed avahi was by:
> 
> sudo apt-get install libavahi-compat-libdnssd1
> 
> but when I run
> 
> avahi-daemon --version
> 
> it returns 0.6.32-rc
> 
> Thanks,
> Shanae


Well, the .travis.yml gives us some information.

go the “apt-get install” steps:

% sudo apt-get install python-gi-dev gir1.2-gtk-3.0
% sudo apt-get install mono-mcs qtbase5-dev

you might need to:

% sudo apt-get install intltool
% sudo apt-get install libdaemon-dev
% sudo apt-get install python-bus
% sudo apt-get install xmltoman
% sudo apt-get install gtk+-2.0
% sudo apt-get install gtk+-3.0

also.  Not sure why these aren’t in the .travis.yml as well.

Then do:

% NOCONFIGURE=1 ./autogen.sh
% ./configure --with-distro=debian --disable-monodoc --with-avahi-user=avahi --with-avahi-group=avahi --with-avahi-priv-access-group=avahi --with-autoipd-user=avahi-autoipd --with-autoipd-group=avahi-autoipd --with-systemdsystemunitdir=%{_unitdir} --enable-introspection=no --enable-shared=yes --enable-static=no --disable-silent-rules --enable-compat-libdns_sd --disable-qt3 --disable-qt4 --disable-mono --disable-qt5 --enable-tests --disable-gdbm 
% make

You’d use “--with-distro=debian” because it’s the closest homologue.

-Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/avahi/attachments/20180706/2c925c51/attachment-0001.html>


More information about the avahi mailing list