Hi,
I think it is unfair to blame pd for the problems you have with the soundcard under linux. The Debian system offers you to install precompiled alsa modules too.
The compilation problems with pd you encounter are fixed in the Debian package ("apt-get source pd" ) or in the CVS version (pure-data.sf.net), and these changes are normally incorporated into new versions if they don't break anything.
So your guess was right, there are easier ways. I can not think of anything that I could do to prevent other people to go through the same procedure that you have gone through, suggestions are welcome.
Guenter
On Tue, 22 Jul 2003, Philippe Langlois wrote:
HI All,
Just to give a brief account on my experience of building PD on linux: using debian linux, i got the deb packages and when i ran it, i couldn't get the audio out even if my xmms and mpg123 were playing fine.
I tried to recompile 0.36 and 0.37-testX (see other problems later) but it changed nothing.
In fact, there's a workaround here: instead of running with pd -oss
try to run with: pd -oss -noadc
There's no sound input, but at least you can PRODUCE some sounds.
Better would be to install ALSA. That's another story once again. It seems to beMUCH easier to install ALSA by enabling its option in the Kernel in kernels 2.5.X than to compile it as external modules with kernel 2.4.X.
Compiling PD was another set of problems:
- you have to manually add -I/usr/include/tcl-8.3 or so to your makefile after the ./configure process otherwise it does not compile.
- you may have to change the #include "tk.h" into a #include "t_tk.h" for t_main.c
- you may have to delete the options -Wall and -Wnoshadow in order to prevent compile abort due to "declaration of 'xxx' shadows a global declaration".
- you may have to add -ltcl to the makefile in LIB in order not to have linking errors.
Remember that's based ONLY on my experience and may not reflect a proper way to do things considering that i'm starting with PD.
Also, I was using kernel 2.4.18 on a laptop with an ALi M5451 as an audio card.
My .2 cents and lots of hope and strength wishes to everybody who is starting the adventure ;-)
Philippe.
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list