Hitting below error after installing the PERL 5.28.1 build with Win32-Process module and ReadKey module.
Any advice or guidance how to resolve this?
Thanks.
Can’t locate Win32/Process.pm in @INC (you may need to install the Win32::Process module) (
rl D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl C:/Perl64/site/lib C:/Perl64/lib) at D:
line 66.
BEGIN failed–compilation aborted at D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl/Distr
Compilation failed in require at D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl/Distra/Sw
BEGIN failed–compilation aborted at D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl/Distr
Compilation failed in require at D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl/Distra/Sw
BEGIN failed–compilation aborted at D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl/Distr
Compilation failed in require at D:\UPF\Platform1\Switch\bin\switchctl.pl line 49.
BEGIN failed–compilation aborted at D:\UPF\Platform1\Switch\bin\switchctl.pl line 49.
Thanks for writing! What steps did you take before this? From the paths in the error report, it looks like you’re working with another version of Perl and not the version from the ActiveState Platform.
I was installing defaulted version of PERL 5.28.1. However the application required WIN32-Process module and ReadKey module, hence I’m requesting a new built package and installing new 5.28.1 via MSI.
Attached doc with screenshots on how I requested for the build package.
(Attachment Build Package Win32-Process & Readkey.docx is missing)
D:/UPF/Platform1/Switch/install/4.2.2-0/lib/perl
Looks like it’s injected into your @INC array.
The most likely way that can happen is if third-party software has set Global environment variables that we can’t see from your ACIUser ID.
PERL5LIB or PERLLIB , if set, would operate on @INC to place another value ahead of the load paths picked up from the “Path” environment variable.
Was wondering is that possible for me to get the MSI installer instead of using this state tool?
Because I cannot install using the below command.
This is my build link for installation:
powershell -Command “& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString(‘https://platform.activestate.com/dl/cli/pdli01/install.ps1’))) -activate-default behbeh69/Perl-5.28.1-Windows-Server2012”
The expression after ‘&’ in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
At line:1 char:3