> Date: Thu, 19 Feb 2026 22:31:59 +0100
> From: [email protected]
> Cc: [email protected], [email protected]
> 
> On Thu, Feb 19, 2026 at 04:49:45PM +0200, Eli Zaretskii 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
> 
> I had a look, and indeed, ctexi2any is not relocatable.  Upon looking at
> the code and testing, the Perl script is not fully relocatable either.
> I think that it needs fixing, although it is annoying to do that kind of
> changes so near from the release.

As long as there are no regressions wrt previous releases, this could
be deferred to the future versions.  Up to you, of course.

(Being relocatable is important on Windows, where there's no standard
tree structure we have on Posix systems, so people install pre-built
packages in arbitrary places, quite different from the configured
$prefix, and expect them to work.  It is probably less important on
Posix systems, or when used on the same system as the one where the
package was built.)

Reply via email to