audio/musicpd and avahi (error message on startup)

paranormal akabsd at yandex.ru
Sun Apr 24 19:03:42 UTC 2011


With patch, for me work both version (with and without avahi)
Thx.

On Sun, 2011-04-24 at 18:05 +0100, Chris Rees wrote:
> On 24 April 2011 14:22, Chris Rees <utisoft at gmail.com> wrote:
> >
> > On 24 Apr 2011 10:18, "paranormal" <akabsd at 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:
> >>
> >>  #
> >>  # PROVIDE: musicpd
> >> -# REQUIRE: mixer LOGIN avahi_daemon
> >> +# REQUIRE: mixer LOGIN
> >>  # 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 done.
> 
> Chris
> 
> [1] http://www.bayofrum.net/~crees/patches/musicpd-avahi.diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110424/df1a836c/attachment.pgp


More information about the freebsd-ports mailing list