Problem of installation of ConTeXt LMTX
![](https://secure.gravatar.com/avatar/979fe3921b1d1f005c8156d1a955c28a.jpg?s=120&d=mm&r=g)
Hi all, I try to install ConTeXt LMTX on (32 bit) Debian stable. Downloading context-linux-32.zip, I unzip it in /data/context (following the instruction of installation.pdf). Then I do ./install.sh but it seems the installation failed. The messages are as follows: mtx-install | invalid database ' http://lmtx.pragma-ade.com/install-lmtx//tex/texmf-linux.tma' mtx-install | current : %S ... mtx-install | running: /data/context/tex/texmf-linux/bin/mtxrun --generate sh: 1: /data/context/tex/texmf-linux/bin/mtxrun: not found mtx-install | running: /data/context/tex/texmf-linux/bin/context --make en sh: 1: /data/context/tex/texmf-linux/bin/context: not found mtx-install | mtx-install | tex/texmf : 0 files with 0 bytes installed mtx-install | tex/texmf-context : 0 files with 0 bytes installed mtx-install | mtx-install | update, done cp: '/data/context/tex/texmf-linux/bin/mtxrun' を stat できません: そのようなファイルやディレクトリはありません (this japanese sentence means, there is no such file or directory.) What is wrong here? Thanks in advance. Atsuhito Kohda
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/30/2019 4:02 PM, Atsuhito Kohda wrote:
Hi all,
I try to install ConTeXt LMTX on (32 bit) Debian stable. Downloading context-linux-32.zip, I unzip it in /data/context (following the instruction of installation.pdf). Then I do ./install.sh but it seems the installation failed. The messages are as follows:
mtx-install | invalid database 'http://lmtx.pragma-ade.com/install-lmtx//tex/texmf-linux.tma' mtx-install | current : %S ... mtx-install | running: /data/context/tex/texmf-linux/bin/mtxrun --generate sh: 1: /data/context/tex/texmf-linux/bin/mtxrun: not found mtx-install | running: /data/context/tex/texmf-linux/bin/context --make en sh: 1: /data/context/tex/texmf-linux/bin/context: not found mtx-install | mtx-install | tex/texmf : 0 files with 0 bytes installed mtx-install | tex/texmf-context : 0 files with 0 bytes installed mtx-install | mtx-install | update, done
cp: '/data/context/tex/texmf-linux/bin/mtxrun' を stat できません: その ようなファイルやディレクトリはありません (this japanese sentence means, there is no such file or directory.)
What is wrong here? can you patch install.sh:
PLATFORM="linux" ;; to PLATFORM="linux-32" ;; and see if that works? (i have no 32 bit linux to test) 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/979fe3921b1d1f005c8156d1a955c28a.jpg?s=120&d=mm&r=g)
Dear Hans and all,
I patched install.sh but the installation failed in the
same way. The patch is the follwing.
--- install.sh~ 2019-08-25 05:56:07.000000000 +0900
+++ install.sh 2019-08-31 06:50:40.491584829 +0900
@@ -21,7 +21,7 @@
i*86)
case "$libc" in
glibc)
- PLATFORM="linux" ;;
+ PLATFORM="linux-32" ;;
musl)
PLATFORM="linuxmusl" ;;
esac ;;
Thanks for your time.
Best regards,
Atsuhito Kohda
2019年8月30日(金) 23:27 Hans Hagen
What is wrong here? can you patch install.sh:
PLATFORM="linux" ;;
to
PLATFORM="linux-32" ;;
and see if that works? (i have no 32 bit linux to test)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/979fe3921b1d1f005c8156d1a955c28a.jpg?s=120&d=mm&r=g)
Dear Hans and all, I guess that the reason of failure is mtx-install | invalid database ' http://lmtx.pragma-ade.com/install-lmtx//tex/texmf-linux.tma' and it seems texmf-linux-32.tma is correct name. So I modified bin/mtx-install.lua, mtxrun.lua as follows: --- mtx-install.lua.orig 2019-09-02 10:19:28.387977529 +0900 +++ mtx-install.lua 2019-09-02 08:47:18.572271109 +0900 @@ -79,9 +79,9 @@ ["windows-64"] = "win64", ["win64"] = "win64", -- - ["linux"] = "linux", - ["linux-32"] = "linux", - ["linux32"] = "linux", + ["linux"] = "linux-32", + ["linux-32"] = "linux-32", + ["linux32"] = "linux-32", -- ["linux-64"] = "linux-64", ["linux64"] = "linux-64", --- mtxrun.lua.orig 2019-09-02 10:11:25.463821836 +0900 +++ mtxrun.lua 2019-09-02 08:46:40.695396705 +0900 @@ -4047,7 +4047,7 @@ end else function resolvers.platform(t,k) - local platform="linux" + local platform="linux-32" os.setenv("MTX_PLATFORM",platform) os.platform=platform return platform (but it seems they are overwritten during installation so I copy them in /data/context then modify them as above and copy them in bin/ by install.sh at an appropriate time.) It looks installation goes fine with these modification. I don't understand the installation process so I know these are not correct fix but I hope this info helps to fix the problem correctly. Thanks for your effort. Best regards. Atsuhito Kohda
----------------------------------------------------------------- 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 (2)
-
Atsuhito Kohda
-
Hans Hagen