Hi,
I'm trying to install pd with the latest alsa-compatible s_linux.c from Günther and encounter the following problems:
Using cvs:
orm@grisey:~/pd/pd-co$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/pure-data CVS password:
I gave an empty password and then:
orm@grisey:~/pd/pd-co$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co -r devel_0_36 cvs [checkout aborted]: must specify at least one module or directory orm@grisey:~/pd/pd-co$
If I checkout pd, I get a rather old version of s_linux.c (dated from November 2002).
Getting s_linux.c using http and replacing in src gives the following compile errors:
cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/s_linux.o s_linux.c s_linux.c:145: `API_PROBE' undeclared here (not in a function) make: *** [s_linux.o] Fehler 1 orm@grisey:~/pd/pd-co/pd/src$
Then I tried to copy the configure.in and configure from http, then did "autoconf" and then ./configure, but configure stops with the following error:
checking for XCreateWindow in -lX11... yes
checking tcl.h usability... no
checking tcl.h presence... no
checking for tcl.h... no
./configure: line 4595: syntax error near unexpected token newline' ./configure: line 4595:
yes:no'
orm@grisey:~/pd/pd-co/pd/src$
Any ideas?
-- Orm
On Thu, 13 Mar 2003 20:13:36 +0100 Orm Finnendahl finnendahl@folkwang-hochschule.de wrote:
Hi,
I'm trying to install pd with the latest alsa-compatible s_linux.c from Günther and encounter the following problems:
Using cvs:
orm@grisey:~/pd/pd-co$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/pure-data CVS password:
I gave an empty password and then:
orm@grisey:~/pd/pd-co$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co -r devel_0_36 cvs [checkout aborted]: must specify at least one module or directory orm@grisey:~/pd/pd-co$
If I checkout pd, I get a rather old version of s_linux.c (dated from November 2002).
you need to specify a module too, eg:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co
-r devel_0_36 pd
pix.
Am Donnerstag, den 13. März 2003 um 21:31:02 Uhr (+0100) schrieb pix:
you need to specify a module too, eg:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co
-r devel_0_36 pd
that worked, thanks. Compiling now stops with the following error:
cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DALSA01 -DJACK -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/s_linux.o s_linux.c
cc1: warnings being treated as errors
s_linux.c: In function process': s_linux.c:2093: warning: implicit declaration of function
pthread_cond_broadcast'
s_linux.c: In function jack_open_audio': s_linux.c:2323: warning: implicit declaration of function
pthread_mutex_init'
s_linux.c:2324: warning: implicit declaration of function pthread_cond_init' s_linux.c: In function
jack_send_dacs':
s_linux.c:2346: warning: implicit declaration of function `pthread_cond_wait'
make: *** [s_linux.o] Fehler 1
orm@grisey:~/pd/pd-co/pd/src$
I configured with --enable-alsa and --disable-jack
Are there other flags to set?
-- Orm
Am Freitag, den 14. März 2003 um 10:16:39 Uhr (+0000) schrieb Antonis Galanopoulos:
../obj/s_linux.o s_linux.c cc1: warnings being treated as errors
remove the -Werror from the makefile
o.k. that did the trick. It works now (after I installed libjack; without it it wouldn't compile even with --disable-jack given to configure).
There are two missing directories ("obj" and "bin") make complains about after checking out pd devel_0_36 with cvs. After creating them manually it worked.
-- Orm