audio/musicpd and avahi (error message on startup)

Chris Rees utisoft at gmail.com
Sun Apr 24 17:06:16 UTC 2011


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


More information about the freebsd-ports mailing list