<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Tcl Dev kit not working on Ubuntu 7.10 - Comments</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10</link>
 <description>Comments for &quot;Tcl Dev kit not working on Ubuntu 7.10&quot;</description>
 <language>en</language>
<item>
 <title>Loading DLL&#039;s</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3876</link>
 <description>&lt;p&gt;Forgot to mention that when I moved the DLL&#039;s to ./lib my load command does reflect this change to :&lt;br /&gt;
load [file join [file dirname [info nameofexecutable]] lib/mydll.dll] pkg&lt;/p&gt;
&lt;p&gt;And I also include the dll&#039;s in the files to be wrapped&lt;/p&gt;
</description>
 <pubDate>Mon, 14 Jan 2008 02:54:03 -0800</pubDate>
 <dc:creator>rgm</dc:creator>
 <guid isPermaLink="false">comment 3876 at http://community.activestate.com</guid>
</item>
<item>
 <title>Loading DLL&#039;s</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3875</link>
 <description>&lt;p&gt;Jeff,&lt;br /&gt;
Thanks. That seems to work. In fact I am using the following:&lt;/p&gt;
&lt;p&gt;load [file join [file dirname [info nameofexecutable]] mydll.dll] pkg&lt;/p&gt;
&lt;p&gt;The above works fine as long as &quot;mydll.dll&quot; and the tcl script are in the same directory. When I moved the DLL&#039;s to ./lib, I get an error at runtime saying &quot;cannot find mydll.dll...&quot;.  BUT, when I added ./lib to path in windows, everyhting works again !&lt;/p&gt;
&lt;p&gt;Should I be doing anyhting in the script to define path?&lt;/p&gt;
&lt;p&gt;I tried lappend auto_path [file join [file dirname [info nameofexecutable]] lib] but it didnt seem to fix the problem.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;
Raghu&lt;/p&gt;
</description>
 <pubDate>Mon, 14 Jan 2008 02:39:32 -0800</pubDate>
 <dc:creator>rgm</dc:creator>
 <guid isPermaLink="false">comment 3875 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK- Loading DLL&#039;s</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3859</link>
 <description>&lt;p&gt;Ah, you should not literally use [load mydll.dll Pkg] in your script.  The location will be relative to something.  If it is relative to your main script when you wrap, you would do:&lt;/p&gt;
&lt;p&gt;load [file dirname [info script]]/mydll.dll Pkg&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jan 2008 23:52:28 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3859 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK- Loading DLL&#039;s</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3858</link>
 <description>&lt;p&gt;The DLL&#039;s I am using were indeed created using MSVC 6. I link to tclstub84.lib. Also, the dll&#039;s only depend on the std. Windows system dll&#039;s.&lt;/p&gt;
&lt;p&gt;In the tcl script as shown above should I be using absoulte paths? I am not sure how the load path is defined.&lt;/p&gt;
&lt;p&gt;I am puzzled why the executable is able to find the DLL&#039;s on my machine where I build, but not on another !&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;
Raghu&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jan 2008 23:50:58 -0800</pubDate>
 <dc:creator>rgm</dc:creator>
 <guid isPermaLink="false">comment 3858 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK - Loading DLL&#039;s</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3857</link>
 <description>&lt;p&gt;As with any extension, make sure that your dlls do not have any external dependencies and link against the static Tcl stub library.  You can check this on a machine with MSVC installed by using the Dependency Walker.  The dlls should only depend on standard Windows system dlls.&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jan 2008 23:37:50 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3857 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK - Loading DLL&#039;s</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3856</link>
 <description>&lt;p&gt;Jeff,&lt;br /&gt;
