Re: texinfo-7.2.90 on mingw [glob function missing]
Raymond Toy <[email protected]>
| Newsgroups | gmane.comp.tex.texinfo.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 1/17/26 4:13 AM, Patrice Dumas wrote: > On Sat, Jan 17, 2026 at 11:13:59AM +0000, Gavin Smith wrote: >> On Mon, Jan 12, 2026 at 07:12:52AM +0000, Gavin Smith wrote: >>> On Sun, Jan 11, 2026 at 11:36:19PM +0100, Patrice Dumas wrote: >>>> On Sun, Jan 11, 2026 at 01:36:11PM +0100, Bruno Haible via Bug reports for the GNU Texinfo documentation system wrote: >>>>> On mingw, there is a compilation error: >>>>> >>>>> $ make >>>>> ... >>>>> #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] ? >>>> Using the Gnulib 'glob' module would be ok for me. Gavin, any objection? >>> No objection. >> I can't build Texinfo anymore now this 'glob' module has been added. >> >> make[4]: Entering directory '/home/g/src/texinfo/GIT/tta/gnulib/lib' >> make[5]: Entering directory '/home/g/src/texinfo/GIT/tta/gnulib/lib' >> /bin/bash ../../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../C -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -MT libgnu_la-getprogname.lo -MD -MP -MF .deps/libgnu_la-getprogname.Tpo -c -o libgnu_la-getprogname.lo `test -f 'getprogname.c' || echo './'`getprogname.c >> libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../C -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -MT libgnu_la-getprogname.lo -MD -MP -MF .deps/libgnu_la-getprogname.Tpo -c getprogname.c -fPIC -DPIC -o .libs/libgnu_la-getprogname.o >> getprogname.c: In function 'getprogname': >> getprogname.c:255:4: error: #error "getprogname module not ported to this OS" >> 255 | # error "getprogname module not ported to this OS" >> | ^~~~~ >> make[5]: *** [Makefile:3572: libgnu_la-getprogname.lo] Error 1 > I also got that error, but it went away after a make clean or make > distclean, I do not remember well, and never came back. I had the error too. I ran autogen.sh, reran configure, make clean, then make. No problem after that. (I built from git sources.) ​