From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12
Date: Fri, 30 Apr 2021 18:53:06 -0000 (UTC) [thread overview]
Message-ID: <s6hjmi$ssl$1@ciao.gmane.io> (raw)
I'd like to run ConTeXt on Alpine Linux (ultimately, to run it on an
iPad with the iSH app). I am currently testing it with Docker. This is
what I have done:
docker pull econcz/x86-alpine-glibc:ish-import
docker run -it econcz/x86-alpine-glibc:ish-import /bin/sh
cp /etc/apk/repositories /tmp/repositories
cat /etc/os-release
ALPINE_VERSION=3.12 # Set accordingly to previous command
echo "http://nl.alpinelinux.org/alpine/v${ALPINE_VERSION}/main/" | tee /etc/apk/repositories
echo "http://nl.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" | tee -a /etc/apk/repositories
apk update
This installs and configures repos for Alpine Linux 3.12. Then,
I install TeX Live as follows:
apk add texlive-full texlive-xetex texlive-luatex texlive-dev
apk add ghostscript ghostscript-fonts ghostscript-dev
apk add graphicsmagick graphicsmagick-dev
Then, I run `mtxrun --generate`, which exits instantly with the output
reported below. However, that is apparently not enough. I still get:
$ context Hello-world.tex
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
$ context --version
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
$ mtxrun --version
mtxrun | ConTeXt TDS Runner Tool 1.32
mtxrun | source path
$ mtxrun --script context
mtxrun | unknown script 'context.lua' or 'mtx-context.lua'
$ luatools --generate
mtxrun | unknown script 'base.lua' or 'mtx-base.lua'
$ find / -name context.lua
/usr/share/texmf-dist/scripts/context/lua/context.lua
$ find / -name mtx-context.lua
/usr/share/texmf-dist/scripts/context/lua/mtx-context.lua
$ find / -name base.lua
[Nothing found]
$ find / -name mtx-base.lua
/usr/share/texmf-dist/scripts/context/lua/mtx-base.lua
Anyone running ConTeXt on Alpine? Any idea what is wrong?
Nicola
>mtxrun --generate
resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin'
resolvers | resolving | variable 'SELFAUTODIR' set to '/usr'
resolvers | resolving | variable 'SELFAUTOPARENT' set to '.'
resolvers | resolving | variable 'TEXMFCNF' set to ''
resolvers | resolving | variable 'TEXMF' set to ''
resolvers | resolving | variable 'TEXOS' set to 'usr'
resolvers | resolving |
resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf-dist/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf-dist/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf-dist/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf-dist/web2c,selfautodir:/texmf/web2c,$SELFAUTOGRANDPARENT/texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf-dist/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf-dist/web2c,selfautoparent:/texmf/web2c}'
resolvers | resolving |
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/root/texmf/web2c' from specification 'home:texmf/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/usr/bin' from specification 'selfautoloc:'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/usr' from specification 'selfautodir:'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c'
resolvers | resolving | found regular configuration file '/usr/share/texmf-dist/web2c/texmfcnf.lua'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautodir:/texmf/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification '$SELFAUTOGRANDPARENT/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '.' from specification 'selfautoparent:'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './share/texmf-dist/web2c' from specification 'selfautoparent:/share/texmf-dist/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './share/texmf/web2c' from specification 'selfautoparent:/share/texmf/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers | resolving |
resolvers | resolving | loading configuration file 'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua'
resolvers | resolving |
resolvers | resolving | locating list of 'home:.texlive2020/texmf-config' (runtime) (tree:///home:.texlive2020/texmf-config)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:.texlive2020/texmf-config'
resolvers | trees | locator 'home:.texlive2020/texmf-config' not found
resolvers | resolving | locating list of 'home:texmf' (runtime) (tree:///home:texmf)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:texmf'
resolvers | trees | locator 'home:texmf' not found
resolvers | resolving | locating list of 'selfautoparent:texmf-config' (cached)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-config'
resolvers | files | file locator 'selfautoparent:texmf-config' not found
resolvers | resolving | locating list of 'selfautoparent:texmf-var' (cached)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-var'
resolvers | files | file locator 'selfautoparent:texmf-var' not found
resolvers | resolving | locating list of 'selfautoparent:texmf-project' (cached)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-project'
resolvers | files | file locator 'selfautoparent:texmf-project' not found
resolvers | resolving | locating list of 'selfautoparent:texmf-fonts' (cached)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-fonts'
resolvers | files | file locator 'selfautoparent:texmf-fonts' not found
resolvers | resolving | locating list of '.' (cached)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument '.'
resolvers | files | file locator '.' found as '.'
resolvers | resolving | hash '.' appended
resolvers | resolving | locating list of 'selfautoparent:texmf-dist' (cached)
resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-dist'
resolvers | files | file locator 'selfautoparent:texmf-dist' not found
resolvers | resolving |
resolvers | methods | resolving, method 'generators', how 'uri', handler 'file', argument '.'
resolvers | expansions | scanning path '.', branch '.'
resolvers | expansions | 305 files found on 22 directories with 39 uppercase remappings
resolvers | resolving |
resolvers | resolving | saving tree '.'
resolvers | caches | hashing tree '.', hash '5058f1af8388633f609cadb75a75dc9d'
resolvers | caches | hashing tree 'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua', hash '0399a8df3aef8d154781d0a9c2b8e28d'
resolvers | caching | preparing 'files' for '.'
resolvers | caching | category 'files', cachename '.' saved in '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.lua'
system | lua | compiling '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.lua' into '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.luc'
system | lua | dumping '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.lua' into '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.luc' stripped
resolvers | caching | 'files' compiled to '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.luc'
mtxrun |
mtxrun | elapsed lua time: 0.056 seconds
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2021-04-30 18:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 18:53 Nicola [this message]
2021-05-01 9:56 ` Bruce Horrocks
2021-05-01 20:35 ` Nicola
2021-05-02 17:52 ` Bruce Horrocks
2021-05-03 8:29 ` Nicola
2021-05-03 11:44 ` Hans Hagen
2021-05-06 19:22 ` Bruce Horrocks
2021-05-07 6:45 ` Nicola
2021-05-16 15:03 ` Nicola
2021-05-03 8:35 ` Nicola
2021-05-01 11:07 ` Mojca Miklavec
2021-05-01 20:41 ` Nicola
2021-05-01 11:08 ` Pablo Rodriguez
2021-05-01 20:32 ` Nicola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='s6hjmi$ssl$1@ciao.gmane.io' \
--to=nvitacolonna@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).