玄箱HGでpulseaudio

玄箱サウンドサーバに仕立てようとpulseaudioを入れてみたものの、コンパイルは通るが起動させようとするとこんなエラーを吐く。

kurobox# pulseaudio
/usr/pkg/lib/liboil-0.3.so.0: Unsupported relocation type 10 in non-PLT relocations

んで回避する方法をGoogle先生に尋ねてみたり色々探していたんだけど、何のことはないFreeBSDportsにパッチが上がってた。

というわけでパッチを適用して再ビルドした結果。

kurobox# pulseaudio
W: main.c: This program is not intended to be run as root (unless --system is specified).
W: core.c: failed to allocate shared memory pool. Falling back to a normal memory pool.
E: module-hal-detect.c: Unable to contact DBUS system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: module.c: Failed to load  module "module-hal-detect" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.

rootで作業していたのですげぇ勢いで怒られた。けど起動しないのにくらべれば前進している…はず。