[PD] Re: recompiling pd tk error?
hans at eds.org
Tue Apr 12 23:24:02 CEST 2005
The ../../Frameworks is so that you can compile Pd using the
TclTkStandalone distro. But that doesn't have headers anymore, so we
have to come up with a different solution.
I made a patch to configure.in and makefile.in to fix the MacOS X
compilation issues. This patch also allows you to compile jack support
on OSX if you have it installed.
or from CVS:
cvs checkout packages/darwin_app/patches/darwin_build-0.38.patch
patch -p0 < path/to/darwin_build-0.38.patch
On Apr 12, 2005, at 12:00 PM, james tittle wrote:
> 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
> in yours:
> GINCLUDE = $(INCLUDE) -F/Library/Frameworks -framework Tcl -framework
> Tk -I/Library/Frameworks/Tk.framework/Versions/Current/Headers
> ...and then:
> #this is for Max OSX only...
> $(BIN_DIR)/pdtcl: $(GOBJ) $(GSRC)
> cd ../obj; libtool -dynamic -o $(BIN_DIR)/pdtcl $(GOBJ) \
> /Library/Frameworks/Tk.framework/Versions/Current/Tk \
> /Library/Frameworks/Tcl.framework/Versions/Current/Tcl \
> ...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!
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
More information about the Pd-list