[PD] Re: recompiling pd tk error?
tigital at mac.com
Tue Apr 12 18:00:14 CEST 2005
On Apr 12, 2005, at 11:42 AM, Pat Pagano wrote:
> trying to re-compile pd i get a tk error?
> OSX 10.3
> it says it's here
> but the configure script does not find it and i get:
> i would like to build it properly, but it seems i have been shamefully
> getting by with binaries :-0
> t_tkcmd.c:6:16: tk.h: No such file or directory
...yeh, don't know why this has been changed, but I always have to
hand-modify the pd makefiles: personally, I think the references
re:tcl/tk are screwed up :-\ For some reason they are using a bunch of
"../../../"'s, which makes the references relative to a particular dev
environment setup, and therefore extremely installation
specific...here's what I use in the makefile, just replace these lines
GINCLUDE = $(INCLUDE) -F/Library/Frameworks -framework Tcl -framework
#this is for Max OSX only...
$(BIN_DIR)/pdtcl: $(GOBJ) $(GSRC)
cd ../obj; libtool -dynamic -o $(BIN_DIR)/pdtcl $(GOBJ) \
...I don't think there's a real reason to specifically look for tk
headers in "Tk.framework/Versions/8.4/Headers"; it'd be just as fine to
do "Tk.framework/Versions/Current/Headers", or even
...that's all I know about that!
More information about the Pd-list