[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen

On 6/24/2024 10:02 AM, Henning Hraban Ramm wrote:

Am 24.06.24 um 09:31 schrieb Hans Hagen via ntg-context:

Does it work without --luatex, i.e. does it work for LMTX but not MkIV?

mtxrun --generate --luatex works for me (on OSX), but context --make 
--luatex doesn’t since forever.

Do you have a bin then? And ran mtxrun --generate --luatex ?


Sorry, I didn’t want to hijack the thread.

Good hint – of course I don’t have a luatex binary besides that from TeX 
live 2023 that doesn’t work with latest LMTX/MkIV.
hm, normally it should because nothign gets added to luatex but maybe 
one of these 'change default behaviour startup due to whataver security 
policy' interferes (not much we can do about that apart from trying to 
be in sync)


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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Bryan Kaplan via ntg-context
I figured it out! It was my own fault.

Here's what happened. My $PATH already had “/opt” in it, for other binaries. I 
added the path to the `context` binary (which is a path inside /opt/context) to 
the end of $PATH. So invoking `context` created confusion because the first 
found item matching “context” in the $PATH is a directory. I don't entirely 
understand why that produced this particular result, but it's a very easy 
problem to fix.

Thank you all so much for helping me out. I wouldn't have arrived at this 
understanding without your convincing me that the problem's specific to my own 
machine.

What a relief that I can focus on actually using ConTeXt now.

Thank you again.

Sincerely,
Bryan Kaplan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Henning Hraban Ramm

Am 24.06.24 um 09:31 schrieb Hans Hagen via ntg-context:

Does it work without --luatex, i.e. does it work for LMTX but not MkIV?

mtxrun --generate --luatex works for me (on OSX), but context --make 
--luatex doesn’t since forever.

Do you have a bin then? And ran mtxrun --generate --luatex ?


Sorry, I didn’t want to hijack the thread.

Good hint – of course I don’t have a luatex binary besides that from TeX 
live 2023 that doesn’t work with latest LMTX/MkIV.


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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Bryan Kaplan via ntg-context
On 2024-06-24 at 01:31:46-06:00, Hans Hagen via ntg-context set forth:
> Do you have a bin then? And ran mtxrun --generate --luatex ?
> Hans

Yes, at least I ran that command just now and it apparently succeeded.

I just discovered something relevant and useful. Check this out:

$ context /tmp/test.tex
startup error : no format file given, quitting
$ which context
/opt/context/tex/texmf-linuxmusl-64/bin/context
$ /opt/context/tex/texmf-linuxmusl-64/bin/context /tmp/test.tex
resolvers   | formats | executing runner 'run luametatex format': [snip]

So it's some kind of invocation bug. I'm revealed to know I can use ConTeXt 
now, but I wonder if there's a way to fix this.

Sincerely,
Bryan Kaplan




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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context

On 6/24/2024 4:05 AM, Bryan Kaplan via ntg-context wrote:

On 2024-06-23 at 05:25:32-06:00, Hans Hagen via ntg-context set forth:

i just tested again an install (using the latest musl installer) on an
alpine WSL instance and it works ok; i can also process a tex file (when
i set the path right as reported by the installer)
\starttext test \stoptext :

mkiv lua stats  > used platform: linuxmusl-64, type: unix, binary
subtree: texmf-linuxmusl-64
mkiv lua stats  > used engine: luametatex version: 2.11.04,
functionality level: 2024014, format id: 703, compiler: gcc
mkiv lua stats  > tex properties: 807106 hash slots used of 2097152,
52050 control sequences, approximate memory usage: 49 MB
mkiv lua stats  > lua properties: engine: lua 5.5, used memory: 57 MB,
ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.488 seconds, 1 processed pages, 1 shipped
pages, 2.050 pages/second


I tried installing from scratch, and again I now face the exact same 
failure. I read the install log output a little closer, and noticed this:

forget about the --luatex flag, that's not for luametatex

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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context

On 6/24/2024 7:20 AM, Henning Hraban Ramm wrote:

Am 24.06.24 um 04:05 schrieb Bryan Kaplan via ntg-context:
mtx-install | running: 
/opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate
mtx-context | redirect luametatex -> luatex: luatex --luaonly 
--socket "/opt/context/tex/texmf-linuxmusl-64/bin/mtxrun.lua" 
--generate --redirected

sh: luatex: not found


I wonder if your test environment is really equivalent to a fresh 
Alpine install, or if there might be any previously installations that 
are allowing it to appear to succeed. Does it work if you try inside 
Docker?


I'm not sure what else I can try. Where's that `luatex` call supposed 
to be found?


Does it work without --luatex, i.e. does it work for LMTX but not MkIV?

mtxrun --generate --luatex works for me (on OSX), but context --make 
--luatex doesn’t since forever.

