Re: problem with perl's `PAR' module
>> Perl lib version (5.26.3) doesn't match executable >> 'perl' version (5.26.1) at >> /opt/local/lib/perl5/5.26/darwin-thread-multi-2level/Config.pm line 62. >> Compilation failed in require at >> /opt/local/lib/perl5/site_perl/5.26/PAR.pm line 7. >> >> > It could be a Perl port maintainer's issue or a texlive port issue, > or even farther upstream in Perl 5.26 and the PAR maintainer on > CPAN. > > Try installing the PAR port before texlive and see if that pulls the > right dependency. > > The version requirement is so close you could probably get away by > relaxing the requirement at > /opt/local/lib/perl5/site_perl/5.26/PAR.pm line 7 to just 5.26 Thanks for the tips, but the problem was something completely different: The `biber' binary is built with perl's `PAR:packer' module, and I accidentally stripped the binary. For this reason the built-in 5.26.1 perl interpreter was retained, but the 5.26.3 support files from MacPorts were used. Reinstalling the (unstripped) `biber' binary solved the issue. Werner
Re: problem with perl's `PAR' module
On Sat, Nov 9, 2019 at 12:04 PM Werner LEMBERG wrote: [...] > Perl lib version (5.26.3) doesn't match executable > 'perl' version (5.26.1) at > /opt/local/lib/perl5/5.26/darwin-thread-multi-2level/Config.pm line 62. > Compilation failed in require at > /opt/local/lib/perl5/site_perl/5.26/PAR.pm line 7. > > It could be a Perl port maintainer's issue or a texlive port issue, or even farther upstream in Perl 5.26 and the PAR maintainer on CPAN. Try installing the PAR port before texlive and see if that pulls the right dependency. The version requirement is so close you could probably get away by relaxing the requirement at /opt/local/lib/perl5/site_perl/5.26/PAR.pm line 7 to just 5.26 Best, Aklex
Re: problem with perl's `PAR' module
Ryan, thanks for your help. > If you really want to use perl 5.26, then verify that [...] All of this is exactly as you describe. Since the `biber' program from TeXLive 2018 works I suspect a problem with the new binary from TeXLive 2019, which I will report upstream. Werner
Re: problem with perl's `PAR' module
On Nov 9, 2019, at 11:04, Werner LEMBERG wrote: > I've installed perl's `PAR` module, needed for TeXLive's (self-compiled) > `biber` binary, with > > sudo cpan-5.26 install PAR > > on my up-to-date Lion box (using MacPorts from git). However, > executing `biber --help` fails with > > Perl lib version (5.26.3) doesn't match executable >'perl' version (5.26.1) at >/opt/local/lib/perl5/5.26/darwin-thread-multi-2level/Config.pm line 62. > Compilation failed in require at /opt/local/lib/perl5/site_perl/5.26/PAR.pm > line 7. > > Indeed, port shows > > port info perl5.26 > -> perl5.26 @5.26.3_2 (lang) > > port info perl5 > -> perl5 @5.26.1 (lang) The version number of the perl5 port doesn't matter, because the perl5 port doesn't install anything other than symlinks to the files installed by another port. Which other port depends on which variant of the perl5 port you have installed. If you really want to use perl 5.26, then verify that port installed perl5 prints The following ports are currently installed: perl5 @5.26.1_0+perl5_26 (active) and that which perl prints /opt/local/bin/perl and that /opt/local/bin/perl -v prints This is perl 5, version 26, subversion 3 (v5.26.3) built for darwin-thread-multi-2level Copyright 1987-2018, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. Note that perl5.28 is available and is the default perl in MacPorts at this time. perl5.30 is also available in MacPorts but may not quite be ready yet; for example, there is no perl5_30 variant of the perl5 port yet.