Skip to content

Instantly share code, notes, and snippets.

@ology
Created April 16, 2026 15:15
Show Gist options
  • Select an option

  • Save ology/a4018e4ed5a5f700cb0e2031b82edf8d to your computer and use it in GitHub Desktop.

Select an option

Save ology/a4018e4ed5a5f700cb0e2031b82edf8d to your computer and use it in GitHub Desktop.
Algorithm::Combinatorics fails to install on my Windows 10 box
cpanm (App::cpanminus) 1.7049 on perl 5.042002 built for MSWin32-x64-multi-thread
Work directory is C:\Users\diamo/.cpanm/work/1776352279.10652
You have make C:\Strawberry\c\bin\gmake.exe
You have LWP 6.82
Falling back to Archive::Tar 3.04
You have C:\FPC\3.2.2\bin\i386-Win32\unzip.exe
Searching Algorithm::Combinatorics () on cpanmetadb ...
--> Working on Algorithm::Combinatorics
Fetching http://www.cpan.org/authors/id/F/FX/FXN/Algorithm-Combinatorics-0.27.tar.gz
-> OK
Unpacking Algorithm-Combinatorics-0.27.tar.gz
Entering Algorithm-Combinatorics-0.27
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.76)
Configuring Algorithm-Combinatorics-0.27
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Algorithm::Combinatorics
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.76)
Checking if you have FindBin 0 ... Yes (1.54)
Checking if you have Scalar::Util 0 ... Yes (1.70)
Checking if you have Test::More 0 ... Yes (1.302219)
Checking if you have XSLoader 0 ... Yes (0.32)
Building and testing Algorithm-Combinatorics-0.27
cp Combinatorics.pm blib\lib\Algorithm\Combinatorics.pm
Running Mkbootstrap for Combinatorics ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "Combinatorics.bs"
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Combinatorics.bs blib\arch\auto\Algorithm\Combinatorics\Combinatorics.bs 644
"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils/xsubpp" -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap Combinatorics.xs > Combinatorics.xsc
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Combinatorics.xsc Combinatorics.c
gcc -c -std=c99 -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\" "-IC:\STRAWB~1\perl\lib\CORE" Combinatorics.c
In file included from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perl.h:1117: sys\types.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1123: stdarg.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1126: stdint.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1129: ctype.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1130: float.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1131: limits.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1138: locale.h: No such file or directory
In file included from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perl.h:1371: setjmp.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1391: stdlib.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1693: stddef.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1697: string.h: No such file or directory
In file included from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perl.h:1771: sys\stat.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1799: time.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1815: errno.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:3295,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\handy.h:138: stdbool.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:3408,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\dosish.h:86: signal.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\win32thread.h:4,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3708,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\win32.h:169: windows.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:197: io.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:198: process.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:199: stdio.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:200: direct.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:201: stdlib.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:202: stddef.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:203: fcntl.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\win32.h:501,
from C:\STRAWB~1\perl\lib\CORE\win32thread.h:4,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3708,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\sys\socket.h:13: windows.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\sys\socket.h:17: winsock2.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\sys\socket.h:18: ws2tcpip.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\sys\socket.h:31,
from C:\STRAWB~1\perl\lib\CORE\win32.h:501,
from C:\STRAWB~1\perl\lib\CORE\win32thread.h:4,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3708,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\sys\errno2.h:6: winsock2.h: No such file or directory
In file included from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perl.h:4191: assert.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\iperlsys.h:50,
from C:\STRAWB~1\perl\lib\CORE\perl.h:4462,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perlio.h:41: stdio.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:4462,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\iperlsys.h:921: setjmp.h: No such file or directory
In file included from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perl.h:5138: math.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:6156,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\win32iop.h:16: sys\utime.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:7933,
from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\inline.h:1551: intrin.h: No such file or directory
In file included from Combinatorics.xs:18:
C:\STRAWB~1\perl\lib\CORE\perl.h:8191: fcntl.h: No such file or directory
gmake: *** [makefile:339: Combinatorics.o] Error 1
-> FAIL Installing Algorithm::Combinatorics failed. See C:\Users\diamo\.cpanm\work\1776352279.10652\build.log for details. Retry with --force to force install it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment