[tex-live] display issue with "tlmgr help" ??

jfbu jfbu at free.fr
Mon Sep 11 12:40:11 CEST 2017


Le 11 sept. 2017 à 11:55, jfbu <jfbu at free.fr> a écrit :

> Hi Zdenek
> 
> Le 11 sept. 2017 à 11:11, Zdenek Wagner <zdenek.wagner at gmail.com> a écrit :
> 
>> Hi,
>> 
>> you can try the following command from your prompt:
>> 
>> perl -e 'print join(":", @INC), "\n";'
>> 
>> It will show you where perl looks for the modules. You can also insert the print command to the perl script but make sure, that the script does not manipulate the @INC array after printing its contents.
> 
> 
> Thanks, 
> 
> I have inserted the print command at line 515 of TeXLive tlmgr.pl
> 
> and I did "unset PERL5LIB" in my Terminal environment to limit confusion
> 
> with "/opt/local/bin" in PATH, I get this
> 
> ----
> $ tlmgr help
> /usr/local/texlive/2017/texmf-dist/scripts/texlive:/usr/local/texlive/2017/tlpkg:/opt/local/lib/perl5/site_perl/5.24/darwin-thread-multi-2level:/opt/local/lib/perl5/site_perl/5.24:/opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-2level:/opt/local/lib/perl5/vendor_perl/5.24:/opt/local/lib/perl5/5.24/darwin-thread-multi-2level:/opt/local/lib/perl5/5.24:. 
> ----
> 
> and badly highlighted help
> 
> By the way the repertories
> 
> /opt/local/lib/perl5/site_perl/5.24/darwin-thread-multi-2level
> /opt/local/lib/perl5/site_perl/5.24
> /opt/local/lib/perl5/vendor_perl/5.24/darwin-thread-multi-2level
> /opt/local/lib/perl5/vendor_perl/5.24
> 
> do not exist but these two exist
> 
> /opt/local/lib/perl5/5.24/darwin-thread-multi-2level
> /opt/local/lib/perl5/5.24
> 
> $ find /opt/local/lib/perl5/5.24 -name "Perldoc.pm"
> /opt/local/lib/perl5/5.24/Pod/Perldoc.pm
> 
> 
> The output above from 'print join(":", @INC), "\n";' does not seem to confirm
> that the MacPorts installed Perl 5.24 is confused by other Perl installs


I can also issue directly (without changing anything to PATH)

$ /opt/miniconda3/bin/pod2usage -verbose 2 /usr/local/texlive/2017/texmf-dist/scripts/texlive/tlmgr.pl

and this gives the expected highlighted output

but

$ pod2usage -verbose 2 /usr/local/texlive/2017/texmf-dist/scripts/texlive/tlmgr.pl

gives non-highlighted output (with 1NAME1 etc...)

And

$ /usr/bin/pod2usage -verbose 2 /usr/local/texlive/2017/texmf-dist/scripts/texlive/tlmgr.pl

does produce correct output


Best

Jean-François




More information about the tex-live mailing list