Artifacts Associated With Ticket f929fddcfc1cced456821d15ac44dcd863b4ff85
Ticket change [631f8b616c] (rid 1418) by anonymous on 2012-09-25 07:53:20:
- comment initialized to:
Firstly i'd like to say: Wow, thanks for building KitCreator, it's mega easy to create starkits, even cross compiling them!!<div><br /></div><div>Now my problems so far:</div><div>When compiling everything succeeded (after many tries)</div><div><br /></div><div><div>./kitcreator 8.6b3</div><div>Building tcl ... <strong>done</span>.</div><div>Building tclvfs ... <strong>done</span>.</div><div>Building zlib ... <span style="font-weight: bold;">done</span>.</div><div>Building tk ... <span style="font-weight: bold;">done</span>.</div><div>Building itcl ... <span style="font-weight: bold;">done</span>.</div><div>Building mk4tcl ... <span style="font-weight: bold;">done</span>.</div><div>Building kitsh ... <span style="font-weight: bold;">done</span>.</div></div><div><br /></div><div>When I try to run it i get this:</div><div><div><span style="font-weight: bold;">./tclkit-local </span></div><div>application-specific initialization failed: couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-local/lib/tcl8.6/init.tcl": invalid seek</div></div><div><br /></div><div>Even if I run ./tclkit-8.6b3</div><div><br /></div><div>When I compile it <span style="text-decoration: underline;">without</span> <span style="text-decoration: underline;">mk4tcl</span> but use <span style="font-weight: bold;">cvfs </span>or <span style="font-weight: bold;">zip</span> instead.. It compiles, when I run it, it WORKS if I source any file. But i have a problem.</div><div><br /></div><div>I can't seem to ever be able to succesfully build a starpack or use sdx.kit:</div><div>(I know it uses vfs:mk4 but wth..?)</div><div><br /></div><div><div>an't find package vfs::mkcl</div><div> while executing</div><div>"package require vfs::mkcl"</div><div> (procedure "::vfs::mk4::Mount" line 4)</div><div> invoked from within</div><div>"::vfs::mk4::Mount /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit -readonly"</div><div> ("eval" body line 1)</div><div> invoked from within</div><div>"eval [list ::vfs::${driver}::Mount $self $self] $args"</div></div><div><br /></div><div><span style="text-decoration: underline;">Is there any (other) way I can build "starpacks" of my applications?</span></div><div>Can I just append ZIPS? I'd be glad if anything else works!</div><div><br /></div><div>Also doing a "package names" only gives a few names.. If I append any .tcl file to the executable and then do "package names" i get all the packages..</div><div>95% of them source, some give errors like this:</div><div><div>couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-8.6b3/lib/vfs/mk4vfs.tcl": no such file or directory</div></div><div><br /></div><div>I tried building starkits with <span style="font-weight: bold;">kitgen</span>, <span style="font-weight: bold;">kbs</strong> and even to compile It myself but I failed miserably every time. I think it either must be a 8.6b bug or something in the settings. The weird thing <span style="font-weight: bold;">YOUR </strong>app was the ONLY one to run the code without coughing anything.. Though no starkit/starpack/zip way to deploy an app.</div><div><br /></div><div>Thanks in advance and keep up the good work!</div><div><br /></div>
- foundin initialized to: "6.1 trunk"
- private_contact initialized to: "90135e253e768cb49c70a5fb2c0391c9c46e6e8a"
- severity initialized to: "Severe"
- status initialized to: "Open"
- title initialized to: "Tclkit generation problems"
- type initialized to: "Incident"
- comment initialized to:
Ticket change [87ac24f250] (rid 1419) by anonymous on 2012-09-25 07:59:00:
- Appended to comment:
<hr /><i>anonymous added on 2012-09-25 07:59:00 UTC:</i><br /> <pre> Firstly i'd like to say: Wow, thanks for building KitCreator, it's mega easy to create starkits, even cross compiling them!! Now my problems so far: When compiling everything succeeded (after many tries) ./kitcreator 8.6b3 Building tcl ... done. Building tclvfs ... done. Building zlib ... done. Building tk ... done. Building itcl ... done. Building mk4tcl ... done. Building kitsh ... done. When I try to run it i get this: ./tclkit-local application-specific initialization failed: couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-local/lib/tcl8.6/init.tcl": invalid seek Even if I run ./tclkit-8.6b3 When I compile it without mk4tcl but use cvfs or zip instead.. It compiles, when I run it, it WORKS if I source any file. But i have a problem. I can't seem to ever be able to succesfully build a starpack or use sdx.kit: (I know it uses vfs:mk4 but wth..?) an't find package vfs::mkcl while executing "package require vfs::mkcl" (procedure "::vfs::mk4::Mount" line 4) invoked from within "::vfs::mk4::Mount /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit -readonly" ("eval" body line 1) invoked from within "eval [list ::vfs::${driver}::Mount $self $self] $args" Is there any (other) way I can build "starpacks" of my applications? Can I just append ZIPS? I'd be glad if anything else works! Also doing a "package names" only gives a few names.. If I append any .tcl file to the executable and then do "package names" i get all the packages.. 95% of them source, some give errors like this: couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-8.6b3/lib/vfs/mk4vfs.tcl": no such file or directory I tried building starkits with kitgen, kbs and even to compile It myself but I failed miserably every time. I think it either must be a 8.6b bug or something in the settings. The weird thing YOUR app was the ONLY one to run the code without coughing anything.. Though no starkit/starpack/zip way to deploy an app. Thanks in advance and keep up the good work! </pre> \n<br/>Sorry about the bad editing, i thought it would come out as I typed with bold and stuff.. seems i ought to had used pre
- priority changed to: "Immediate"
- resolution changed to: "Open"
- subsystem changed to: "Tcl"
- Appended to comment:
Ticket change [56d7f94957] (rid 1420) by rkeene on 2012-09-25 15:28:38:
- Appended to comment:
<hr /><i>rkeene added on 2012-09-25 15:28:38 UTC:</i><br /> To whom it may concern, There is an issue with Metakit and Tcl trunk (8.6b3 was just released from trunk). I have not resolved it yet, but it will likely result in a new patch against metakit being added to kitcreator's list of metakit patches. In the mean-time you can indeed use zip- or cvfs-based storage. In zip-based storage there is a zip-file already appended to the exectuable that you need to update. You should be able to extract it using the "unzip" command, or update it using the "zip" command. For cvfs-based storage the base of the kit is stored in an internal archive that cannot be modified, but if you attach your source code in the form of a zip file appended to the end of the executable it will be picked up and used. That is, for CVFS: cd myapp.vfs zip -r ../myapp.zip * cd .. cat tclkit-using-cvfs myapp.zip > tclkit-with-myapp chmod +x tclkit-with-myapp Thanks, Roy Keene
- priority changed to: "High"
- severity changed to: "Important"
- subsystem changed to: "Mk4tcl"
- Appended to comment:
Ticket change [3caaa16d99] (rid 1421) by rkeene on 2012-09-25 15:29:39:
- comment changed to:
Firstly i'd like to say: Wow, thanks for building KitCreator, it's mega easy to create starkits, even cross compiling them!!<div><br /></div><div>Now my problems so far:</div><div>When compiling everything succeeded (after many tries)</div><div><br /></div><div><div>./kitcreator 8.6b3</div><div>Building tcl ... <strong>done</span>.</div><div>Building tclvfs ... <strong>done</span>.</div><div>Building zlib ... <span style="font-weight: bold;">done</span>.</div><div>Building tk ... <span style="font-weight: bold;">done</span>.</div><div>Building itcl ... <span style="font-weight: bold;">done</span>.</div><div>Building mk4tcl ... <span style="font-weight: bold;">done</span>.</div><div>Building kitsh ... <span style="font-weight: bold;">done</span>.</div></div><div><br /></div><div>When I try to run it i get this:</div><div><div><span style="font-weight: bold;">./tclkit-local </span></div><div>application-specific initialization failed: couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-local/lib/tcl8.6/init.tcl": invalid seek</div></div><div><br /></div><div>Even if I run ./tclkit-8.6b3</div><div><br /></div><div>When I compile it <span style="text-decoration: underline;">without</span> <span style="text-decoration: underline;">mk4tcl</span> but use <span style="font-weight: bold;">cvfs </span>or <span style="font-weight: bold;">zip</span> instead.. It compiles, when I run it, it WORKS if I source any file. But i have a problem.</div><div><br /></div><div>I can't seem to ever be able to succesfully build a starpack or use sdx.kit:</div><div>(I know it uses vfs:mk4 but wth..?)</div><div><br /></div><div><div>an't find package vfs::mkcl</div><div> while executing</div><div>"package require vfs::mkcl"</div><div> (procedure "::vfs::mk4::Mount" line 4)</div><div> invoked from within</div><div>"::vfs::mk4::Mount /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit -readonly"</div><div> ("eval" body line 1)</div><div> invoked from within</div><div>"eval [list ::vfs::${driver}::Mount $self $self] $args"</div></div><div><br /></div><div><span style="text-decoration: underline;">Is there any (other) way I can build "starpacks" of my applications?</span></div><div>Can I just append ZIPS? I'd be glad if anything else works!</div><div><br /></div><div>Also doing a "package names" only gives a few names.. If I append any .tcl file to the executable and then do "package names" i get all the packages..</div><div>95% of them source, some give errors like this:</div><div><div>couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-8.6b3/lib/vfs/mk4vfs.tcl": no such file or directory</div></div><div><br /></div><div>I tried building starkits with <span style="font-weight: bold;">kitgen</span>, <span style="font-weight: bold;">kbs</strong> and even to compile It myself but I failed miserably every time. I think it either must be a 8.6b bug or something in the settings. The weird thing <span style="font-weight: bold;">YOUR </strong>app was the ONLY one to run the code without coughing anything.. Though no starkit/starpack/zip way to deploy an app.</div><div><br /></div><div>Thanks in advance and keep up the good work!</div><div><br /></div> <hr /><i>anonymous added on 2012-09-25 07:59:00 UTC:</i><br /> <pre> Firstly i'd like to say: Wow, thanks for building KitCreator, it's mega easy to create starkits, even cross compiling them!! Now my problems so far: When compiling everything succeeded (after many tries) ./kitcreator 8.6b3 Building tcl ... done. Building tclvfs ... done. Building zlib ... done. Building tk ... done. Building itcl ... done. Building mk4tcl ... done. Building kitsh ... done. When I try to run it i get this: ./tclkit-local application-specific initialization failed: couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-local/lib/tcl8.6/init.tcl": invalid seek Even if I run ./tclkit-8.6b3 When I compile it without mk4tcl but use cvfs or zip instead.. It compiles, when I run it, it WORKS if I source any file. But i have a problem. I can't seem to ever be able to succesfully build a starpack or use sdx.kit: (I know it uses vfs:mk4 but wth..?) an't find package vfs::mkcl while executing "package require vfs::mkcl" (procedure "::vfs::mk4::Mount" line 4) invoked from within "::vfs::mk4::Mount /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit /home/lostone/Programare/Tcl/freewrap-starkits/sdx.kit -readonly" ("eval" body line 1) invoked from within "eval [list ::vfs::${driver}::Mount $self $self] $args" Is there any (other) way I can build "starpacks" of my applications? Can I just append ZIPS? I'd be glad if anything else works! Also doing a "package names" only gives a few names.. If I append any .tcl file to the executable and then do "package names" i get all the packages.. 95% of them source, some give errors like this: couldn't read file "/home/lostone/Programare/Tcl/freewrap-starkits/kitcreator/tclkit-8.6b3/lib/vfs/mk4vfs.tcl": no such file or directory I tried building starkits with kitgen, kbs and even to compile It myself but I failed miserably every time. I think it either must be a 8.6b bug or something in the settings. The weird thing YOUR app was the ONLY one to run the code without coughing anything.. Though no starkit/starpack/zip way to deploy an app. Thanks in advance and keep up the good work! </pre> \n<br/>Sorry about the bad editing, i thought it would come out as I typed with bold and stuff.. seems i ought to had used pre <hr /><i>rkeene added on 2012-09-25 15:28:38 UTC:</i><br /> To whom it may concern, There is an issue with Metakit and Tcl trunk (8.6b3 was just released from trunk). I have not resolved it yet, but it will likely result in a new patch against metakit being added to kitcreator's list of metakit patches. In the mean-time you can indeed use zip- or cvfs-based storage. In zip-based storage there is a zip-file already appended to the exectuable that you need to update. You should be able to extract it using the "unzip" command, or update it using the "zip" command. For cvfs-based storage the base of the kit is stored in an internal archive that cannot be modified, but if you attach your source code in the form of a zip file appended to the end of the executable it will be picked up and used. That is, for CVFS: <pre> cd myapp.vfs zip -r ../myapp.zip * cd .. cat tclkit-using-cvfs myapp.zip > tclkit-with-myapp chmod +x tclkit-with-myapp </pre> Thanks, Roy Keene
- comment changed to:
Ticket change [ecb4987f11] (rid 1422) by rkeene on 2012-09-25 15:42:59:
- Appended to comment:
<hr /><i>rkeene added on 2012-09-25 15:42:59 UTC:</i><br /> Another workaround is to use Tcl 8.6b2 or 8.5.12 instead of 8.6b3. Metakit works with those versions.
- Appended to comment:
Ticket change [44ad0dbcfb] (rid 1429) by rkeene on 2012-10-08 19:35:44:
- Appended to comment:
<hr /><i>rkeene added on 2012-10-08 19:35:44 UTC:</i><br /> Fixed in [94567b3779]
- Appended to comment:
Ticket change [8c32a9e9a4] (rid 1430) by rkeene on 2012-10-08 19:35:57:
- status changed to: "Fixed"
Ticket change [9237172c54] (rid 1431) by rkeene on 2012-10-08 19:39:17:
- status changed to: "Closed"