Open hakonhagland opened 1 month ago
# build threw exception: external command failed at C:/Strawberry/perl/vendor/lib/Alien/Build/CommandSequence.pm line 159.
I think I can run that external command manually like this:
C:\msys2\usr\bin> .\sh.exe C:\Users\hakon\perl\cpan-modules\Alien-MSYS-0.17\corpus\config.guess
C:\Users\hakon\perl\cpan-modules\Alien-MSYS-0.17\corpus\config.guess: unable to guess system type
This script, last modified 2013-11-29, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (C:\Users\hakon\perl\cpan-modules\Alien-MSYS-0.17\corpus\config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2013-11-29
uname -m = x86_64
uname -r = 3.4.7.x86_64
uname -s = MSYS_NT-10.0-22631
uname -v = 2023-07-14 16:57 UTC
/usr/bin/uname -p = unknown
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = x86_64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = x86_64
UNAME_RELEASE = 3.4.7.x86_64
UNAME_SYSTEM = MSYS_NT-10.0-22631
UNAME_VERSION = 2023-07-14 16:57 UTC
Notice the message "unable to guess system type" maybe that is a clue why this test fails?
I am trying to install this module using the MSYS2 binaries (i.e. avoid downloading MSYS) by setting the environment variable
PERL_ALIEN_MSYS_BIN
(Windows 11 from PowerShell):