Discussion:
[avahi] Installing Avahi 0.7 on Ubuntu 16.04
Shanae
2018-07-06 02:36:04 UTC
Permalink
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
Philip Prindeville
2018-07-06 06:07:48 UTC
Permalink
Post by Shanae
Hi all,
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

Loading...