ppm doesn't work after installing ActiveState Perl

I'm trying to install OpenSSL for a mongodb example, but can't install some perl packages

I installed ActivePerl 5.28, restarted the computer, added path variable, and ppm still doesn't work

PathVariables

When i type ppm into cmd it returns

'ppm' is not recognized as an internal or external command,
operable program or batch file.

Cpan works but I can't install some packages like dmake

dmakeCmd


Seems like you need to add the ActivePerl-PPM package to the Active Platform perl project before downloading the installer .exe.

  • First, remove the old installation of ActivePerl (I am not sure if this is necessary though). Double-Click the installer .exe, typically something like: ActivePerl-5.28.1.0000-MSWin32-x64-832ee6ab.exe, then click "Next" and then click "Remove".

  • Now, go to the Active Platform page of the forked perl project: https://platform.activestate.com

  • Click the configuration tab of the project and click "Add packages"

  • Add the package "ActivePerl-PPM", click "Add" and then "Done".

  • Still in the configuration tab, click "Commit changes"

  • From the "Overview" tab, click the download button for the new build.

After installing the new build, I get the following output from the Command Prompt:

C:\Users\Bruker>ppm
ppm gui failed: Can't locate Win32/OLE.pm in @INC (you may need to install the Win32::OLE module) (@INC contains: C:/Perl64/lib C:/Perl64/site/lib)

So at least now it finds the ppm executable, but there are still missing modules.

Edit:

After also adding two more packages to the build: Win32-Console, and Win32-OLE. Then rebuilding and reinstalling, the ppm command finally worked:

enter image description here

The command cpan dmake still fails though, see also How to install dmake with perl?