From: Michael K. <mi...@mu...> - 2005-02-19 12:30:10
|
Tile expects to have access to the private Tcl/Tk headers, some of which aren't installed. It should be able to find them if the sources are still where they were installed from, I think. Do you still have the sources there? In any case, a quick temporary workaround would be to edit the makefile to add to the include directories, or copy the needed private headers into the appropriate framework's Headers directory. There's a NO_PRIVATE_HEADERS #define that can be used to avoid using some of the private headers, but it doesn't look like that has any affect on whether or not tkMacOSX.h (and thus tkInt.h) gets included. I always build with the sources still present (everything gets built from what's checked out of CVS, including Tcl/Tk, instead of what's installed on the system) and don't run up against this. On Sat, 19 Feb 2005, Kevin Walzer wrote: > Date: Sat, 19 Feb 2005 05:20:34 -0500 > From: Kevin Walzer <sw...@wo...> > To: tc...@li... > Subject: [MACTCL] Problems building Tile from CVS > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Trying to update Tile from CVS to reflect some recent improvements and > can't get it built. I ran configure with these arguments per the wiki: > > ~ ./configure \ > ~ --prefix=/usr/local --libdir=/Library/Tcl \ > ~ --with-tcl=/Library/Frameworks/Tcl.framework \ > ~ --with-tclinclude=/Library/Frameworks/Tcl.framework/Headers \ > ~ --with-tk=/Library/Frameworks/Tk.framework \ > ~ --with-tkinclude=/Library/Frameworks/Tk.framework/Headers \ > ~ --enable-threads > > The build crashes with this error: > > In file included from macosx/aquaTheme.c:32: > /Library/Frameworks/Tk.framework/Versions/8.4/Headers/tkMacOSX.h:19:19: > tkInt.h: No such file or directory > In file included from > /Library/Frameworks/Tk.framework/Versions/8.4/Headers/tkMacOSX.h:32, > ~ from macosx/aquaTheme.c:32: > /Library/Frameworks/Tk.framework/Versions/8.4/Headers/tkPlatDecls.h:107: > error: parse error before '*' token > /Library/Frameworks/Tk.framework/Versions/8.4/Headers/tkPlatDecls.h:152: > error: parse error before '*' token > make: *** [aquaTheme.o] Error 1 > > > I did apply Daniel's patch from CVS that is included in the BI distro. > > Any advice? > > - -- > Cheers, > > Kevin Walzer, PhD > WordTech Software--Open Source Applications and Packages for OS X > http://www.wordtech-software.com > http://www.smallbizmac.com > http://www.kevin-walzer.com > mailto:sw...@wo... > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (Darwin) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFCFxLyJmdQs+6YVcoRAoWEAJ0QuK7j6yfO+TcSaE83I65ahfWnIQCfa4Vw > ZzxO5ieDYeMKoWF09UcUsPc= > =qGSd > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > -- Michael Kirkham www.muonics.com |