From: Daniel A. S. <st...@ic...> - 2001-09-04 23:49:44
|
At 11:33 -0700 on 4/9/01, Jim Ingham wrote: >This is partly my fault. We have some patches that will get Tcl to >build with shared libraries, but they haven't been applied to the >8.4 branch yet. I think they were approved, but they haven't been >applied. I will ask about this. I think Jeff said they looked good for 8-3-1-branch, not sure if anybody has reviewed them for 8.4, the problem is that the makefile changes might break other unix builds. I have been planning to look into this (e.g. try building on solaris with the patch), which is why 435258 is assigned to me at the moment... >Anyway, if you go to the Tcl SourceForge patch manager and dial up >patch #435258 that has then necessary changes. This patch is for >8.3.3, but it should apply pretty trivially to 8.4 as well. > >The other change this patch makes is to switch shared library >building from using Mac OS X bundles - which have the down side that >you can ONLY load them, you can't link against them - to Mac OS X >dylib's, which you can both load on demand, AND link against. > >If you need to build Itcl, there is a patch to make that work with >this scheme as well, it is #435256 in the ITcl patch manager. I have instructions & patch for TclX if anybody needs them (they are not written up nicely yet, but if somebody ask that will prompt me to do it...) >On Tuesday, September 4, 2001, at 11:13 AM, Eric Norum wrote: > >>I'm sure this is a FAQ, and that I'm just doing something dumb, but I >>seem to be stuck trying to get tcl8.4a3 on to my OS X machine. >> >>When I run configure I get a complaint about it not knowing how to >>handle dynamic libraries. A quick look inside the configure script >>reveals that there's no `Darwin' entry in the case statement that >>handles this sort of thing. >> >>I've tried hand-editing the Makefile after configure finishes, but I've >>not stumbled across the proper incantations, yet. >> >>I welcome any suggestions. >> Eric A while back, in connection with my update to patch 435258 on SF (https://sourceforge.net/tracker/download.php?group_id=10894&atid=310894&file_id=8079&aid=435258), I had posted some instructions on how to build Tcl 8.3.3 as close as possible to what Apple does so that you can install on top of the Apple delivered Tcl easily: http://www.maths.mq.edu.au/~steffen/tcltk/darwin.php this may help with compiling 8.4 as well note that I had to make some changes to the patch just recently so that it applies to the HEAD, as Vince Darley has checked in some changes to tclLoadDyld.c, let me know if you need them. (IIRC this was post 8.4a3 though) 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/> |