[PD] Re: recompiling pd tk error?
Hans-Christoph Steiner
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.
http://cvs.sourceforge.net/viewcvs.py/pure-data/packages/darwin_app/
patches/darwin_build-0.38.patch?rev=1.1&view=log
or from CVS:
cvs checkout packages/darwin_app/patches/darwin_build-0.38.patch
To apply:
cd pd-0.38-4
patch -p0 < path/to/darwin_build-0.38.patch
.hc
On Apr 12, 2005, at 12:00 PM, james tittle wrote:
> On Apr 12, 2005, at 11:42 AM, Pat Pagano wrote:
>
>> hi
>>
>> trying to re-compile pd i get a tk error?
>> OSX 10.3
>>
>> it says it's here
>> /Library/Frameworks/Tk.framework/Versions/8.4/Headers/tk.h
>>
>> 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
> -ILibrary/Frameworks/Tcl.framework/Versions/Current/Headers
>
> -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders
>
> ...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 \
> /usr/lib/libSystem.B.dylib
>
> ...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
> "Tk.framework/Headers"...
>
> ...that's all I know about that!
> jamie
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
________________________________________________________________________
____
http://at.or.at/hans/
More information about the Pd-list
mailing list