[tex-live] Error when trying to use TeX Live's 2015 tlmgr on FreeBSD 9.3

Zdenek Wagner zdenek.wagner at gmail.com
Wed Sep 30 22:47:26 CEST 2015


Hi all,

I think I have found a bug in tlmgr.pl. 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/tlmgr.pl

As a temporary solution it is possible to call tlmgr by specifying the full
path in /usr/local/texlive/2015/bin/$ARCH, it works.


Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2015-09-30 22:35 GMT+02:00 Conny Andersson <tugmember at diaforum.se>:

> Sorry I forgot to CC to tex-live at tug.org
>
> To: Norbert Preining <preining at logic.at>
>
> Hi Norbert and thanks for your answer,
>
> On Wed, 30 Sep 2015 22:08:46 +0900
> Norbert Preining <preining at logic.at> wrote:
>
> > Hi Conny,
> >
> > On Wed, 30 Sep 2015, Conny Andersson wrote:
> > > Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the
> > > TeXLive::TLConfig module) (@INC contains:
> /usr/texmf-dist/scripts/texlive
> >
> > Is
> >       /usr/local/bin/tlmgr
> > a *link* to
> >       /usr/local/texlive/2015/bin/$arch/tlmgr
> > ?
>
> Yes it is, but that 'tlmgr' in turn is a symlink to tlmgr.pl:
>
> ls -l /usr/local/bin/tlmgr
> lrwxr-xr-x  1 root  wheel  46 13 Sep 03:46 /usr/local/bin/tlmgr
> -> /usr/local/texlive/2015/bin/i386-freebsd/tlmgr
>
> ls -l ../texlive/2015/bin/i386-freebsd/tlmgr
> lrwxrwxrwx  1 root  wheel  41 14 Aug  2014
> ../texlive/2015/bin/i386-freebsd/tlmgr
>  -> ../../texmf-dist/scripts/texlive/tlmgr.pl
>
> (This is from my i386 labtop, but it also apply to my amd64
> workstation, both computers complain about line 92 in tlmgr.)
>
> >
> > My guess is that
> >       /usr/local/bin/tlmgr
> > is a link to
> >       /usr/local/texlive/2015/texmf-dist/scripts/texlive/tlmgr.pl
> > which does *NOT* work.
>
> No, not directly, but indirectly as shown above.
>
> >
> > How did you set up the links? Did you use tlmgr to do that, or did
> > you use something else?
>
> No not tlmgr. For the laptop on which I now write this answer, I
> used install-tl-20150911 (folder to do an Internet install) and then the
> perl script install-tl. In the following CLI dialog I choose its O
> and then the L option to get:
>
> create symlinks in standard directories:  [X]
>             binaries to: /usr/local/bin
>             manpages to: /usr/local/man
>                 info to: /usr/local/info
>
> The same CLI installation procedure was alsö done on my workstation,
> but there I only used the TeX Collection 2015 DVD to install via its
> install-tl. All I did was to install Tex Live 2015 the same way as I
> used for the last six years without any later problem with tlmgr.
>
>
> Thanks Norbert,
>
> Best Regards,
>
> Conny
>
> >
> > Norbert
> >
> > ------------------------------------------------------------------------
> > PREINING, Norbert                               http://www.preining.info
> > JAIST, Japan                                 TeX Live & Debian Developer
> > GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
> > ------------------------------------------------------------------------
>
> =-=-=-=-=-=-=-=-=-=-=-=
>   Conny Andersson
> <tugmember at diaforum.se>
>
> http://www.diaforum.se/
> =-=-=-=-=-=-=-=-=-=-=-=
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20150930/ec301f8b/attachment-0001.html>


More information about the tex-live mailing list