From: Daniel A. S. <st...@ic...> - 2002-02-15 04:02:27
|
At 16:56 -0800 on 14/2/02, Daniel Lopez wrote: > > Daniel, >> >> Two things here. First, ot doesn't look like you are including the Tcl >> library in your link line for tk. But that doesn't much matter, the port of > >Do you know why Tk is not picking it up? > > 8.3.3 had no trouble looking in ../tcl8.3.3 to find it. > In 8.3.4, it does not find tcl even if I have it in .. or pass ithe > --with-tcl option it does not pickit it up > I tried also adding a -ltcl8.3 by hand and I get the same error c.f http://sourceforge.net/tracker/?func=detail&atid=110894&aid=506393&group_id=10894 the gist of the problem is that unlike on other platforms, the OSX linker needs to link with the Tcl library to make the Tk library, which the Tk makesystem doesn't provide for. after the Tk build fails, copying the tk.dylib link line and manually adding -ltcl8.3 works, or you can turn on TCL_STUBS in Tk's configure.in; however, there are a few missing bits in the makesystem for stub support that need to be backported from 8.4 (if you're still interested in building 8.3.4, I can provide them.) Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |