On Thu, Jan 09, 2025 at 12:14:37AM +0100, Patrice Dumas wrote: > On Wed, Jan 08, 2025 at 05:42:53PM +0000, Gavin Smith wrote: > > I was unable to build from Texinfo git master. There is an error about > > missing -lperl: > > But the mistake I did is that only the main program build is skipped > if ! PERL_EMBEDDED, while the libperlembed_libtexinfo_main.la build > should be skipped too, and so should libtexinfo-main.la unless it is > possible to have libtexinfo-main.la without > libperlembed_libtexinfo_main.la, I'll see what I can do.
Should be fixed in https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=d324ac8b024752b60405f5a57827a25cfb52d31c If you uninstall libperl-dev, the build should proceed without error now. ctexi2any will not be built and the libtexinfo_main library build will miss all the features needing a Perl interpreter. Since libtexinfo_main is only used by ctexi2any, not having important features is not crucial. The library could still be used by dlopened modules that are loaded in a Perl interpreter, even though it cannot be used for programs without libperl-dev. -- Pat