[Starkit] RE: [MACTCL] Tclkit-darwin-univ-aqua on 10.3.9?

Jeff Hobbs jeffh at activestate.com
Thu Jun 1 18:34:26 CEST 2006


Joey Mukherjee wrote:
> On Jun 1, 2006, at 2:47 PM, Jeff Hobbs wrote:
> > Joey Mukherjee wrote:
> >> On May 31, 2006, at 2:15 PM, Jeff Hobbs wrote:
> >>> you need to build on a 10.4 system.  You have to specifically undef 
> >>> HAVE_OSSPINLOCKLOCK to make sure it won't be used for at least the 
> >>> ppc side.
> >>>
> >> I have tried everything to remove this from the tclkit and had no 
> >> luck whatsoever.  I could swear that I hacked each of the makefiles 
> >> and genkit to say "HAVE_OSSPINLOCKLOCK=0", but no dice.  I still get 
> >> the error.
> >
> > Ah, defining something to 0 is not the same as undefining it in cpp
> > speak.
> > You want to -UHAVE_OSSPINLOCKLOCK.  See macosx/tclMacOSXNotify.c  
> > for the offending 10.4-ism.
> 
> Ok, I did that and at long last I have a tclkit that works (i.e.  
> loads to a prompt) on the 10.3.9 system; however, when I do a  
> "package require Tk", I get the following:
> 
> undefined reference to _HIWindowSetProxyFSRef expected to be defined  
> in Carbon

That one comes from macosx/tkMacOSXWm.c, and can be controlled with:
   -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_3

which may itself be set with one of several other mechanisms to indicate OS X
version preferences to the compiler.

Jeff



More information about the Starkit mailing list