I got the wrapping to work with dqkit. Thanks !&lt;/p&gt;
&lt;p&gt;I wrapped my script minus the DLL&#039;s (the DLL&#039;s do some math). The wrapped simple app works fine.&lt;/p&gt;
&lt;p&gt;Now when I try to load a few DLL&#039;s - (these load the BLT vectors. they also call other DLL&#039;s to do solve equations..), the wrapped app works fine on the box where it was wrapped !  However when I run it on my laptop, it gives me an error syaing it couldnt find my dll.  I even tyried to wrap the DLL&#039;s, but still get the same error.  Is there a special way to load the DLL&#039;s in my tcl script. &lt;/p&gt;
&lt;p&gt;I load the DLL&#039;s in the following manner:&lt;/p&gt;
&lt;p&gt;load my_dll01 SolvePDE&lt;br /&gt;
load my_dll02 LoadVec&lt;br /&gt;
load my_dll03 ResetVec&lt;/p&gt;
&lt;p&gt;Appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;
Raghu&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jan 2008 22:37:33 -0800</pubDate>
 <dc:creator>rgm</dc:creator>
 <guid isPermaLink="false">comment 3856 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK - BLT?</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3848</link>
 <description>&lt;p&gt;The basekits used in TclApp can be either the ones shipped with ActiveTcl or another tclkit, such as dqkit (&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=99106&amp;amp;package_id=106219&quot; title=&quot;http://sourceforge.net/project/showfiles.php?group_id=99106&amp;amp;package_id=106219&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=99106&amp;amp;package_id=1...&lt;/a&gt;) that includes the BLT extension statically linked in.&lt;/p&gt;
&lt;p&gt;An extension need only be compiled with stubs enabled to be used when wrapped, but this isn&#039;t a default configuration for BLT.  There are patches on the NET to allow this if you chose to go that direction.&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jan 2008 10:10:38 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3848 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK - BLT?</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3841</link>
 <description>&lt;p&gt;Ok, Thanks.&lt;/p&gt;
&lt;p&gt;ALso I am using BLT for plotting. Any way I can wrap using TDK when using BLT?&lt;br /&gt;
Is there a stubs enabled version I can download?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;
RGM&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Jan 2008 06:47:45 -0800</pubDate>
 <dc:creator>rgm</dc:creator>
 <guid isPermaLink="false">comment 3841 at http://community.activestate.com</guid>
</item>
<item>
 <title>Tcl Dev Kit 4.0.1 - Trouble wrapping app with tcom</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3832</link>
 <description>&lt;p&gt;First off, I recommend upgrading to 4.0.4 if you do any work with 8.5.  Otherwise, I suspect you just have a path problem.  In TclApp, open Edit -&amp;gt; Preferences.&lt;/p&gt;
&lt;p&gt;Under TAP Search paths, make sure you have C:/Tcl/lib and C:/Tcl/lib/tcl8.4 (assuming a standard ActiveTcl 8.4 install).  If you happened to install ActiveTcl after TDK, then TDK is not able to seed these paths appropriately.&lt;/p&gt;
</description>
 <pubDate>Wed, 09 Jan 2008 09:31:39 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3832 at http://community.activestate.com</guid>
</item>
<item>
 <title>Tcl Dev Kit 4.0.1 - Trouble wrapping app with tcom</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3827</link>
 <description>&lt;p&gt;I am using TclApp 4 to wrap an application that uses tcom. &lt;/p&gt;
&lt;p&gt;Following is the  error:&lt;/p&gt;
&lt;p&gt;| Tcl Dev Kit TclApp&lt;br /&gt;
| Copyright (C) 2001-2008 ActiveState Software Inc. All rights reserved.&lt;br /&gt;
| Standard license for Raghunath Menon .&lt;br /&gt;
|&lt;br /&gt;
| Embedding license information into wrap result as comments.&lt;br /&gt;
|&lt;br /&gt;
Command line:&lt;br /&gt;
	C:/TclDevKit/bin/tclapp.exe  -icon &#039;C:\Apps\PST\SFE_Rel_v1\sh71.ico&#039; -compile -compilefor 8.4 -prefix C:/Tcl/bin/base-tk-thread-win32-ix86.exe -verbose -out C:/Apps/PST/SFE_Rel_v1/sfe -noprovided -architecture win32-ix86 -pkgref Iwidgets -pkgref &#039;Tk 8.0&#039; -pkgref dde -pkgref tcom -relativeto C:/Apps/PST C:/Apps/PST/SFE_Rel_v1/combobox.tcl C:/Apps/PST/SFE_Rel_v1/davinci3.gif C:/Apps/PST/SFE_Rel_v1/davinci4.gif C:/Apps/PST/SFE_Rel_v1/SFE_v1_rel.tcl C:/Apps/PST/SFE_Rel_v1/sh71.ico&lt;br /&gt;
Wrapping ...&lt;br /&gt;
Expanding...&lt;br /&gt;
    Following only profile dependencies&lt;br /&gt;
    Accepting missing dependencies&lt;br /&gt;
    Accepting version changes made by fuzzy search&lt;/p&gt;
&lt;p&gt;P   package Tk 8.4 win32-ix86 ...&lt;br /&gt;
P   package dde 1.2.4 win32-ix86 ...&lt;/p&gt;
&lt;p&gt;Issues...&lt;br /&gt;
    package &#039;tcom -is package&#039; is not known (Specified, Not recoverable)&lt;/p&gt;
&lt;p&gt;Aborting&lt;/p&gt;
&lt;p&gt;Done&lt;/p&gt;
&lt;p&gt;| Embedded license information into wrap result as comments.&lt;br /&gt;
| Standard license for Raghunath Menon .&lt;/p&gt;
&lt;p&gt;Not sure why. Any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Raghu&lt;/p&gt;
</description>
 <pubDate>Wed, 09 Jan 2008 03:42:59 -0800</pubDate>
 <dc:creator>rgm</dc:creator>
 <guid isPermaLink="false">comment 3827 at http://community.activestate.com</guid>
</item>
<item>
 <title>TDK 3.2 on Ubuntu 7.10</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3593</link>
 <description>&lt;p&gt;The upx decompression fix noted about for 4.0.1 should work for 3.2 as well.  Otherwise we have already published 4.0.3 with this issue fixed for all users.&lt;/p&gt;
</description>
 <pubDate>Wed, 28 Nov 2007 20:36:17 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3593 at http://community.activestate.com</guid>
</item>
<item>
 <title>Can&#039;t Install TclDevKit 3.2 on Ubuntu 7.10 for same reason</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3592</link>
 <description>&lt;p&gt;I am unable to re-install TclDevKit 3.2 on Ubuntu 7.10 operating system.&lt;/p&gt;
&lt;p&gt;When I enter &quot;sh install.sh&quot;, the command exits and no GUI pops up.&lt;/p&gt;
&lt;p&gt;It turns out that install.sh uses tdkbase.&lt;/p&gt;
&lt;p&gt;When I try to invoke tdkbase directly, it just exists.&lt;/p&gt;
</description>
 <pubDate>Wed, 28 Nov 2007 20:03:15 -0800</pubDate>
 <dc:creator>Art</dc:creator>
 <guid isPermaLink="false">comment 3592 at http://community.activestate.com</guid>
</item>
<item>
 <title>Update Released</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3369</link>
 <description>&lt;p&gt;Updated ActiveTcl and TDK releases to fix problems on Ubuntu 7.10GG have been issued.&lt;/p&gt;
&lt;p&gt;ActiveTcl8.4.16.1&lt;br /&gt;
ActiveTcl8.5.0.0b10&lt;br /&gt;
TDK4.0.3&lt;/p&gt;
&lt;p&gt;This release is Linux only. All other OS releases remain at the previous version number.&lt;/p&gt;
</description>
 <pubDate>Thu, 01 Nov 2007 10:38:53 -0700</pubDate>
 <dc:creator>grahams</dc:creator>
 <guid isPermaLink="false">comment 3369 at http://community.activestate.com</guid>
</item>
<item>
 <title>More on upx basekit with Ubuntu 7.10</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3278</link>
 <description>&lt;p&gt;We have confirmed that the older version of upx that we were using for basekit compression was causing the problem.  We are working on fully updated builds that use the latest upx which has been verified to run on 7.10GG.&lt;/p&gt;
</description>
 <pubDate>Wed, 24 Oct 2007 12:41:53 -0700</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3278 at http://community.activestate.com</guid>
</item>
<item>
 <title>More on upx basekit with Ubuntu 7.10</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comment-3273</link>
 <description>&lt;p&gt;We are updating our upx version which had change notes about improving some SELinux-related issues.  Hopefully that addresses the core problem.&lt;/p&gt;
</description>
 <pubDate>Wed, 24 Oct 2007 11:31:22 -0700</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3273 at http://community.activestate.com</guid>
</item>
<item>
 <title>Tcl Dev kit not working on Ubuntu 7.10</title>
 <link>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10</link>
 <description>&lt;p&gt;The Tcl base kits included with ActiveTcl 4.0 are not running on the lastest Ubuntu 7.10 release.&lt;/p&gt;
&lt;p&gt;Normally if you just execute the base kit base-tcl-linux-ix86, the Tcl interpeter will start up.&lt;/p&gt;
&lt;p&gt;However, after upgading to Ubuntu 7.10, the program just exits imediately. Any programs built using tclapp exhibit the same behavior.&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;# uname -a
Linux Ubuntu-POD1 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux&lt;/pre&gt;</description>
 <comments>http://community.activestate.com/forum-topic/tcl-dev-kit-not-working-ubuntu-7-10#comments</comments>
 <category domain="http://community.activestate.com/forums/tdk-support-0">TDK support</category>
 <category domain="http://community.activestate.com/os/other-linux">Other Linux</category>
 <pubDate>Fri, 19 Oct 2007 12:21:23 -0700</pubDate>
 <dc:creator>JoeM</dc:creator>
 <guid isPermaLink="false">1527 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
