|
From: Kevin W. <sw...@wo...> - 2005-09-28 23:14:17
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've done a bit more investigating on building Tile as a universal binary on OS X. It seems like an issue with TkAqua rather than Tile, because I'm seeing the same issues trying to build another extension (tktreectrl) as a universal binary. Earlier, the build was dying after complaining that some defintions in tkMacOSXInt.h had errors. Looking at the code in question, I noticed that the lines began with the phrase "Module Scope," like this: ~ MODULE_SCOPE int TkMacOSXUseAntialiasedText(Tcl_Interp *interp, int enable); Commenting out those lines and replacing them without the phrase "module scope" allowed the build to proceed, and I built Tile and Tktreectrl successfully in the standard fashion (not as universal binaries). I'm not sure why commenting out the "module scope" bits worked; I'm sure that is there for a reason, but it's not clear to me. Trying again as a universal binary (building against the 10.4 sdk, -arch i386, -arch ppc, and so on), Tile (and tktreectrl) got all the way through the builds before dying with this error message: ld: Undefined symbols: _tclStubsPtr _Tcl_InitStubs _Tk_InitStubs _tkStubsPtr _tkIntXlibStubsPtr _tkIntStubsPtr _tkIntPlatStubsPtr _tkPlatStubsPtr /usr/bin/libtool: internal link edit command failed lipo: can't figure out the architecture type of: /var/tmp//ccOMqrpA.out make: *** [libtile0.6.dylib] Error 1 I'm not sure where these symbols are supposed to come in: perhaps someone with more knowledge than me would find this error message useful? - -- Cheers, Kevin Walzer, PhD WordTech Software http://www.wordtech-software.com sw at wordtech-software.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDOyO8JmdQs+6YVcoRApRQAJ4kbS+SU/2G9+Kfnf7Ff1p1Xi60rgCdEotd 8FzsUwgQiZ+yvMbEdme+dR8= =2iMU -----END PGP SIGNATURE----- |