2011-12-18, 19:23
eternalsword Wrote:elite1967, you are using a version of json from git, which likely has API changes from the version pulseaudio is built against. configure would simply check for a minimum version requirement, and not a maximum. this is why it passes during configuration and fails during build.
eternalsword,
with the version suggested by cbxbiker61 it built perfectly.
i am almost there... So far, I have compiled, build and installed pulseaudio (with patch), audiofilter and xbmc.
But if I run the command: ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/ I get a lot of errors.
Also in XBMC I do not have the pulseaudio options in the System - Settings - Audio Output - Passthrough output device section. I only have "hdmi (ALSA)".
What am I missing?
How can I force the usage of pulseaudio?
Maybe it's not loaded?
Code:
xbmc@xbmc-eden:~/source/pulseaudio-1.1$ ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/
N: [lt-pulseaudio] daemon-conf.c: Detected that we are run from the build tree, fixing search path.
E: [lt-pulseaudio] hal-util.c: Couldn't find devices: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
E: [lt-pulseaudio] hal-util.c: Couldn't find devices: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
E: [lt-pulseaudio] hal-util.c: Couldn't find devices: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
E: [lt-pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
E: [lt-pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: ""): initialization failed.
E: [lt-pulseaudio] main.c: Module load failed.
W: [lt-pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
W: [lt-pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
Also:
/usr/include/pulse/version.h indicates a version number 0.9.22
Finally:
if I run pulseaudio -k I get the following:
Code:
xbmc@xbmc-eden:~/source/pulseaudio-1.1$ pulseaudio -k
E: [pulseaudio] main.c: Failed to kill daemon: No such process