ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
@ 2022-10-09  7:23 Tommaso Gordini via ntg-context
  2022-10-10  6:32 ` Max Chernoff via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tommaso Gordini via ntg-context @ 2022-10-09  7:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Tommaso Gordini


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

Hello list,

I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and
Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder
(where I install Standalone) on the disk weighs only 7MB (the tex tree is
created, but its folders are empty).
I've never had a problem installing it on my old computer (Intel processor).

Do you know if it is a known problem?

These are the commands I used (taken from the wiki):

rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context
= latest --engine = luatex

Where am I wrong?

LMTX installation, on the other hand, should be successful (the folder
weighs 297.8 MB, as much as the Standalone one should weigh).

Thanks in advance.
Tommaso

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

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

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

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

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

* Re: ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
  2022-10-09  7:23 ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip Tommaso Gordini via ntg-context
@ 2022-10-10  6:32 ` Max Chernoff via ntg-context
  2022-10-10  6:48 ` Mojca Miklavec via ntg-context
  2022-10-10 13:04 ` Tommaso Gordini via ntg-context
  2 siblings, 0 replies; 7+ messages in thread
From: Max Chernoff via ntg-context @ 2022-10-10  6:32 UTC (permalink / raw)
  To: ntg-context; +Cc: Max Chernoff


Hi Tommaso,

> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and
> Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder
> (where I install Standalone) on the disk weighs only 7MB (the tex tree is
> created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel processor).
> 
> Do you know if it is a known problem?
> 
> These are the commands I used (taken from the wiki):
> 
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --modules = all --fonts = all --goodies = all --context
> = latest --engine = luatex
> 
> Where am I wrong?

I think that MkIV has been frozen since before macOS ARM was released,
so I wouldn't be surprised if an ARM version just doesn't exist.

I've never used macOS, but if this worked on your Intel Mac, then you
can try running the installer via Rosetta instead of running it
directly. TeX is so fast that the Rosetta emulation will have fairly
little overhead.


> LMTX installation, on the other hand, should be successful (the folder
> weighs 297.8 MB, as much as the Standalone one should weigh).

You can still use MkIV with the LMTX installation. Just run 

   context --luatex document.tex
   
instead of the usual

   context document.tex
   
TeX Live also supports macOS ARM and includes MkIV if you want another
installation option.

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

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

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

* Re: ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
  2022-10-09  7:23 ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip Tommaso Gordini via ntg-context
  2022-10-10  6:32 ` Max Chernoff via ntg-context
@ 2022-10-10  6:48 ` Mojca Miklavec via ntg-context
  2022-10-10  8:01   ` Mojca Miklavec via ntg-context
  2022-10-10 13:13   ` Tommaso Gordini via ntg-context
  2022-10-10 13:04 ` Tommaso Gordini via ntg-context
  2 siblings, 2 replies; 7+ messages in thread
From: Mojca Miklavec via ntg-context @ 2022-10-10  6:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
>
> Hello list,
>
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder (where I install Standalone) on the disk weighs only 7MB (the tex tree is created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel processor).
>
> Do you know if it is a known problem?

It should work, at least in theory. I'll check later today on our M1 machine.
If that doesn't work, it should be some trivial problem (that should
be straightforward to fix).
If that works, it could be that "uname" reports something different
than "arm64" on M2. That should hopefully be easy to fix as well.

What does "uname -m" (and "uname -a") report on your mac?

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

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

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

* Re: ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
  2022-10-10  6:48 ` Mojca Miklavec via ntg-context
@ 2022-10-10  8:01   ` Mojca Miklavec via ntg-context
  2022-10-10 13:13   ` Tommaso Gordini via ntg-context
  1 sibling, 0 replies; 7+ messages in thread
