Unix install script fails on Mac
Siep Kroonenberg
siepo at bitmuis.nl
Mon Jul 1 16:34:51 CEST 2019
On Sun, Jun 30, 2019 at 10:30:58PM +0200, Siep Kroonenberg wrote:
> On Sun, Jun 30, 2019 at 01:03:35PM -0700, Adam R. Maxwell via tex-live wrote:
> >
> >
> > > On Jun 30, 2019, at 08:51 , Norbert Preining <preining at logic.at> wrote:
> > >
> > > Hi Dick
> > >
> > >> ... if I omit sudo. Then the installer works, even with the gui.
> > >
> > > Then this might be an Tcl installation issue, or sudo versus X/Cocoa
> > > access issue where I have no idea about ...
> >
> > If it's just the Tcl installer, that makes more sense. I'd guess it's
> > an sudo/environment issue, wherein su or sudo -s don't have TMPDIR.
> >
> > $ sudo su -l
> > root# echo $TMPDIR
> >
> > root# env
> > TERM=xterm-256color
> > SHELL=/bin/sh
> > USER=root
> > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/Library/TeX/texbin:/opt/X11/bin
> > PWD=/var/root
> > SHLVL=1
> > HOME=/var/root
> > _=/usr/bin/env
> >
> > If that guess is correct, you could try
> > sudo -s
> > export TMPDIR=/tmp
> > ./install-blah-blah
>
> or
>
> sudo env TMPDIR=/tmp perl install-tl ...
>
> The fix in install-tl-gui.tcl is totally trivial and I'll probably
> commit a fix tomorrow.
Done, r51517. Should be in tomorrow's update. By the way, thanks for
the report.
--
Siep Kroonenberg
More information about the tex-live
mailing list