PPM

Discuss the Perl Package Manager (PPM) and other module installation methods

Upgrading from Perl < 5.14 using PPM vs upgrading from Perl >= 5.14 using PPM

The documentation for ActivePerl 5.8 through 5.12 still describes a process that only worked when upgrading from 5.6.x, or 5.8.8.817 and older, to a newer Perl.

The CPAN/PPM module "PPM::Profile" is only compatible with Perls using the old PPM version 3.x. It will not create a usable file from a Perl with PPM version 4.x.

Users upgrading from a 5.8 through 5.12 Perl should use a script instead of the old module. Thanks to user "berniec" for posting an example script in the Installation forum:

https://community.activestate.com/node/10420#comment-27084

PPM crashes after fresh install of Perl 5.16.3

On my Win 7/64-bit system, I did a clean uninstall of AS 5.16.1/64-bit, then a clean install of AS 5.16.3/64-bit.

When I then tried to run PPM, it immediately crashed.

I uninstalled, rebooted and reinstalled, same crash.

I uninstalled, deleted C:\Perl64 directory and then reinstalled, same crash.

I'm going to try 5.16.2 now. Any other suggestions?

Rick

PPM Access for Business Edition ActivePerl versions

There is an FAQ posted under the ActivePerl heading regarding 401 Authorization messages generated by PPM.

http://community.activestate.com/faq-list?tid=50

ppm update error

Hello!

I can't update any repository on my laptop (see attachment)!!! Can you help me?

I have installed ActivePerl 5.22, 5.24 and 5.26 like this bin-path:

C:\Program Files\ActiveState\ActivePerl\5.22\..
C:\Program Files\ActiveState\ActivePerl\5.24\..
C:\Program Files\ActiveState\ActivePerl\5.26\..

PAR Packer gives error

When running pp -o example.exe example.pl, I get the following:

Perl lib version (5.24.2) doesn't match executable 'perl.exe' version (5.24.0) at C:/Perl64/lib/Config.pm line 62.

What can I do to get the executable and lib to match? I have already tried uninstalling and reinstalling.

Thanks.

Missing Encode::Detect::Detector

After reinstalling Windows and ActiveState Perl 5.24.1, I can't find the module Encode::Detect::Detector in ppm. Without Encode::Detect::Detector, even the module Encode::Detect fails to load, producing the error "Can't load 'C:/Perl64/site/lib/auto/Encode/Detect/Detector/Detector.dll' for module Encode::Detect::Detector: load_file:The specified module could not be found at C:/Perl64/lib/DynaLoader.pm line 194." Is this a bug, or am I the only one having this problem? Thanks.

How to list modules I explicitly installed?

I need to reinstall Windows and Active Perl on a computer. How can I list the modules I installed via ppm so that I can reinstall them afterward? "ppm query *" doesn't do what I want; it lists hundreds of modules that I didn't explicitly install. Thanks.

Can't locate DBD/Sybase.pm

Hi does anyone know how to install the pm for Sybase I am trying to access a DB via perl and I keep getting the error below.

Perl version = "This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread"

install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (you may need to install the DBD::Sybase module) (@INC contains: C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\support\dbgp\perllib c:/Perl64/site/lib c:/Perl64/lib .) at (eval 12)[c:/Perl64/lib/DBI.pm:796] line 3.
Perhaps the DBD::Sybase perl module hasn't been fully installed,

DBD::mysql Module Cannot Locate MySQL Socket

I've used ActivePerl's PPM to install the DBD::mysql module. For some reason, when attempting a database connection in my script using localhost (unix socket), the module cannot locate the mysql.sock file. It is looking for it in /tmp/mysql.sock. That does not seem like a logical location. I know where the mysql.sock file is. I even sym-linked the socket file to the /tmp directory. No luck. Interestingly, using the loopback 127.0.0.1 (tcp/ip connection), the module finds the mysql socket with no issues.

Wx is missing in 5.24

Wx (any version) is missing in 5.24 (all platforms). It was available in 5.22 on Windows and seems to build normally with CitrusPerl and StrawberryPerl.