From: Mojca Miklavec via ntg-context @ 2022-10-10  8:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On Mon, 10 Oct 2022 at 08:48, Mojca Miklavec wrote:
> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder (where I install Standalone) on the disk weighs only 7MB (the tex tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1 machine.

It looks like mtx-update.lua doesn't properly recognise the platform.
This is something that Hans needs to fix inside the context sources.
(I'll try to patch it later, maybe I have some success.)

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

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

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

* Re: ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
  2022-10-09  7:23 ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip Tommaso Gordini via ntg-context
  2022-10-10  6:32 ` Max Chernoff via ntg-context
  2022-10-10  6:48 ` Mojca Miklavec via ntg-context
@ 2022-10-10 13:04 ` Tommaso Gordini via ntg-context
  2022-10-10 16:53   ` Hans Hagen via ntg-context
  2 siblings, 1 reply; 7+ messages in thread
From: Tommaso Gordini via ntg-context @ 2022-10-10 13:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Tommaso Gordini


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

While waiting for Mojca's attempts, for the moment I solved it by simply
copying the folder of the old Mac in which I had installed the Standalone
to the Mac M2.
I have slightly modified the TeXShop scripts and everything works.

The log tells me:

This is LuaTeX, Version 1.13.0 (TeX Live 2021)

Compiling with LMTX, i read:

ConTeXt  ver:  2022.09.11 20:44 LMTX

And compiling with MkIV (of the TeX Live 2022):

This is LuaTeX, Version 1.15.0 (TeX live 2022)

Tommaso

Il giorno dom 9 ott 2022 alle ore 09:23 Tommaso Gordini <
illinguista1972@gmail.com> ha scritto:

> Hello list,
>
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> I've never had a problem installing it on my old computer (Intel
> processor).
>
> Do you know if it is a known problem?
>
> These are the commands I used (taken from the wiki):
>
> rsync -av rsync: //contextgarden.net/minimals/setup/first-setup.sh .
> sh ./first-setup.sh --modules = all --fonts = all --goodies = all
> --context = latest --engine = luatex
>
> Where am I wrong?
>
> LMTX installation, on the other hand, should be successful (the folder
> weighs 297.8 MB, as much as the Standalone one should weigh).
>
> Thanks in advance.
> Tommaso
>

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

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

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

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

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

* Re: ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
  2022-10-10  6:48 ` Mojca Miklavec via ntg-context
  2022-10-10  8:01   ` Mojca Miklavec via ntg-context
@ 2022-10-10 13:13   ` Tommaso Gordini via ntg-context
  1 sibling, 0 replies; 7+ messages in thread
From: Tommaso Gordini via ntg-context @ 2022-10-10 13:13 UTC (permalink / raw)
  To: Mojca Miklavec; +Cc: Tommaso Gordini, mailing list for ConTeXt users


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

Hello Mojca:

uname -a

Darwin MacBook-Air-di-Tommaso.local 21.6.0 Darwin Kernel Version 21.6.0:
Mon Aug 22 20:20:07 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T8110
arm64


uname-m

arm64

Tommaso



Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec <
mojca.miklavec.lists@gmail.com> ha scritto:

> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > Hello list,
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel
> processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1
> machine.
> If that doesn't work, it should be some trivial problem (that should
> be straightforward to fix).
> If that works, it could be that "uname" reports something different
> than "arm64" on M2. That should hopefully be easy to fix as well.
>
> What does "uname -m" (and "uname -a") report on your mac?
>
> Mojca
>

Il giorno lun 10 ott 2022 alle ore 08:49 Mojca Miklavec <
mojca.miklavec.lists@gmail.com> ha scritto:

> On Sun, 9 Oct 2022 at 09:24, Tommaso Gordini via ntg-context wrote:
> >
> > Hello list,
> >
> > I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey
> and Apple M2 chip) but at the end of the installation the ConTeXt-MkIV
> folder (where I install Standalone) on the disk weighs only 7MB (the tex
> tree is created, but its folders are empty).
> > I've never had a problem installing it on my old computer (Intel
> processor).
> >
> > Do you know if it is a known problem?
>
> It should work, at least in theory. I'll check later today on our M1
> machine.
> If that doesn't work, it should be some trivial problem (that should
> be straightforward to fix).
> If that works, it could be that "uname" reports something different
> than "arm64" on M2. That should hopefully be easy to fix as well.
>
> What does "uname -m" (and "uname -a") report on your mac?
>
> Mojca
>

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

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

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

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

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

* Re: ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip
  2022-10-10 13:04 ` Tommaso Gordini via ntg-context
@ 2022-10-10 16:53   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen via ntg-context @ 2022-10-10 16:53 UTC (permalink / raw)
  To: Tommaso Gordini via ntg-context; +Cc: Hans Hagen

On 10/10/2022 3:04 PM, Tommaso Gordini via ntg-context wrote:
> While waiting for Mojca's attempts, for the moment I solved it by simply 
> copying the folder of the old Mac in which I had installed the 
> Standalone to the Mac M2.
> I have slightly modified the TeXShop scripts and everything works.
> 
> The log tells me:
> 
> This is LuaTeX, Version 1.13.0 (TeX Live 2021)
> 
> Compiling with LMTX, i read:
> 
> ConTeXt  ver:  2022.09.11 20:44 LMTX
> 
> And compiling with MkIV (of the TeX Live 2022):
> 
> This is LuaTeX, Version 1.15.0 (TeX live 2022)

in a setup where lmtx is leading mtxrun/context will use luametatex as 
runner and that one should recognize os/platform better

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-10-10 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-09  7:23 ConTeXt Standalone does not works on macOS Monterey with Apple M2 chip Tommaso Gordini via ntg-context
2022-10-10  6:32 ` Max Chernoff via ntg-context
2022-10-10  6:48 ` Mojca Miklavec via ntg-context
2022-10-10  8:01   ` Mojca Miklavec via ntg-context
2022-10-10 13:13   ` Tommaso Gordini via ntg-context
2022-10-10 13:04 ` Tommaso Gordini via ntg-context
2022-10-10 16:53   ` Hans Hagen via ntg-context

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