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

            • ... Eli Zaretskii
            • ... Eli Zaretskii
            • ... Gavin Smith
            • ... pertusus
            • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
            • ... pertusus
            • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
            • ... pertusus
          • ... pertusus
          • ... Gavin Smith
      • ... pertusus
        • ... Eli Zaretskii
          • ... Gavin Smith
            • ... pertusus
            • ... Eli Zaretskii
    • ... pertusus
      • ... Eli Zaretskii
  • Re: ... Patrice Dumas
    • ... Eli Zaretskii
      • ... Patrice Dumas

Reply via email to