Hi,
I want to install Sqitch on the Windows 10 machines of my team mates.
The installation fails due to problems with Win32::Locale::get_locale().
See the attached log from the install.
I use Strawberry Perl 5.32.1.1 (ZIP edition) and ran the post-install
scripts as documented.
I get the same result regardless of running in PowerShell or cmd.exe, both
with codepage 1252.
Also checked the result of Win32::Locale::get_locale() which returns
undefined:
> perl -MWin32::Locale -MDevel::Peek -e 'Dump Win32::Locale::get_locale()'
SV = NULL(0x0) at 0x1c7138
REFCNT =
2147483619
FLAGS = (READONLY,PROTECT)
This is where my Perl skills come to an end ;)
Environment variable LC_ALL appears to be picked up by Perl, e.g.:
> $env:LC_ALL = 'x'
> perl -MWin32::Locale -MDevel::Peek -e 'Dump Win32::Locale::get_locale()'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = "x"
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C")
SV = NULL(0x0) at 0xf17138
REFCNT =
2147483619
FLAGS = (READONLY,PROTECT)
Setting $env:LC_ALL = '' or $env:LC_ALL = 'english' gets rid of the warning
but the output of Dump remains unchanged.
Thanks,
Erik