Do you have a bin then? And ran mtxrun --generate --luatex ?

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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context

On 6/24/2024 7:29 AM, Bryan Kaplan via ntg-context wrote:

On 2024-06-23 at 23:20:19-06:00, Henning Hraban Ramm set forth:

Does it work without --luatex, i.e. does it work for LMTX but not MkIV?

mtxrun --generate --luatex works for me (on OSX), but context --make
--luatex doesn’t since forever.

Hraban


Yes, that command which is run by install.sh — 
`/opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate` — 
does indeed succeed when the `--luatex` flag is removed. (I have to 
wonder why install.sh attempts to run an unsupported command.)


because luatex can be in the installation for platforms where i can fetch it

But still, after running `context --generate`, I still get “startup 
error : no format file given, quitting” when running `context 
/tmp/test.tex`. And manually specifying that format file from the 
installed luametatex-cache still produces “startup error : missing 
find_format_file callback”.
i have no clue ... maybe another alpine or musl user knows, i can only 
test it on WSL now


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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Bryan Kaplan via ntg-context
On 2024-06-23 at 23:20:19-06:00, Henning Hraban Ramm set forth:
> Does it work without --luatex, i.e. does it work for LMTX but not MkIV?
> 
> mtxrun --generate --luatex works for me (on OSX), but context --make 
> --luatex doesn’t since forever.
> 
> Hraban

Yes, that command which is run by install.sh — 
`/opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate` — does 
indeed succeed when the `--luatex` flag is removed. (I have to wonder why 
install.sh attempts to run an unsupported command.)

But still, after running `context --generate`, I still get “startup error : no 
format file given, quitting” when running `context /tmp/test.tex`. And manually 
specifying that format file from the installed luametatex-cache still produces 
“startup error : missing find_format_file callback”.

Sincerely,
Bryan Kaplan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Henning Hraban Ramm

Am 24.06.24 um 04:05 schrieb Bryan Kaplan via ntg-context:
mtx-install | running: 
/opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate
mtx-context | redirect luametatex -> luatex: luatex --luaonly 
--socket "/opt/context/tex/texmf-linuxmusl-64/bin/mtxrun.lua" 
--generate --redirected

sh: luatex: not found


I wonder if your test environment is really equivalent to a fresh Alpine 
install, or if there might be any previously installations that are 
allowing it to appear to succeed. Does it work if you try inside Docker?


I'm not sure what else I can try. Where's that `luatex` call supposed to 
be found?


Does it work without --luatex, i.e. does it work for LMTX but not MkIV?

mtxrun --generate --luatex works for me (on OSX), but context --make 
--luatex doesn’t since forever.


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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Bryan Kaplan via ntg-context
On 2024-06-23 at 05:25:32-06:00, Hans Hagen via ntg-context set forth:
> i just tested again an install (using the latest musl installer) on an 
> alpine WSL instance and it works ok; i can also process a tex file (when 
> i set the path right as reported by the installer)
> \starttext test \stoptext :
> 
> mkiv lua stats  > used platform: linuxmusl-64, type: unix, binary 
> subtree: texmf-linuxmusl-64
> mkiv lua stats  > used engine: luametatex version: 2.11.04, 
> functionality level: 2024014, format id: 703, compiler: gcc
> mkiv lua stats  > tex properties: 807106 hash slots used of 2097152, 
> 52050 control sequences, approximate memory usage: 49 MB
> mkiv lua stats  > lua properties: engine: lua 5.5, used memory: 57 MB, 
> ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ)
> mkiv lua stats  > runtime: 0.488 seconds, 1 processed pages, 1 shipped 
> pages, 2.050 pages/second

I tried installing from scratch, and again I now face the exact same failure. I 
read the install log output a little closer, and noticed this:

> mtx-install | running: /opt/context/tex/texmf-linuxmusl-64/bin/context 
> --luatex --generate
> mtx-context | redirect luametatex -> luatex: luatex --luaonly --socket 
> "/opt/context/tex/texmf-linuxmusl-64/bin/mtxrun.lua" --generate --redirected
> sh: luatex: not found

I wonder if your test environment is really equivalent to a fresh Alpine 
install, or if there might be any previously installations that are allowing it 
to appear to succeed. Does it work if you try inside Docker?

I'm not sure what else I can try. Where's that `luatex` call supposed to be 
found?

Sincerely,
Bryan Kaplan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Hans Hagen via ntg-context

On 6/22/2024 6:14 PM, Bryan Kaplan via ntg-context wrote:

On 2024-06-22 at 04:51:48-06:00, Bruce Horrocks set forth:
Not sure if this helps but a while back I was able to produce a Docker 
build of Context based on Alpine.


The instructions and Docker file are here:
>


