When you run the configure script, by default gwc will use the ALSA sound driver.

So find the pulse audio development libraries (not sure what they are called on ubuntu), then try:

"configure --enable-pa"

(configure should print a little message about using pulse audio, if it doesn't then you don't have the correct pulse audio development libs installed)

Once that succeeds, do:

"rm *.o"

From: Chris Green <cl@isbd.net>
To: "gwc-general@lists.sourceforge.net" <gwc-general@lists.sourceforge.net>
Sent: Saturday, February 2, 2013 4:26 AM
Subject: Re: [Gwc-general] Odd error (only every other time I playback) using gwc with pulseaudio on ubuntu 12.10

On Fri, Feb 01, 2013 at 07:04:47PM -0800, jeff welty wrote:
>    I just uploaded 0.21-18 to sourceforge.  I found a bug in the way gwc was
>    connecting to pulse audio and checking for the failure to connect.  This
>    explains the mysterious and erratic messages gwc was generating about not
>    opening the pulse audio every other time, but only under certain
>    circumstances.
>    Give it a try when you can.


It took a while to get all the required dependencies as I needed lots of
xxxx-dev packages where I only had the basic libraries.  In particular
libgnomeui-dev pulled in dozens of further dependencies.

However once configure had done its worst it built OK and.... oh dear,
now it just fails every time I try playback, with the message:-

  Failed to open Pulse audio output device, recommend internet search
  about pulse audion configuration for your OS

Wierdly the default version 0.21-17 is now working faultlessly however
often I start and stop playback!

Chris Green

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
Gwc-general mailing list