Making tclkit-aqua 8.5.9

Zbigniew Diaczyszyn <[email protected]> Fri, 15 Oct 2010 19:15:58 +0200
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
For Windows and Linux there is a 8.5.9 tclkit version and would I like 
to work with a Aqua version 8.5.9 of tclkit, too. The actual state for 
MacOSX is 8.5.1

Has anyone tried to compile a newer version?

I made a first (quick and dirty) try with changing manually the Cflags 
to "-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk 
-mmacosx-version-min=10.5 -framework Cocoa" in some Makefiles.

 From time to time error messages appear like the following. I stopped 
testing when Tk was being compiled.

zdia$ make
cc -o kit-gui -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk 
-mmacosx-version-min=10.5 ../../kitInit.c 
/Users/zdia/tclkit/kitgen/8.5/kit-large/build/pwb.o 
/Users/zdia/tclkit/kitgen/8.5/kit-large/build/rechan.o 
/Users/zdia/tclkit/kitgen/8.5/kit-large/build/zlib.o 
/Users/zdia/tclkit/kitgen/8.5/kit-large/build/tclAppInit.o \
	  -Ibuild/include -DKIT_LITE -DSTATIC_BUILD  \
	  build/lib/vfs1*/*vfs1*.a build/lib/vqtcl4*/*vqtcl4*.a \
	  -DKIT_INCLUDES_TK build/lib/libtk8*.a \
	  build/lib/libz.a build/lib/*tcl8*.a -framework CoreFoundation 
-framework Cocoa -framework IOKit

i686-apple-darwin10-gcc-4.2.1: build/lib/libtk8*.a: No such file or 
directory

In file included from ../../kitInit.c:21:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/tk.h:72:3: error: #error Tk 
8.4 must be compiled with tcl.h from Tcl 8.4
../../kitInit.c: In function 'TclKitPathObjCmd':
../../kitInit.c:337: warning: assignment discards qualifiers from 
pointer target type
make: *** [kit-gui] Error 1

Well, I will look for libtk8*.a but I think the Makefiles have to be 
modified for a proper compiling process.

So, as not to reinvent the wheel I would be glad if someone should tell 
me: I did it and here is my Makefile.



-- 
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en