Hi all -
I’m trying to build a Qt6 library on Windows 10. Their configuration tool checks for Perl, but doesn’t find my installation despite my having “C:\Users\Michael.Zimmers\AppData\Local\activestate\cache\bin” in my path environment variable.
Is there a way to direct the install command to install at the top of the C folder?
Thanks…
“state deploy” is the command you want for this. It will create a static runtime, for which you will need the appropriate license.
Compare pricing for ActiveState Open Source Languages Automation Platform. Pick from Free, Coder, Team, Business and Enterprise Plans
Est. reading time: 7 minutes
One Static runtime is available by default, and using it consumes all three of the included Active runtimes.
Thank you for the reply. So, the command text I’m given to use is:
powershell -Command "& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://platform.activestate.com/dl/cli/1513911843.1654624651_pdli01/install.ps1'))) -c'state activate --default mzimmersfluidra/Perl-5.34.0-Windows'"
Do I understand you that I should modify it to be:
powershell -Command "& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://platform.activestate.com/dl/cli/1513911843.1654624651_pdli01/install.ps1'))) -c'state deploy --path 'C:\perl' state activate --default mzimmersfluidra/Perl-5.34.0-Windows'"
Thanks again…
That’s along the right lines, but no.
Install the State Tool first, on it’s own.
Then you can dispense with all the commands embedded in Powershell, and see what’s going on with the State Tool.
The --path flag will allow you to set the target where you want Perl to be installed and available for others.