[PlanetCCRMA] pd and fedora

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Fri Dec 5 13:09:01 2003

> On Thu, 2003-12-04 at 15:38, Fernando Pablo Lopez-Lezcano wrote:
> > Ok, I just put 0.37 (today's cvs version) online for Fedora Core 1, no
> > formal announcement yet or links in the web pages but it is there. Just
> > "apt-get update; apt-get install pd". 
> Thanks, Fernando.  Just for your information, though, this version does
> not include ALSA support (i.e. the only two options in the menu are OSS
> and Jack).  I took a look at the SRPM, and the problem seems to be that
> the --enable-alsa switch to configure is read as --disable-alsa (i.e.
> putting either --enable-alsa or --disable-alsa both disable alsa), and
> the only way to get it in is to leave off the switch entirely.  So, with
> only --enable-jack, it tries to do OSS, ALSA and Jack.

Hey thanks! I did not notice that, not much testing right? :-) It did
work with jack....

> The next problem is that once it tries to compile in ALSA support, it
> hits a number of warnings and stops due to the -Werror switch.  I see
> that your perl commands try to remove these switches from all configure*
> and makefile* files, but it seems to only succeed in taking them out of
> the makefile.in.  They remain in configure.  The solution seems to be to
> remove the leading space and adding a trailing one instead:
> find ./ -name configure\* -exec perl -p -i -e "s/ -Werror//g" {} \;
> becomes:
> find ./ -name configure\* -exec perl -p -i -e "s/-Werror //g" {} \;
> After this, it compiles fine with ALSA support (albeit with numerous
> warnings).  But, selecting ALSA as the audio output now causes a seg
> fault. :-(

Ok, I'll look into this......
It probably needs the old ALSA api backwards compatibility #defines. 

-- Fernando