Re: texinfo-7.2.92 pretest available

[email protected]
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Thu, Feb 19, 2026 at 05:40:11PM +0100, [email protected] wrote:
> >    . after copying the DLLs into the same directory as the .exe,
> >      running texi2any.exe shows the error message:
> > 
> >       Can't open perl script "d:/usr/share/texi2any/load_txi_modules": No such file or directory
> >       texi2any (C): bug: call_init_perl status: 2
> > 
> >      "d:/usr/" is the value of $prefix.  This means the installation
> >      is not relocatable: it looks for load_txi_modules by absolute
> >      file name, not relative to its installation directory.  This will
> >      be fixed when installing the package in its actual place under
> >      $prefix, but it would be nice to be able to move the whole
> >      installation tree without breaking the package
> 
> This one is surprising to me, I'll see what I can do.

This should be fixed.

> >    . it also installs makeinfo.exe, but that seems to be the libtool
> >      wrapper, not the actual executable (which is supposed to be an
> >      identical copy of texi2any.exe)
> 
> This one also should be fixable, thanks for the report.

I can't see what is going on from the code.  The rule is the following
(I copied a similar rule for Perl texi2any):

if PREFER_C_TEXI2ANY
install-exec-hook:
	makeinfo_f=`echo makeinfo$(EXEEXT) | sed -e '$(transform)'`; rm -f $(DESTDIR)$(bindir)/$$makeinfo_f
	-makeinfo_f=`echo makeinfo$(EXEEXT) | sed -e '$(transform)'`; texi2any_f=`echo texi2any$(EXEEXT)| sed -e '$(transform)'`; $(LN_S) $$texi2any_f $(DESTDIR)$(bindir)/$$makeinfo_f
endif

I can't see what could lead makeinfo.exe not to be the same as
texi2any.exe.  Did you check that texi2any.exe is not a libtool wrapper
too?

-- 
Pat
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.