[tex-live] [install-tl] Limitation on length of installation path?

Zdenek Wagner zdenek.wagner at gmail.com
Fri Sep 7 23:00:51 CEST 2012


2012/9/7 Reinhard Kotucha <reinhard.kotucha at web.de>:
> On 2012-09-07 at 19:28:02 +0900, Vladimir Lomov wrote:
>
>  > Hello,
>  >
>  > ** Norbert Preining [2012-09-07 19:07:03 +0900]:
>  >
>  > > Hi
>  >
>  > >> Also, removing either `local' or `texlive' (i.e. setting
>  > >> installation path to
>  > >>  /home/vladimir/usr/texlive/2012
>  > >> or
>  > >>  /home/vladimir/usr/local/2012
>  > >> ) allows to install TL without manual intervetion.
>  >
>  > >> Is this intended limitation?
>  >
>  > > Yes and no. We check on writeabity two levels up in the
>  > > hierarchy, but if that does not even exist it looks like it
>  > > breaks.
>  >
>  > I naively thought that it is enough to check permission to write
>  > (create) in top directory, like e.g. ~/usr (I assume that this
>  > directory exists) or `~', if to talk about `~/usr/local/...'. Is
>  > this perl limitation, e.g. missing analog of `-p' parameter of
>  > `mkdir' or something other? I'm just curious.
>
> No, there is a function mkdirhier() in TLUtils.pm which does the same
> as mkdir -p .  It has been written in order to create the directory
> tree in TEXMFLOCAL.
>
Is there any difference from the mkpath function trom the File::Path
module? I have been using mkpath in my programs for years. I used it
even in Perl on OS/2 Warp 4.

> Regards,
>   Reinhard
>
> --
> ----------------------------------------------------------------------------
> Reinhard Kotucha                                      Phone: +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover                              mailto:reinhard.kotucha at web.de
> ----------------------------------------------------------------------------
> Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
> ----------------------------------------------------------------------------



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list