Thank you, Bruce. I appreciate your help, but I'm not sure it applies — 
please correct me if I'm mistaken. I'm running Alpine on bare metal, and 
the musl `luametatex` binary seems operable. The problem seems, as far 
as I can tell, that the installation failed to establish whatever 
settings provide defaults, which is why (for example) it has no format 
file by default. I could certainly be wrong, as this is very new to me.
i just tested again an install (using the latest musl installer) on an 
alpine WSL instance and it works ok; i can also process a tex file (when 
i set the path right as reported by the installer)


\starttext test \stoptext :

mkiv lua stats  > used platform: linuxmusl-64, type: unix, binary 
subtree: texmf-linuxmusl-64
mkiv lua stats  > used engine: luametatex version: 2.11.04, 
functionality level: 2024014, format id: 703, compiler: gcc
mkiv lua stats  > tex properties: 807106 hash slots used of 2097152, 
52050 control sequences, approximate memory usage: 49 MB
mkiv lua stats  > lua properties: engine: lua 5.5, used memory: 57 MB, 
ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.488 seconds, 1 processed pages, 1 shipped 
pages, 2.050 pages/second



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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-22 Thread Bruce Horrocks


> On 22 Jun 2024, at 17:14, Bryan Kaplan via ntg-context  
> wrote:
> 
> On 2024-06-22 at 04:51:48-06:00, Bruce Horrocks set forth:
>> Not sure if this helps but a while back I was able to produce a Docker build 
>> of Context based on Alpine.
>> 
>> The instructions and Docker file are here:
>> 
> 
> Thank you, Bruce. I appreciate your help, but I'm not sure it applies — 
> please correct me if I'm mistaken. I'm running Alpine on bare metal, and the 
> musl `luametatex` binary seems operable. The problem seems, as far as I can 
> tell, that the installation failed to establish whatever settings provide 
> defaults, which is why (for example) it has no format file by default. I 
> could certainly be wrong, as this is very new to me.
> 
> Sincerely,
> Bryan Kaplan

Sorry, I mis-remembered: at that time there was no MUSL version of Context so 
it was a way of getting gibc installed and using the regular Linux version.

—
Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-22 Thread Bryan Kaplan via ntg-context
On 2024-06-22 at 04:51:48-06:00, Bruce Horrocks set forth:
> Not sure if this helps but a while back I was able to produce a Docker build 
> of Context based on Alpine.
> 
> The instructions and Docker file are here:
> 

Thank you, Bruce. I appreciate your help, but I'm not sure it applies — please 
correct me if I'm mistaken. I'm running Alpine on bare metal, and the musl 
`luametatex` binary seems operable. The problem seems, as far as I can tell, 
that the installation failed to establish whatever settings provide defaults, 
which is why (for example) it has no format file by default. I could certainly 
be wrong, as this is very new to me.

Sincerely,
Bryan Kaplan

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-22 Thread Bruce Horrocks

> On 22 Jun 2024, at 00:46, Bryan Kaplan via ntg-context  
> wrote:
> 
> So I'm no longer convinced installation fully succeeded.



Hi Bryan,

Not sure if this helps but a while back I was able to produce a Docker build of 
Context based on Alpine.

The instructions and Docker file are here:


Regards,
—
Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Bryan Kaplan via ntg-context
I tried manually specifying this format file, but then get this error:

```
$ context 
--fmt=/opt/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt
 /tmp/test.tex
startup error : missing find_format_file callback
```

So I'm no longer convinced installation fully succeeded.

Sincerely,
Bryan Kaplan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Bryan Kaplan via ntg-context
On 2024-06-21 at 16:38:10-06:00, Bryan Kaplan via ntg-context set forth:
> But attempting that first command gives me, “startup error : no format file 
> given, quitting”. My web search isn't helping. Do I need to specify some 
> format file, and if so which?

To elaborate, I get the same error when attempting the test suggested in the 
installation instructions.

```
$ context /tmp/test.tex
startup error : no format file given, quitting
```

Sincerely,
Bryan Kaplan

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Bryan Kaplan via ntg-context
On 2024-06-21 at 16:06:35-06:00, Bryan Kaplan via ntg-context set forth:
> On 2024-06-21 at 15:51:44-06:00, Hans Hagen set forth:
>> can you try again, use a new installer zip
>> (i need to remember to generate musl bins myself pending build bot fix)
> 
> Thank you so much, Hans. My initial impression is: that worked!
> 
> Don't forget to generate the musl bins yourself, pending the build bot fix.

…maybe, that is. The installer finished up by informing me:

> If you also want to run LuaTeX and MkIV you can provide --luatex but first 
> the file
> database has to be generated (this time with context and not mtxrun):
> 
>   context --luatex --generate
>   context --luatex --make

But attempting that first command gives me, “startup error : no format file 
given, quitting”. My web search isn't helping. Do I need to specify some format 
file, and if so which?

