Unix install script fails on Mac

Adam R. Maxwell amaxwell at mac.com
Sun Jun 30 22:03:35 CEST 2019



> 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



-- adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20190630/97cba6df/attachment-0001.html>


More information about the tex-live mailing list