Re: texinfo-7.2.90 on mingw [glob function missing]

Bruno Haible via Bug reports for the GNU Texinfo documentation system <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Organization GNU
Message-ID <2498691.DCRlREXTYf@nimes>
Gavin Smith wrote:
> 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

Never seen this before. The compiler that you use is x86_64-linux-gnu-gcc,
therefore I guess the OS is GNU/Linux. What are the values of
  HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
and
  HAVE_DECL_PROGRAM_INVOCATION_NAME
in config.h ? If you have several config.h files, can you look in each of them,
and which config.h file is being actually used?

> This is always the risk with adding more gnulib modules, due to the dependencies
> they can bring in.  It brings in a large amount of code for the sake of
> a function that is only called once.

Yes. But that code is well-tested by many packages on many platforms.

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.