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

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.

Tk missing in v5.24.1.2402 and v5.22.3.2204

Tk module missing in the following 2 ActivePerl versions: 5.24.1.2402 and 5.22.3.2204
Tkx is available, but it would be a huge effort to rewrite the whole script to Tkx.
Hence the Topic.
Please help.

pl2bat on windows x64 is broken

http://ppm4.activestate.com/MSWin32-x64/5.20/2000/L/LZ/LZH/Net-Shadowsoc...

LZH/Net-Shadowsocks-0.9.2.7.tar.gz
Has already been unwrapped into directory C:\cpanfly-5.20-64\var\tmp\cpan_build\Net-Shadowsocks-0.9.2-v_mLws
LZH/Net-Shadowsocks-0.9.2.7.tar.gz
Has already been prepared
Running make for L/LZ/LZH/Net-Shadowsocks-0.9.2.7.tar.gz
Prepending C:\cpanfly-5.20-64\var\tmp\cpan_build\Digest-MD5-2.55-8ZYeV7/blib/arch C:\cpanfly-5.20-64\var\tmp\cpan_build\Digest-MD5-2.55-8ZYeV7/blib/lib to PERL5LIB for 'make'