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:
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.
Hallo, Philippe Langlois hat gesagt: // Philippe Langlois wrote:
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.
Installing ALSA modules on Debian is actually very easy IMO. If you compiled your custom kernel, which you probably did because of latency and capabilites patch, you should have used "make-kpkg" from the package "kernel-package". If you then install alsa-source and extract the alsa-driver.tgz in /usr/src, you can just issue a "make-kpkg modules_image" to build the ALSA modules. Install the resulting alsa-modules package, run alsaconf and your ready to rock'n roll. ;)
Frank Barknecht _ ______footils.org__
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