Hello list,
Im trying to get tcl/tk 8.4.8 to build in such a way as to allow pd to find it. I get the foolowing error from pd:
Application initialization failed: Can't find a usable tk.tcl in the following directories: /usr/local/lib/pd/tk/library /usr/share/tk8.4 ./lib/tk8.4 ./lib/tk8.4 ./library ./library ./tk8.4.8/library ./tk8.4.8/library
But tcl is in /usr/share and tk.tcl is in /usr/local/lib/tk8.4 I tried changing --with-libdir=/usr/share/tk8.4 with no success. Can anybody help me?
tcl: ./configure --enable-threads --enable-shared --enable-64bit --prefix=/usr/local tk: ./configure --enable-threads --enable-shared --enable-64bit --with-tcl=/usr/local/src/tcl8.4.8/unix --prefix=/usr/local --enable-shared
Thanks -thewade
Did anyone finally come up with a fix for error-free compiling of recent pd versions, such as pd-0.38-2 on osx?
Seems there's (also) a question about which version(s) of tcl/tk to use.
I would like to know how to get beyond the following line while compiling pd:
cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused
-Wno-parentheses -Wno-switch -O2 -DMACOSX -DUNISTD -I/usr/X11R6/include
-I../portaudio_v18/pa_common -I../portaudio_v18/pablio
-I../portmidi_osx -Wno-error -DUSEAPI_PORTAUDIO
-DPA_BIG_ENDIAN -DINSTALL_PREFIX="/usr/local" -I. -F../../Frameworks
-framework Tcl -framework Tk
-I../../Frameworks/Tk.framework/Versions/Current/Headers
-I../../Frameworks/Tcl.framework/Versions/Current/Headers
-I../../Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders -c -o
../obj/t_tkcmd.o t_tkcmd.c
t_tkcmd.c:6:16: tk.h: No such file or directory
Any ideas?
thanks,
Zack
PS: Things compiled fine using earlier versions, such as,
TclTkAqua-8.4.1 with pd-0.37-4
On Jan 25, 2005, at 12:32 AM, zack wrote:
Did anyone finally come up with a fix for error-free compiling of recent pd versions, such as pd-0.38-2 on osx?
yes
Seems there's (also) a question about which version(s) of tcl/tk to use.
...not so much atm: I'd go with the latest 8.4, which is 8.4.9, I think...this incorporates all the speed ups except for ATSUI font drawing, but it's not clear that those are as fast as they should be...
I would like to know how to get beyond the following line while compiling pd:
cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -DMACOSX -DUNISTD -I/usr/X11R6/include -I../portaudio_v18/pa_common -I../portaudio_v18/pablio -I../portmidi_osx -Wno-error
-DUSEAPI_PORTAUDIO -DPA_BIG_ENDIAN -DINSTALL_PREFIX="/usr/local" -I. -F../../Frameworks -framework Tcl -framework Tk
-I../../Frameworks/Tk.framework/Versions/Current/Headers
-I../../Frameworks/Tcl.framework/Versions/Current/Headers
-I../../Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders -c -o ../obj/t_tkcmd.o t_tkcmd.c t_tkcmd.c:6:16: tk.h: No such file or directory
...well, this has cropped up lately: I guess miller is keeping his tcl/tk frameworks in a nonstandard place? In any event, the problem is that the frameworks are referred to in relative paths, which will probably be different on every machine...tcl/tk frameworks are, by default, installed in "/Library/Frameworks", so the easy fix here is to change the "-I../../"'s in the makefile to "-I/Library/"...this needs to be done in several places throughout the makefile (I think 4?)...btw, -O3 seems to be fine too...
l8r, jamie