Date: Sun, 24 Apr 2011 18:05:44 +0100 From: Chris Rees <utisoft@gmail.com> To: akabsd@yandex.ru Cc: ports@mark.reidel.info, freebsd-ports@freebsd.org Subject: Re: audio/musicpd and avahi (error message on startup) Message-ID: <BANLkTinyFQt_GetnkYP%2BjOxoN9Wd=u05fg@mail.gmail.com> In-Reply-To: <BANLkTi=1LBGLg4a0BcMnr%2Bioe7JM41uWgw@mail.gmail.com> References: <BANLkTi=1LBGLg4a0BcMnr%2Bioe7JM41uWgw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24 April 2011 14:22, Chris Rees <utisoft@gmail.com> wrote: > > On 24 Apr 2011 10:18, "paranormal" <akabsd@yandex.ru> wrote: >> >> On default installation musicpd I have error: >> >> >> Apr 18 09:50:05 ---hostname-- mpd: avahi: Failed to create client: >> Daemon not running >> Apr 18 09:50:06 ---hostname-- avahi-daemon[1574]: WARNING: No NSS >> support for mDNS detected, consider installing nss-mdns! >> Apr 18 09:50:09 ---hostname-- wpa_supplicant[448]: >> CTRL-EVENT-SCAN-RESULTS >> >> Because musicpd start early avahi. After I add >> to /usr/local/etc/rc.d/musicpd this: >> >> =9A# >> =9A# PROVIDE: musicpd >> -# REQUIRE: mixer LOGIN avahi_daemon >> +# REQUIRE: mixer LOGIN >> =9A# KEYWORD: shutdown >> >> >> I have start musicpd without error. >> Apr 23 18:06:53 ---hostname-- mpd: avahi: Service 'Music Player' >> successfully established. >> >> I not find how build musicpd without avahi from ports. >> >> > > I'll have a look later. For future reference, please CC maintainers when = you > have a question about a port, makes it easier to see! Do a make -V > MAINTAINER in the port directory. > > Thanks for your suggested fix, > Please test the fix I've knocked together [1], see if it works for you. You can now choose to compile with or without avahi support -- pick your poison. Avahi's compiling for me now, so I'll let you know if it works when I'm don= e. Chris [1] http://www.bayofrum.net/~crees/patches/musicpd-avahi.diff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinyFQt_GetnkYP%2BjOxoN9Wd=u05fg>