X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=INSTALL;h=d6b134e45e93287799535197547b3a88e2ae6d23;hb=d76069e946b4e89c828c96340677e40f583080c9;hp=a004758ee4d97bc857db2d2aa80e2aa27b4e5be2;hpb=14b64d63bc620fce2008437a874bf285ac9b8e6e;p=catta diff --git a/INSTALL b/INSTALL index a004758..d6b134e 100644 --- a/INSTALL +++ b/INSTALL @@ -1,10 +1,36 @@ -* Quick install instructions (tested on debian/ubuntu only!) -./bootstrap.sh -./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -make -make install -/etc/init.d/dbus-1 restart - -* Note: -On other linux distributions, the dbus initscript may be different (eg redhat /etc/init.d/messagebus). -You need to restart dbus to make it knows about /etc/dbus-1/system.d/avahi-dbus.conf . \ No newline at end of file +*** Quick install instructions (tested on debian/ubuntu only!) *** + +While "make" and "boostrap.sh" may be run as normal users all other commands +need to be run is root. + +$ ./bootstrap.sh + (this will run autoconf/automake) + +$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + +Extra configure options available: + + --enable-gtk use GTK+ (default=yes) + --enable-dbus use DBus (default=yes) + --with-dbus-sys= where D-BUS system.d directory is + --with-distro= the target Linux distribution (one of redhat, + suse, gentoo, debian or slackware) + --with-avahi-user= User for running the Avahi daemon (avahi) + --with-avahi-group= Group for Avahi (avahi) + +$ make +# make install + +# addgroup --system avahi +# adduser --system --no-create-home --ingroup avahi avahi + (These commands are Debian specific and may be different on other + distributions) + +# kill -HUP `cat /var/run/dbus/pid` + (This will ask DBUS to re-read its policies) +# /etc/dbus-1/event.d/75avahi-daemon start + +- To automatically start avahi-dnsconfd on Debian based distro: +# update-rc.d avahi-dnsconfd defaults 25 15 + +$Id$