When trying to install on Windows 10 (1809) and Strawberry 5.28.0 portable, the following happens:
PS C:\Users\cwhitener> cpanm XML::SAX
XML::SAX is up to date. (1.00)
PS C:\Users\cwhitener> cpanm -v Alien::Libxml2
cpanm (App::cpanminus) 1.7044 on perl 5.028000 built for MSWin32-x64-multi-thread
Work directory is C:\STRAWB~1\5280~1.1\data/.cpanm/work/1553039938.9524
You have make C:\Strawberry\5.28.0.1\c\bin\gmake.exe
You have LWP 6.34
Falling back to Archive::Tar 2.32
Searching Alien::Libxml2 () on cpanmetadb ...
--> Working on Alien::Libxml2
Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/Alien-Libxml2-0.05.tar.gz ... OK
Unpacking Alien-Libxml2-0.05.tar.gz
Entering Alien-Libxml2-0.05
Checking configure dependencies from META.json
Checking if you have ExtUtils::CBuilder 0 ... Yes (0.280230)
Checking if you have Alien::Build::Plugin::Build::SearchDep 0.35 ... Yes (1.60)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34)
Checking if you have Alien::Build 1.60 ... Yes (1.60)
Checking if you have Alien::Build::Plugin::Prefer::BadVersion 1.05 ... Yes (1.60)
Checking if you have Alien::Build::MM 1.60 ... Yes (1.60)
Running Makefile.PL
Configuring Alien-Libxml2-0.05 ... Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::PP
pkg-config plugins do not set version :/
Alien::Build::CommandSequence> + xml2-config --version
Alien::Build::CommandSequence> [output consumed by Alien::Build recipe]
pkg-config plugins do not set version :/
Alien::Build::Plugin::Probe::CBuilder> trying: cflags= libs=-lxml2
pkg-config plugins do not set version :/
Alien::Build::Plugin::Probe::CBuilder> trying: cflags=-I/usr/include/libxml2 libs=-lxml2
pkg-config plugins do not set version :/
Alien::Build::Plugin::Probe::CBuilder> trying: cflags=-I/usr/local/include/libxml2 libs=-lxml2
pkg-config plugins do not set version :/
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Alien::Libxml2
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have Sort::Versions 0 ... Yes (1.62)
Checking if you have Alien::Base 0.73 ... Yes (1.60)
Checking if you have URI 0 ... Yes (1.75)
Checking if you have Test2::V0 0.000060 ... Yes (0.000117)
Checking if you have Alien::MSYS 0.07 ... Yes (0.09)
Checking if you have Alien::Build 0.32 ... Yes (1.60)
Checking if you have ExtUtils::MakeMaker 6.52 ... Yes (7.34)
Checking if you have HTML::LinkExtor 0 ... Yes (3.69)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have Alien::Build::MM 0.32 ... Yes (1.60)
Checking if you have Test::Alien 0 ... Yes (1.60)
Checking if you have Archive::Tar 0 ... Yes (2.32)
Checking if you have IO::Zlib 0 ... Yes (1.10)
Checking if you have HTTP::Tiny 0.044 ... Yes (0.076)
Building and testing Alien-Libxml2-0.05 ... cp lib/Alien/Libxml2.pm blib\lib/Alien/Libxml2.pm
"C:\Strawberry\5.28.0.1\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e prefix site C:/Strawberry/ll_5.28.0.1_normal\lib\perl5\MSWin32-x64-multi-thread C:/Strawberry/ll_5.28.0.1_normal\lib\perl5\MSWin32-x64-multi-thread C:/Strawberry/ll_5.28.0.1_normal\lib\perl5\MSWin32-x64-multi-thread
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::PP
main> prefix C:/Strawberry/ll_5.28.0.1_normal/lib/perl5/MSWin32-x64-multi-thread/auto/share/dist/Alien-Libxml2
"C:\Strawberry\5.28.0.1\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e version 0.05
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::PP
"C:\Strawberry\5.28.0.1\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e download
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::PP
Alien::Build::Plugin::Core::Download> decoding html
Alien::Build::Plugin::Core::Download> candidate *http://xmlsoft.org/sources/libxml2-sources-2.9.9.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.9.7.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.9.6.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.9.5.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.9.3.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.9.2.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.9.0.tar.gz
Alien::Build::Plugin::Core::Download> candidate http://xmlsoft.org/sources/libxml2-sources-2.7.8.tar.gz
Alien::Build::Plugin::Core::Download> candidate ...
Alien::Build::Plugin::Core::Download> setting version based on archive to 2.9.9
Alien::Build::Plugin::Core::Download> downloaded libxml2-sources-2.9.9.tar.gz
"C:\Strawberry\5.28.0.1\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e build
Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::PP
Alien::Build::CommandSequence> + sh C:/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/extract_3aoA/libxml2-2.9.9/configure --prefix=/C/Strawberry/ll_5.28.0.1_normal/lib/perl5/MSWin32-x64-multi-thread/auto/share/dist/Alien-Libxml2 --with-pic --prefix=/C/Strawberry/ll_5.28.0.1_normal/lib/perl5/MSWin32-x64-multi-thread/auto/share/dist/Alien-Libxml2 --without-python --disable-shared --enable-static
configure: loading site script C:/Users/cwhitener/AppData/Local/Temp/3gY89WsZPa/config.site
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... no, using cp -pR
checking how to run the C preprocessor... gcc -E
checking for mv... /usr/bin/mv
checking for tar... /usr/bin/tar
checking for perl... /usr/bin/perl
checking for wget... /usr/bin/wget
checking for xmllint... /c/Strawberry/5.28.0.1/c/bin/xmllint
checking for xsltproc... /c/Strawberry/5.28.0.1/c/bin/xsltproc
checking pkg-config is at least version 0.9.0... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... c:/Strawberry/5.28.0.1/c/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (c:/Strawberry/5.28.0.1/c/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /c/Strawberry/5.28.0.1/c/bin/nm -B
checking the name lister (/c/Strawberry/5.28.0.1/c/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 8192
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for c:/Strawberry/5.28.0.1/c/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /c/Strawberry/5.28.0.1/c/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /c/Program Files (x86)/GnuWin32/bin/dd
checking how to truncate binary pipes... /c/Program Files (x86)/GnuWin32/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/Strawberry/5.28.0.1/c/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
Checking zlib
checking for Z... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
Checking lzma
checking for LZMA... no
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for lzma_code in -llzma... yes
Checking headers
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... no
checking for netinet/in.h... no
checking for arpa/inet.h... no
checking netdb.h usability... no
checking netdb.h presence... no
checking for netdb.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking poll.h usability... no
checking poll.h presence... no
checking for poll.h... no
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for arpa/nameser.h... no
checking for resolv.h... no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) no
Checking types
checking for uint32_t... yes
Checking libraries
checking for strftime... yes
checking for strftime... (cached) yes
checking for localtime... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for stat... yes
checking for signal... yes
checking for rand... yes
checking for rand_r... no
checking for srand... yes
checking for time... yes
checking for isascii... yes
checking for mmap... no
checking for munmap... no
checking for putenv... yes
checking for va_copy... yes
checking whether va_list is an array type... no
checking for library containing gethostent... no
checking for library containing setsockopt... no
checking for library containing connect... no
checking for type of socket length (socklen_t)... configure: WARNING: could not determine
checking for const gethostbyname() argument... no
checking for const send() second argument... no
checking whether to enable IPv6... no
checking for isnan... yes
checking for isinf... no
checking for isinf in -lm... no
Checking configuration requirements
Enabling multithreaded support
Enabled Schematron support
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... no
checking for iconv in -liconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
Disabling ICU support
Enabled Schemas/Relax-NG support
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for sscanf... yes
Disabling code coverage for GCC
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libxml2.spec
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libxml/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/devhelp/Makefile
config.status: creating example/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating xstc/Makefile
config.status: creating include/libxml/xmlversion.h
config.status: creating libxml-2.0.pc
config.status: creating libxml-2.0-uninstalled.pc
config.status: creating libxml2-config.cmake
config.status: creating python/setup.py
config.status: creating xml2-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Done configuring
Alien::Build::CommandSequence> + make
make[1]: Entering directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg'
make all-recursive
make[2]: Entering directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg'
Making all in include
make[3]: Entering directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg/include'
Making all in libxml
make[4]: Entering directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg/include/libxml'
make[4]: *** No rule to make target `SAX.h', needed by `all-am'. Stop.
make[4]: Leaving directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg/include/libxml'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg/include'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/STRAWB~1/5280~1.1/data/.cpanm/work/1553039938.9524/Alien-Libxml2-0.05/_alien/build_4oYg'
external command failed at C:/Strawberry/ll_5.28.0.1_normal/lib/perl5/Alien/Build/CommandSequence.pm line 87.
gmake: *** [Makefile:999: _alien/mm/build] Error 2
FAIL
! Installing Alien::Libxml2 failed. See C:\STRAWB~1\5280~1.1\data\.cpanm\work\1553039938.9524\build.log for details. Retry with --force to force install it.
When trying to install on Windows 10 (1809) and Strawberry 5.28.0 portable, the following happens: