> Date: Sun, 11 Jan 2026 13:36:11 +0100
> From:  Bruno Haible via Bug reports for the GNU Texinfo documentation system
>  <[email protected]>
> 
> On mingw, there is a compilation error:
> 
> $ make
> ...
> /bin/sh ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32-gcc 
> -DHAVE_CONFIG_H -I. -I../../../tta/C  -I../../../tta/C/main 
> -I../../../tta/C/parsetexi -I../../../tta/C/convert 
> -I../../../tta/C/structuring_transfo -I../../../tta/C 
> -DDATADIR=\"/usr/local/mingw64/share\" 
> -DSYSCONFDIR=\"/usr/local/mingw64/etc\" -I../../../tta/gnulib/lib 
> -I../gnulib/lib -D_WIN32_WINNT=_WIN32_WINNT_WINXP 
> -I/usr/local/mingw64/include -Wall -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ 
> -D_GNU_SOURCE -ggdb -O2 -pipe -Wimplicit-function-declaration 
> -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1
>  
> -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1
>  -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2   
> -g -O2 -MT convert/libtexinfo_convert_la-html_prepare_converter.lo -MD -MP 
> -MF convert/.deps/libtexinfo_convert_la-html_prepare_converter.Tpo -c -o 
> convert/libtexinfo_convert_la-html_prepare_converter.lo `test -f 
> 'convert/html_prepare_converter.c' || echo 
> '../../../tta/C/'`convert/html_prepare_converter.c
> libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. 
> -I../../../tta/C -I../../../tta/C/main -I../../../tta/C/parsetexi 
> -I../../../tta/C/convert -I../../../tta/C/structuring_transfo 
> -I../../../tta/C -DDATADIR=\"/usr/local/mingw64/share\" 
> -DSYSCONFDIR=\"/usr/local/mingw64/etc\" -I../../../tta/gnulib/lib 
> -I../gnulib/lib -D_WIN32_WINNT=_WIN32_WINNT_WINXP 
> -I/usr/local/mingw64/include -Wall -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ 
> -D_GNU_SOURCE -ggdb -O2 -pipe -Wimplicit-function-declaration 
> -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.26.1-1
>  
> -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.26.1=/usr/src/debug/perl-5.26.1-1
>  -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2 -g 
> -O2 -MT convert/libtexinfo_convert_la-html_prepare_converter.lo -MD -MP -MF 
> convert/.deps/libtexinfo_convert_la-html_prepare_converter.Tpo -c 
> ../../../tta/C/convert/html_prepare_converter.c  -DDLL_EXPORT -DPIC -o 
> convert/.libs/libtexinfo_convert_la-html_prepare_converter.o
> ../../../tta/C/convert/html_prepare_converter.c:25:18: fatal error: glob.h: 
> No such file or directory
>  #include <glob.h>
>                   ^
> compilation terminated.
> make[4]: *** [Makefile:3691: 
> convert/libtexinfo_convert_la-html_prepare_converter.lo] Fehler 1
> 
> 
> For comparison, version 7.1.90 did compile on mingw (but had test failures) 
> [1].
> 
> Maybe all you need is to request the Gnulib module 'glob' [2] ?

FWIW, mingw.org's "old" MinGW does have glob.h (and implements the
functions in it).

  • texi... Gavin Smith
    • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
      • ... Eli Zaretskii
        • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... Eli Zaretskii
      • ... Patrice Dumas
        • ... Gavin Smith
    • ... G. Branden Robinson
      • ... G. Branden Robinson
      • ... Gavin Smith
        • ... Gavin Smith
          • ... G. Branden Robinson
        • ... Per Bothner

Reply via email to