[pulseaudio-discuss] Problem in running locally compiled pulse utility programs

Maarten Bosmans mkbosmans at gmail.com
Fri Mar 4 01:15:37 PST 2011


2011/3/4 ssrk <ssrktce at gmail.com>:
> Hi,
>
> I run Ubuntu 9.10, which by default has pulseaudio and utilities like pactl,
> pacmd.
>
> I downloaded pulseaudio source tarball
> http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-0.9.22.tar.gz
> and extracted it, ran configure script, compiled it and tried to run the
> locally built pactl utility.
> While running pactl(the one which I built), it gave me "Connection failure:
> Connection refused" Error.
> But the default 'pactl' utility which is already present in /usr/bin/ works
> fine.
>
> $ ./configure --prefix=<tmpdir>
> $ make
> $ make install
> $ cd <tmpdir>
> $ ./bin/pactl stat
> Connection failure: Connection refused
>
> Can someone tell me, what am I missing?
> Why is the locally built pactl doesn't work? while the default
> /usr/bin/pactl works fine.
> Are these utility programs coupled to 'pulseaudio' along with which it is
> compiled?

Right on the money. You can only use that utility against the
pulseaudio daemon of the same version. I think it's due to protocol
changes in the native protocol.

> Thanks in advance.
>
> --
> Regards,
> ssrk

Maarten



More information about the pulseaudio-discuss mailing list