<div dir="ltr"><div><div>Hi all,<br><br></div>I think I have found a bug in <a href="http://tlmgr.pl">tlmgr.pl</a>. In the BEGIN block $MAster is based upon __FILE__ (line 59 and below). If the user has not created symlinks, it is $TEXLIVE/2015/bin$ARCH/tlmgr and the two paths unshifted to @INC are relative to it. However, if a symlink is created, __FILE__ is /usr/local/bin/tlmgr and the paths unshifted are  /usr/texmf-dist/scripts/texlive and /usr/tlpkg as can be seen in the oroginal message. This means that it is necessary to resolve the symlinks and then make the paths relative to texmf-dist/scripts/texlive/<a href="http://tlmgr.pl">tlmgr.pl</a><br><br></div>As a temporary solution it is possible to call tlmgr by specifying the full path in /usr/local/texlive/2015/bin/$ARCH, it works.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2015-09-30 22:35 GMT+02:00 Conny Andersson <span dir="ltr"><<a href="mailto:tugmember@diaforum.se" target="_blank">tugmember@diaforum.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry I forgot to CC to <a href="mailto:tex-live@tug.org">tex-live@tug.org</a><br>
<br>
To: Norbert Preining <<a href="mailto:preining@logic.at">preining@logic.at</a>><br>
<br>
Hi Norbert and thanks for your answer,<br>
<span class=""><br>
On Wed, 30 Sep 2015 22:08:46 +0900<br>
Norbert Preining <<a href="mailto:preining@logic.at">preining@logic.at</a>> wrote:<br>
<br>
> Hi Conny,<br>
><br>
> On Wed, 30 Sep 2015, Conny Andersson wrote:<br>
</span><span class="">> > Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the<br>
> > TeXLive::TLConfig module) (@INC contains: /usr/texmf-dist/scripts/texlive<br>
><br>
</span><span class="">> Is<br>
>       /usr/local/bin/tlmgr<br>
> a *link* to<br>
>       /usr/local/texlive/2015/bin/$arch/tlmgr<br>
> ?<br>
<br>
</span>Yes it is, but that 'tlmgr' in turn is a symlink to <a href="http://tlmgr.pl" rel="noreferrer" target="_blank">tlmgr.pl</a>:<br>
<br>
ls -l /usr/local/bin/tlmgr<br>
lrwxr-xr-x  1 root  wheel  46 13 Sep 03:46 /usr/local/bin/tlmgr<br>
-> /usr/local/texlive/2015/bin/i386-freebsd/tlmgr<br>
<br>
ls -l ../texlive/2015/bin/i386-freebsd/tlmgr<br>
lrwxrwxrwx  1 root  wheel  41 14 Aug  2014 ../texlive/2015/bin/i386-freebsd/tlmgr<br>
 -> ../../texmf-dist/scripts/texlive/<a href="http://tlmgr.pl" rel="noreferrer" target="_blank">tlmgr.pl</a><br>
<br>
(This is from my i386 labtop, but it also apply to my amd64<br>
workstation, both computers complain about line 92 in tlmgr.)<br>
<span class=""><br>
><br>
> My guess is that<br>
>       /usr/local/bin/tlmgr<br>
> is a link to<br>
>       /usr/local/texlive/2015/texmf-dist/scripts/texlive/<a href="http://tlmgr.pl" rel="noreferrer" target="_blank">tlmgr.pl</a><br>
> which does *NOT* work.<br>
<br>
</span>No, not directly, but indirectly as shown above.<br>
<span class=""><br>
><br>
> How did you set up the links? Did you use tlmgr to do that, or did<br>
> you use something else?<br>
<br>
</span>No not tlmgr. For the laptop on which I now write this answer, I<br>
used install-tl-20150911 (folder to do an Internet install) and then the<br>
perl script install-tl. In the following CLI dialog I choose its O<br>
and then the L option to get:<br>
<span class=""><br>
create symlinks in standard directories:  [X]<br>
            binaries to: /usr/local/bin<br>
            manpages to: /usr/local/man<br>
                info to: /usr/local/info<br>
<br>
</span>The same CLI installation procedure was alsö done on my workstation,<br>
but there I only used the TeX Collection 2015 DVD to install via its<br>
install-tl. All I did was to install Tex Live 2015 the same way as I<br>
used for the last six years without any later problem with tlmgr.<br>
<br>
<br>
Thanks Norbert,<br>
<br>
Best Regards,<br>
<br>
Conny<br>
<span class="im HOEnZb"><br>
><br>
> Norbert<br>
><br>
> ------------------------------------------------------------------------<br>
> PREINING, Norbert                               <a href="http://www.preining.info" rel="noreferrer" target="_blank">http://www.preining.info</a><br>
> JAIST, Japan                                 TeX Live & Debian Developer<br>
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13<br>
> ------------------------------------------------------------------------<br>
<br>
</span><div class="HOEnZb"><div class="h5">=-=-=-=-=-=-=-=-=-=-=-=<br>
  Conny Andersson<br>
<<a href="mailto:tugmember@diaforum.se">tugmember@diaforum.se</a>><br>
<br>
<a href="http://www.diaforum.se/" rel="noreferrer" target="_blank">http://www.diaforum.se/</a><br>
=-=-=-=-=-=-=-=-=-=-=-=<br>
<br>
</div></div></blockquote></div><br></div>