Sincerely,
Bryan Kaplan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Bryan Kaplan via ntg-context
On 2024-06-21 at 15:51:44-06:00, Hans Hagen set forth:
> can you try again, use a new installer zip
> (i need to remember to generate musl bins myself pending build bot fix)

Thank you so much, Hans. My initial impression is: that worked!

Don't forget to generate the musl bins yourself, pending the build bot fix.

Sincerely,
Bryan Kaplan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context

On 6/21/2024 8:19 PM, Bryan Kaplan wrote:

On 2024-06-21 at 01:15:35-06:00, Hans Hagen via ntg-context set forth:

permissions?


For Attempt #1, the “not found” mtxrun has 0755 permissions. I think the 
error is some odd side-effect of trying to run a glibc binary on a musl 
system.


But I realized that I was confused by the installation instructions in 
Attempt #1. The instructions should say, “2. `wget [URL]`” to indicate 
to the installing user that “[URL]” must be manually specified. Instead 
the instructions currently provide a URL which happens to be wrong for 
my system, thus leading to the above problem. I should have read more 
closely, to see that it says the URL is supposed to be replaced.


However, correcting for that oversight leads me to Attempt #2, which 
still fails as described in my first email.


Has anyone successfully installed ConTeXt on Alpine?

can you try again, use a new installer zip

(i need to remember to generate musl bins myself pending build bot fix)

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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context

On 6/21/2024 8:19 PM, Bryan Kaplan wrote:

On 2024-06-21 at 01:15:35-06:00, Hans Hagen via ntg-context set forth:

permissions?


For Attempt #1, the “not found” mtxrun has 0755 permissions. I think the 
error is some odd side-effect of trying to run a glibc binary on a musl 
system.


But I realized that I was confused by the installation instructions in 
Attempt #1. The instructions should say, “2. `wget [URL]`” to indicate 
to the installing user that “[URL]” must be manually specified. Instead 
the instructions currently provide a URL which happens to be wrong for 
my system, thus leading to the above problem. I should have read more 
closely, to see that it says the URL is supposed to be replaced.


However, correcting for that oversight leads me to Attempt #2, which 
still fails as described in my first email.


Has anyone successfully installed ConTeXt on Alpine?

i installed an alpine on WSL to see what happens

- it looks like some 32/64 bit mixup ... this is a side effect of the 
fact that it take a bit of effort to see if we need musl


- the buildbot doesn't generate the binaries (i can't login to the 
machine to check if the client is running at all)


i'll see what i can do (will give some upload noise on the list)

btw, i can compile luametatex on WSL alpine so i can use that binary

you can do that as exercise:

- apk add build-base
- apk add cmake
- go to tex/texmf-context/source/luametatex
- chmod 755 build.sh
- ./build.sh
- copy bin from build/native

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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Bryan Kaplan via ntg-context
On 2024-06-21 at 01:15:35-06:00, Hans Hagen via ntg-context set forth:
> permissions?

For Attempt #1, the “not found” mtxrun has 0755 permissions. I think the error 
is some odd side-effect of trying to run a glibc binary on a musl system.

But I realized that I was confused by the installation instructions in Attempt 
#1. The instructions should say, “2. `wget [URL]`” to indicate to the 
installing user that “[URL]” must be manually specified. Instead the 
instructions currently provide a URL which happens to be wrong for my system, 
thus leading to the above problem. I should have read more closely, to see that 
it says the URL is supposed to be replaced.

However, correcting for that oversight leads me to Attempt #2, which still 
fails as described in my first email.

Has anyone successfully installed ConTeXt on Alpine?

Sincerely,
Bryan Kaplan



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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context

On 6/21/2024 4:39 AM, Bryan Kaplan via ntg-context wrote:

Hi all,

I'm a *TeX novice trying and failing to install ConTeXt on Alpine Linux.

*Attempt #1*: Following https://wiki.contextgarden.net/Installation 



  * Error:
  o install.sh: line 109: /opt/context/bin/mtxrun: not found
  * That file does exist, but attempting to execute it fails with that
error.
  * Full (2>&1) output: https://paste.rs/R3PK9 


*Attempt #2*: Following http://www.pragma-ade.nl/install.htm 



  * Explicitly grabbed “64 bit Linux Musl”.
  * Errors:
  o invalid database
'http://lmtx.pragma-ade.com/install-lmtx//tex/texmf-linuxmusl.tma'
  o sh: /opt/context/tex/texmf-linuxmusl/bin/mtxrun: not found
  * That file actually does /not/ exist.
/opt/context/tex/texmf-linuxmusl is empty.
  * Full (2>&1) output: https://paste.rs/LjvkB 

Any suggestions on how I might proceed?

permissions?

-
  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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___