[tex-live] bug(?) of tlmgr

Siep Kroonenberg siepo at cybercomm.nl
Sat Dec 20 22:47:33 CET 2008


On Sat, Dec 20, 2008 at 05:55:51PM +0100, Ruben Prins wrote:
> Karl,
> 
> Unfortunately, adding this perldoc.bat makes the problem worse. Now *every*
> Windows user will have the problem, not just those that have a secondary
> Perl installation. The x: drive thingy is in tlperl/lib/Config.pm; which is
> reset with every update of tlperl, so since my latest tlmgr update, --help
> is hosed again:
> 
> If I add 
> 
>        print $progpath . "\n";
> 
> just before the system call to perldoc in tlperl/lib/Pod/Usage.pm, I get
> 
> 	X:\perl\bin\perldoc
> 
> So the fix is not a new perldoc shim, but a correct Config.pm (or a
> different incantation of perldoc in pod2usage).
> 
> Ruben
> 
> > -----Oorspronkelijk bericht-----
> > Van: tex-live-bounces at tug.org [mailto:tex-live-bounces at tug.org] Namens
> > Karl Berry
> > Verzonden: zaterdag 20 december 2008 3:02
> > Aan: tex-live at tug.org; fnsteed at hotmail.com
> > Onderwerp: Re: [tex-live] bug(?) of tlmgr
> > 
> > 
> >     until an official fix comes in:
> > 
> > We believe the best fix is to download the file
> >   http://tug.org/svn/texlive/trunk/Master/tlpkg/tlperl/bin/perldoc.bat
> > and put it into the corresponding place in your install hierarchy, that
> > is,
> >   c:/whatever/texmf/tlpkg/tlperl/bin/perldoc.bat
> > 
> > This should work around the problem of the weird x: drive thingy when
> > ActivePerl (or whatever perl) is installed, since then the --help
> > function will find our perldoc instead.
> > 
> > Windows experts, please correct/elucidate.  I'll add the above to
> > tug.org/texlive/windows.html when we know for sure.
> > 
> > karl

I was completely unable to reproduce this problem under w2k. I
installed ActiveState Perl before running the net installer; I let
the installer add Perl to the searchpath and create file
associations,  and I created a PERL5LIB environment variable and
added .PL to PATHEXT for good measure.

The path in Config.pm shouldn't matter.

Maybe a superfluous remark: all the various programs in TeX Live are
meant to be found via the searchpath. Under Windows, Perl scripts
should never be called directly but always via a wrapper script on
the searchpath.

Other than that, I don't know what the hell is going on.

-- 
Siep Kroonenberg


More information about the tex-live mailing list