RE: [tcltk-perl] Bwidgets
Brought to you by:
hobbs
From: Jeff H. <je...@Ac...> - 2004-08-30 17:36:53
|
Paul Falbe wrote: > On Mon, Aug 30, 2004 at 09:46:14AM -0700, Jeff Hobbs wrote: > > > What directory should BWidget-1.7.0.tar.gz be untared for > > > Tcl::Tk to find them? > > > > It should be a sibling directory to $tcl_library, or you > > must add its location into the Tcl auto_path variable before you > > 'package require' it. > > on my Casio I installed under > > \Storage Card\tcl844\lib\tcl8.4\Bwidget > if I > print $ENV{"TCL_LIBRARY"} > I get > \Storage Card\tcl844\lib\tcl8.4 FWIW, you should not need to have TCL_LIBRARY set if you have correctly installed Tcl on the machine (that is, with Tcl\bin and Tcl\lib properly structured). In any case, you want the BWidget directory as a "sibling", not a "subdirectory". That means: \Storage Card\tcl844\lib\Bwidget However, you might be getting an error because the dir structure isn't correct. A normal install of BWidgets has the version number and dirname like 'bwidget-1.7'. You can install ActiveTcl on your main Windows machine, then just copy the Tcl\lib\bwidget-1.7 directory as a sibling to the one on the CE machine. This should work. > I am getting some type of error but it is not going to my > \perl-stderr file. What code should be used to catch Tcl::Tk errors? I'm not sure how the celib interaction works in this case. I've had errors that mysteriously didn't go to the celib created std channel files. Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |