ActiveState Powered by ActiveState

ActiveState Community


PPM

Tk compatibility problem with PPM module

OS: All / Any | Product: ActivePerl | tags: compatibility PPM Tk
Question:

I have installed the module Tk-TableMatrix 1.23 ( Installed from AS, using
AS Perl Package Manager). All my scripts using this module are broken. I
have tried to run the "demo" scripts provided in the package. And no matter
which one I run. I get the following message.
--> perl -w basic.pl

Tk::TcldeclsVtab wrong size for TcldeclsVtab at
C:/PRG/Perl/lib/DynaLoader.pm line 252.

Tk::TkeventVtab wrong size for TkeventVtab at C:/PRG/Perl/lib/DynaLoader.pm
line 252.

Answer:

You need a version of Tk-TableMatrix 1.23 that is compiled against Tk 804.x.

When the Tk shipped with ActivePerl was updated to 804.x in the middle of the 5.8.x series, it was recognized that modules which depended on Tk would need to be recompiled. Doing so would, however, makes those modules incompatible with older releases still using Tk 802.x. Since PPM only supports one version of any given module revision per repository, all those older 5.8.x releases would have lost their PPM sources.

Improvements to the functionality of PPM are envisioned which will allow dependency based selection of module versions. For now, the workaround has been to distribute different versions of these modules with compatibility issues from different PPM repositories, some of which are not maintained by ActiveState.

Modules with dependencies on Tk802.x will continue to be available at ActiveState. Modules with dependencies on Tk804.x are available from Randy Kobes' University of Winnipeg PPM repositories:
http://theory.uwinnipeg.ca/ppmpackages/

Why doesn't the PPM website work?

OS: All / Any | Product: ActivePerl | tags: PPM server error website
Question:

I'm trying to browse the PPM website. Why am I getting an Internal Server Error?

Answer:

The PPM server has two interfaces. The first is a SOAP interface that is used by the PPM client, at this url:

http://ppm.activestate.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer

The second is a regular web interface for your browser. The SOAP interface uses the URL shown above and will give an error if you try to access it using a browser. The URL for the regular web interface is:

http://ppm.activestate.com/

PPM 4 can't find package widget::statusbar

OS: All / Any | Product: ActivePerl | tags: activeperl environment gui PPM ppm4 vpm
Question:

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?

Answer:

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.

IE6 on XP SP2 won't display HTML docs installed by ppm.

OS: Windows XP Pro | Product: ActivePerl | tags: Documentation PPM
Question:

I can't see any HTML documentation for installed packages (Windows XP SP2). Why?

Answer:

This is a known issues with Internet Explorer 6 on Windows XP
(Service Pack 2). The documentation for modules installed using PPM will
not display because of security settings in IE. To regenerate your docs
so that they will be properly displayed:

  • Delete the HTML documentation for perl-ldap in C:\Perl\docs\
  • Run the following at the command line:
        perl -MActivePerl::DocTools -e ActivePerl::DocTools::UpdateHTML()
-->