Luis Lavena
2009-Jul-06 18:24 UTC
[Rubyinstaller-devel] Tk (was: Additional FAQ questions for review)
On Mon, Jul 6, 2009 at 8:57 AM, Roger Pack<rogerdpack at gmail.com> wrote:> speaking of tk, if I commit a patch would it be possible to include it > in the standard distro? ?The only reason I suggest this is that it''s a > core library, so providing it as a gem [or binary download] seems kind > of...odd, though possible. >The problem with that is that Tk requires ActiveTcl, which cannot be automated and cannot be stripped of dependencies. The alternative requires building ourself the Tcl/Tk component. Please feel free to add the recipe in your fork and I gladly will merge it if it works ;-) Cheers, -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry
Roger Pack
2009-Aug-12 13:15 UTC
[Rubyinstaller-devel] Tk (was: Additional FAQ questions for review)
> Please feel free to add the recipe in your fork and I gladly will > merge it if it works ;-)I''ll hopefully do it soon :)> The problem with that is that Tk requires ActiveTcl, which cannot be > automated and cannot be stripped of dependencies. > > The alternative requires building ourself the Tcl/Tk component.Very interesting. I thought the same as you do until this morning--it appears that with mswin [the rc2] build I can run tk apps without having to first install ActiveTcl. Anybody have an idea why that is possible? -r
Luis Lavena
2009-Aug-12 13:19 UTC
[Rubyinstaller-devel] Tk (was: Additional FAQ questions for review)
On Wed, Aug 12, 2009 at 10:15 AM, Roger Pack<rogerdpack at gmail.com> wrote:> [...] > >> The problem with that is that Tk requires ActiveTcl, which cannot be >> automated and cannot be stripped of dependencies. >> >> The alternative requires building ourself the Tcl/Tk component. > > Very interesting. ?I thought the same as you do until this morning--it > appears that with mswin [the rc2] build I can run tk apps without > having to first install ActiveTcl. ?Anybody have an idea why that is > possible? >Perhaps Tk libraries are located system-wide. Use ProcessExplorer over a IRB session after you required ''tk'' and it should list the loaded DLLs, allowing you see the image path where the file got loaded from. I haven''t bundled Tk with rc2, so is definitely something in your system. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry