Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem VFS and packages require

7 views
Skip to first unread message

falk.vo...@web.de

unread,
Oct 26, 2007, 4:04:33 AM10/26/07
to
Hello,

I try to speed up my application on a network drive. So I want use a
single file with the most library's.
I try to pack my package in a VFS file with this code:

source sdx.kit
package require sdx
sdx::sdx wrap runtime.kit

and in my wish I try this code:

package require mk4vfs
mk4vfs::mount runtime D:/runtime.kit
lappend auto_path [pwd]/runtime

to this point it works fine. I can see library's with glob * etc. But
if I try package require the shell hangs

Have some one an idea where the problem is, or have some other hints
to increase the start speed from my appliaction on a network drive.

Thanks

Falk

Bezoar

unread,
Oct 30, 2007, 8:19:02 PM10/30/07
to

I see you were using windows so I tried to see what [pwd] returns in a
normal shell:
I got C:/dev/.... . Your lappend auto_path may be pointing in wrong
place. Further since
you dont "package require starkit" you likely don't get the automatic
mounting of your
starkit to the [pwd] nor do you get the automatic addition to your
auto_path of your
vfs/lib directory. You may want to try to change directory to D:\
then do the lappend to
the auto_path or hard code D:\ instead of depending on [pwd]

Carl

0 new messages