Hello,
Sorry is this is a FAQ, Google returned noting about his.
I just finish compiling puredata with the sources from CVS on an Ubuntu linux box.
gcc (GCC) 3.3.4 (Debian 1:3.3.4-9ubuntu5)
pd -version Pd version 0.39 TEST 0 compiled 23:14:14 Mar 5 2005
I ran "automake", "configure" then "make all"
No error are reported and the binaries are generated.
At startup
$ /home/jacques/pd-stuff/sources/pd/bin/pd
I get :
bad option "map": must be compare, first, index, last, length, match, range, tolower, toupper, trim, trimleft, trimright, wordend, or wordstart
When browsing 'config.log' one can find :
configure:2149: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2155: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif
then configure:2603: gcc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2609: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h>
Can anyone help me to find what's going wrong ? Thanks,
Jacques
On Saturday 05 March 2005 22:30, Jacques Lav!gnotte wrote:
At startup
$ /home/jacques/pd-stuff/sources/pd/bin/pd
I get :
bad option "map": must be compare, first, index, last, length, match, range, tolower, toupper, trim, trimleft, trimright, wordend, or wordstart
I think this is a tcl/tk error. I have seen this before, but I can't remember what I did. What version of tcl/tk is installed? Maybe you should downgrade or upgrade tcl/tk.
electronic & acoustic music-- http://www.xs4all.nl/~gml
On Sat, 5 Mar 2005 23:56:06 +0000 vanDongen/Gilcher gml@xs4all.nl wrote:
Hello Gerard,
On Saturday 05 March 2005 22:30, Jacques Lav!gnotte wrote:
bad option "map": must be compare, first, index, last, length, match, range, tolower, toupper, trim, trimleft, trimright, wordend, or wordstart
I think this is a tcl/tk error. I have seen this before, but I can't remember what I did.
./configure [...] checking for main in -ltcl8.0... yes checking for main in -ltk8.7... no checking for main in -ltk8.6... no checking for main in -ltk8.5... no checking for main in -ltk8.4... no checking for main in -ltk8.3... no checking for main in -ltk8.2... no checking for main in -ltk8.0... yes
and in config.log
configure:5549: checking for main in -ltcl8.7 configure:5573: gcc -o conftest -g -O2 conftest.c -ltcl8.7 -lX11 -L/usr/X11R6/lib >&5 /usr/bin/ld: cannot find -ltcl8.7 collect2: ld returned 1 exit status configure:5579: $? = 1 configure: failed program was: | /* confdefs.h. */
What version of tcl/tk is installed?
# dpkg -l | grep libtcl ii libtcltk-ruby1 1.8.1+1.8.2pre Tcl/Tk interface for Ruby 1.8 root@desdemone:~/pd-stuff/sources/pd/src # dpkg -l | grep libtk ii libtk-ruby 1.8.1-7 Tk interface for Ruby ii libtk-ruby1.8 1.8.1+1.8.2pre Tk interface for Ruby 1.8 # dpkg -l | grep tcl ii libtcltk-ruby1 1.8.1+1.8.2pre Tcl/Tk interface for Ruby 1.8 ii tcl8.0 8.0.5-8 Tcl (the Tool Command Language) v8.0 - run-t ii tcl8.0-dev 8.0.5-8 Tcl (the Tool Command Language) v8.0 - devel ii tcl8.4 8.4.6-1 Tcl (the Tool Command Language) v8.4 - run-t
Maybe you should downgrade or upgrade tcl/tk.
I think I should UPgrade... the whole box.
Gerard
Merci Gérard,
Jacques
Hi,
You might also try the precompiled Debian package of pd
apt-get install puredata
If you have problems with it please let me know.
Guenter
PS: (Please don't take this personally)
apropos Debian, Ubuntu, Agnula, Demudi, Knoppix and any other incarnation of Debian distributions:
I am packaging Pd for the Debian distribution for 6 years or so, funny that I could count the bug reports from the pd community on one hand. On the other hand we see messages of people who try to compile pd themselves on a Debian system constantly cluttering this list. Please stop this. Help to improve the Debian package by sending feedback and suggestions about the Debian package, instead of wasting time by trying to compile it yourself.
On Sun, 6 Mar 2005, Jacques Lav!gnotte wrote:
On Sat, 5 Mar 2005 23:56:06 +0000 vanDongen/Gilcher gml@xs4all.nl wrote:
Hello Gerard,
On Saturday 05 March 2005 22:30, Jacques Lav!gnotte wrote:
bad option "map": must be compare, first, index, last, length, match, range, tolower, toupper, trim, trimleft, trimright, wordend, or wordstart
I think this is a tcl/tk error. I have seen this before, but I can't remember what I did.
./configure [...] checking for main in -ltcl8.0... yes checking for main in -ltk8.7... no checking for main in -ltk8.6... no checking for main in -ltk8.5... no checking for main in -ltk8.4... no checking for main in -ltk8.3... no checking for main in -ltk8.2... no checking for main in -ltk8.0... yes
and in config.log
configure:5549: checking for main in -ltcl8.7 configure:5573: gcc -o conftest -g -O2 conftest.c -ltcl8.7 -lX11 -L/usr/X11R6/lib >&5 /usr/bin/ld: cannot find -ltcl8.7 collect2: ld returned 1 exit status configure:5579: $? = 1 configure: failed program was: | /* confdefs.h. */
What version of tcl/tk is installed?
# dpkg -l | grep libtcl ii libtcltk-ruby1 1.8.1+1.8.2pre Tcl/Tk interface for Ruby 1.8 root@desdemone:~/pd-stuff/sources/pd/src # dpkg -l | grep libtk ii libtk-ruby 1.8.1-7 Tk interface for Ruby ii libtk-ruby1.8 1.8.1+1.8.2pre Tk interface for Ruby 1.8 # dpkg -l | grep tcl ii libtcltk-ruby1 1.8.1+1.8.2pre Tcl/Tk interface for Ruby 1.8 ii tcl8.0 8.0.5-8 Tcl (the Tool Command Language) v8.0 - run-t ii tcl8.0-dev 8.0.5-8 Tcl (the Tool Command Language) v8.0 - devel ii tcl8.4 8.4.6-1 Tcl (the Tool Command Language) v8.4 - run-t
Maybe you should downgrade or upgrade tcl/tk.
I think I should UPgrade... the whole box.
Gerard
Merci G�rard, Jacques
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
Le 6 Mars 2005 13:28, günter geiger a écrit :
apropos Debian, Ubuntu, Agnula, Demudi, Knoppix and any other incarnation of Debian distributions:
I am packaging Pd for the Debian distribution for 6 years or so, funny that I could count the bug reports from the pd community on one hand. On the other hand we see messages of people who try to compile pd themselves on a Debian system constantly cluttering this list. Please stop this. Help to improve the Debian package by sending feedback and suggestions about the Debian package, instead of wasting time by trying to compile it yourself.
I switched to Debian recently, and I can confirm that Günter's package is working very well. The package name and version are "puredata 0.38-amidi3". It is also true that the Debian effort is consistant, so there's no need to recompile a well maintained package like puredata.
For those who really want to recompile puredata, the magic Debian command is: "sudo apt-build install puredata". You can get more details here: http://julien.danjou.info/article-apt-build.html
The problem using PD with Debian is that many externals are missing . This is what I have on my system: puredata 0.38.2+amidi-3 realtime computer music and graphics system pd-3dp-caedes 0.12.4-2 OpenGL modules for pdp pd-externals 00.20040625-4 PD external collection pd-flext 0.4.7-1 Flext C++ external layer for pd pd-flext-dev 0.4.7-1 Header and development files for flext pd-pdp-caedes 0.12.4-2 Graphics system for pd pd-pidip-caede 0.12.17-1 Additional video objects for pdp pd-unauthorize 20031122-1 Many interface, graphics and audio externals pd-zexy 00.20040625-2 Zexy library for puredata
-- Marc
On Sun, 6 Mar 2005, Marc [iso-8859-1] Lavall�e wrote:
The problem using PD with Debian is that many externals are missing .
This is surely a problem, but it is better than having none of the externals available. If someone wants to add some, I can offer to get them into the official Debian distribution.
Personally I can only add new external packages at my own pace, which is slow.
Guenter
This is what I have on my system: puredata 0.38.2+amidi-3 realtime computer music and graphics system pd-3dp-caedes 0.12.4-2 OpenGL modules for pdp pd-externals 00.20040625-4 PD external collection pd-flext 0.4.7-1 Flext C++ external layer for pd pd-flext-dev 0.4.7-1 Header and development files for flext pd-pdp-caedes 0.12.4-2 Graphics system for pd pd-pidip-caede 0.12.17-1 Additional video objects for pdp pd-unauthorize 20031122-1 Many interface, graphics and audio externals pd-zexy 00.20040625-2 Zexy library for puredata
-- Marc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Sat, 5 Mar 2005 23:56:06 +0000 vanDongen/Gilcher gml@xs4all.nl wrote:
I think this is a tcl/tk error. I have seen this before, but I can't remember what I did. What version of tcl/tk is installed? Maybe you should downgrade or upgrade tcl/tk.
Gerard
Günter Geiger suggested :
Try to install a newer version of tcl/tk (8.0 is too old). e.g. apt-get install tk8.4-dev
Got it !
PD compiles smoothly and starts as expected.
Tanks to you both,
Jacques