When I try to install ConTeXt with install.sh (Linux 64 bit), the following happens: lua error : function call: /home/coragyps/lmtx/bin/mtxrun.lua:299: bad argument #2 to 'popen' (invalid mode) cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-linux-64/bin/mtxrun': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtxrun.lua': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtx-install.lua': No existe el archivo o el directorio Messages in Spanish say the directory or file doesn't exist. Am I missing something? Thanks in advance Jairo
On 6/24/2021 11:02 PM, Jairo A. del Rio wrote:
When I try to install ConTeXt with install.sh (Linux 64 bit), the following happens:
lua error : function call: /home/coragyps/lmtx/bin/mtxrun.lua:299: bad argument #2 to 'popen' (invalid mode) cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-linux-64/bin/mtxrun': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtxrun.lua': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtx-install.lua': No existe el archivo o el directorio
Messages in Spanish say the directory or file doesn't exist. Am I missing something? Thanks in advance can you check what is missing by adding a print?
local popen=io.popen if popen then function print(...) io.popen (...) flush() return popen (...) end end ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
It prints: uname -m rb Jairo El jue, 24 de jun. de 2021 a la(s) 16:14, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 6/24/2021 11:02 PM, Jairo A. del Rio wrote:
When I try to install ConTeXt with install.sh (Linux 64 bit), the following happens:
lua error : function call: /home/coragyps/lmtx/bin/mtxrun.lua:299: bad argument #2 to 'popen' (invalid mode) cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-linux-64/bin/mtxrun': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtxrun.lua': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre
'/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtx-install.lua':
No existe el archivo o el directorio
Messages in Spanish say the directory or file doesn't exist. Am I missing something? Thanks in advance can you check what is missing by adding a print?
local popen=io.popen if popen then function print(...) io.popen (...) flush() return popen (...) end end
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 6/24/2021 11:20 PM, Jairo A. del Rio wrote:
It prints:
uname -m rb hm, that is a real last resort attempt to determine what system it is running on (we try to avoid such calls)
-- on linux if HOSTNAME is not known (did that change?) -- on sunos always (does anyone know an env var?) -- on freebsd always (does anyone know an env var?) (the 'rb' looks suspicious ... i'll check that) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
El jue, 24 de jun. de 2021 a la(s) 16:30, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 6/24/2021 11:20 PM, Jairo A. del Rio wrote:
It prints:
uname -m rb hm, that is a real last resort attempt to determine what system it is running on (we try to avoid such calls)
-- on linux if HOSTNAME is not known (did that change?) -- on sunos always (does anyone know an env var?) -- on freebsd always (does anyone know an env var?)
Tbh I don't know. I'm on Ubuntu 20.04 and I haven't made any important changes on the OS. In case it helps, only the latest LMTX produces this error.
(the 'rb' looks suspicious ... i'll check that)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Jairo
On Thu, 24 Jun 2021 23:30:00 +0200
Hans Hagen
-- on freebsd always (does anyone know an env var?)
On FreeBSD, there is `uname -m` but also `hostname`. I find the environment variable $HOST to be set, but I am not sure that this is done by default (for standard installations). Alan
Rather than missing something, it seems that "rb" confuses uname here, as it prints: uname: operando extra «rb» Pruebe 'uname --help' para más información. Using only uname -m I get: x86_64 Am I right? Jairo El jue, 24 de jun. de 2021 a la(s) 16:14, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 6/24/2021 11:02 PM, Jairo A. del Rio wrote:
When I try to install ConTeXt with install.sh (Linux 64 bit), the following happens:
lua error : function call: /home/coragyps/lmtx/bin/mtxrun.lua:299: bad argument #2 to 'popen' (invalid mode) cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-linux-64/bin/mtxrun': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre '/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtxrun.lua': No existe el archivo o el directorio cp: no se puede efectuar `stat' sobre
'/home/coragyps/lmtx/tex/texmf-context/scripts/context/lua/mtx-install.lua':
No existe el archivo o el directorio
Messages in Spanish say the directory or file doesn't exist. Am I missing something? Thanks in advance can you check what is missing by adding a print?
local popen=io.popen if popen then function print(...) io.popen (...) flush() return popen (...) end end
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Alan Braslau
-
Hans Hagen
-
Jairo A. del Rio