ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem of installation of ConTeXt LMTX
@ 2019-08-30 14:02 Atsuhito Kohda
  2019-08-30 14:27 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Atsuhito Kohda @ 2019-08-30 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1211 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1410 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem of installation of ConTeXt LMTX
  2019-08-30 14:02 Problem of installation of ConTeXt LMTX Atsuhito Kohda
@ 2019-08-30 14:27 ` Hans Hagen
  2019-08-30 22:20   ` Atsuhito Kohda
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2019-08-30 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Atsuhito Kohda

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem of installation of ConTeXt LMTX
  2019-08-30 14:27 ` Hans Hagen
@ 2019-08-30 22:20   ` Atsuhito Kohda
  2019-09-02  2:18     ` Atsuhito Kohda
  0 siblings, 1 reply; 5+ messages in thread
From: Atsuhito Kohda @ 2019-08-30 22:20 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1202 bytes --]

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 <j.hagen@xs4all.nl>:

> > 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 1919 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem of installation of ConTeXt LMTX
  2019-08-30 22:20   ` Atsuhito Kohda
@ 2019-09-02  2:18     ` Atsuhito Kohda
       [not found]       ` <9a43e9bc-01eb-a136-6455-85d0749dea4e@xs4all.nl>
  0 siblings, 1 reply; 5+ messages in thread
From: Atsuhito Kohda @ 2019-09-02  2:18 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1897 bytes --]

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
>> -----------------------------------------------------------------
>>
>

[-- Attachment #1.2: Type: text/html, Size: 3109 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem of installation of ConTeXt LMTX
       [not found]       ` <9a43e9bc-01eb-a136-6455-85d0749dea4e@xs4all.nl>
@ 2019-09-23 11:57         ` Atsuhito Kohda
  0 siblings, 0 replies; 5+ messages in thread
From: Atsuhito Kohda @ 2019-09-23 11:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]

Dear Hans and all,

I tried to check Linux 32 bits and accessed
http://www.pragma-ade.nl/install.htm
and click "Linux 32 bits" yesterday and today but it failed as follows:
-------
Not Found

The requested URL /install-lmtx/context-linux-32.zip was not found on this
server.
------
Is there any problem?

Thanks for your maintenance.
Best regards,
Atsuhito Kohda

2019年9月2日(月) 16:38 Hans Hagen <j.hagen@xs4all.nl>:

> ...
> i see, so i need to fix that (no -32 for linux) ... i'll adapt it so
> next time you need to check
>


>
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 1671 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-23 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30 14:02 Problem of installation of ConTeXt LMTX Atsuhito Kohda
2019-08-30 14:27 ` Hans Hagen
2019-08-30 22:20   ` Atsuhito Kohda
2019-09-02  2:18     ` Atsuhito Kohda
     [not found]       ` <9a43e9bc-01eb-a136-6455-85d0749dea4e@xs4all.nl>
2019-09-23 11:57         ` Atsuhito Kohda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).