[tlbuild] Can't locate mktexlsr.pl]

Ken Moffat zarniwhoop at ntlworld.com
Sat Feb 20 04:34:02 CET 2016


On Sat, Feb 20, 2016 at 03:17:25AM +0100, Reinhard Kotucha wrote:
> On 2016-02-14 at 17:22:17 +0100, YuGiOhJCJ Mailing-List wrote:
> 
>  > I get a different result:
>  > $ kpsewhich -var-value=TEXMFROOT
>  > /opt/texlive
>  > 
>  > Indeed, the year "2015" is missing.
>  > But why? I don't know.
> 
> I must admit that I was the one who suggested TEXMFROOT.  So let me
> explain.
> 
> TeX Live is a multi-platform system where executables are in the
> directory /path/to/bin/<platform> but Linux distributions only support
> one platform, hence the <platform> directory is omitted.
> 

Not wholly - in BLFS we started (a few years ago) by installing the
binary, then rebuilding from source : at that time the people doing
it did not know we could install texmf and then (most of) source.
So, our installs went into 20xx/bin/i386-linux or
20xx/bin/x86_64-linux.

> The texmf tree is searched relative to the location of the binaries.
> There are two kpathsea variables in texmf.cnf, SELFAUTODIR and
> SELFAUTOPARENT, which control the behavior.
> 
> The directory containing the binaries has to be in PATH.  The
> variables SELFAUTODIR and SELFAUTOPARENT denote the root of the
> installation,
> 
>   SELFAUTODIR    = <directory containing the binaries>/..
>   SELFAUTOPARENT = <directory containing the binaries>/../..
> 
> In other words, SELFAUTOPARENT denotes the root of a multi-platform
> TeX Live installation and SELFAUTODIR has to be used if only one
> platform is supported (and the <platform> directory is omitted).
> 
> Former versions of texmf.cnf used these variables at many places.
> 
> The idea of TEXMROOT is to have only one variable which determines
> whether TeX Live supports more than one platform or not.
> 
> You obviously installed TeX Live for a single platform but didn't
> adjust the value of TEXMROOT accordingly.
> 
> The default setting in texmf.cnf is
> 
>   TEXMFROOT = $SELFAUTOPARENT
> 
> Without the <platform> directory it points to
> 
>   /opt/texlive/2015/bin/../..
> 
> which is equivalent to
> 
>   /opt/texlive
> 
> If only one platform is supported, it's necessary to replace this line
> with
> 
>   TEXMFROOT = $SELFAUTODIR
> 
> Then TEXMFROOT will point to
> 
>   /opt/texlive/2015/bin/..
> 
> which is equivalent to
> 
>   /opt/texlive/2015
> 
> 
> And please don't modify
> 
>   /opt/texlive/2015/texmf-dist/web2c/texmf.cnf 
> 
> because your changes will be be overwritten by the next update.
> 
> Just add the line to
> 
>   /opt/texlive/2015/texmf.cnf
> 
> instead.
> 
> Regards,
>   Reinhard
> 

Thanks, but for BLFS users who build from source the next update
will normally be a fresh install of 2016.  If our users want to keep
up to date with the latest and greatest, they can use the binary
installer.  Please note that we are somewhat different from many
distros: we like stable releases of packages, unless there are
compelling reasons.

ĸen
-- 
This email was written using 100% recycled letters.


More information about the tlbuild mailing list