PPM 4 can't find package widget::statusbar

Posted by kevinw on 2006-07-21 15:24
OS: All / Any | Product: ActivePerl | tags: activeperl environment gui PPM ppm4 vpm

When I try to run PPM 4 in graphical mode it complains that it can't find the widget::statusbar package and exits. How do I make this work?


The problem is likely that you have the PERL_TCL_DLL environment variable set. This variable is set when you are using the Tkx GUI toolkit. PPM 4 also uses Tkx, but has its own version of Tkx bundled; hence, the environment variable points PPM 4 away from its version and to your ActiveTcl installation, which doesn't have all of the files necessary to run PPM 4.

The solution is to unset that environment variable before running PPM 4.

ActiveState Staff
Wed, 2006-11-29 03:28

As of ActivePerl 818 this should not be a problem as ppm will unset this environment variable by itself before it tries to load up Tkx.