Sorry, I can’t help ATM.

But Hans’ latest upload includes 32bt Linux binaries again.

Hraban


-------- Weitergeleitete Nachricht --------
Betreff:        Re: [NTG-context] Re: Context lmtx for 32bit under LUBUNTU 18.04
Datum:  Wed, 14 Feb 2024 17:28:38 +0100
Von:    Alain Delmotte <alain.delmo...@leliseron.org>
An:     Henning Hraban Ramm <te...@fiee.net>



Dear Henning,

-------------------
Your instructions:
PWD=`pwd`
cd tex/texmf-context/source/luametatex
sh build.sh
cp build/native/luametatex "$PWD/tex/texmf-linux/bin/"
cd "$PWD"
-------------------
My actions:
I created a 'context' folder in my home/alain directory in which I extracted the contlm.zip file.


In context
I did in a console
     PWD='pwd'
then in context/source/luametatex
     sh build.sh

alain@alain:pwd$ sh build.sh
build.sh: 28: [: unexpected operator
build.sh: 37: [: unexpected operator
build.sh: 117: build.sh: cmake: not found
build.sh: 122: build.sh: cmake: not found

tex trees

so I commented lines:28-111 and 119 this seems instruction to take into account the different plateforms, I did leave the last instruction: lines 112-118
and installed cmake, which I didn't have.
then

alain@alain:~/context/source/luametatex$ sh build.sh
-- The C compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test limited_support
-- Performing Test limited_support - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alain/context/source/luametatex/build/native
Unknown argument --parallel
Unknown argument 8
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
   <dir>          = Project binary directory to be built.
   --target <tgt> = Build <tgt> instead of default targets.
                    May only be specified once.
   --config <cfg> = For multi-configuration tools, choose <cfg>.
   --clean-first  = Build target 'clean' first, then build.
                    (To clean only, use --target 'clean'.)
   --use-stderr   = Ignored.  Behavior is default in CMake >= 3.0.
   --             = Pass remaining options to the native tool.

tex trees

resources like public fonts  : tex/texmf/....
the context macro package    : tex/texmf-context/....
the luametatex binary        : tex/texmf-native/bin/...
optional third party modules : tex/texmf-context/....
fonts installed by the user  : tex/texmf-fonts/fonts/data/....
styles made by the user      : tex/texmf-projects/tex/context/user/....

binaries:

tex/texmf-<your platform>/bin/luametatex     : the compiled binary (some 2-3MB)
tex/texmf-<your platform>/bin/mtxrun         : copy of or link to luametatex
tex/texmf-<your platform>/bin/context        : copy of or link to luametatex
tex/texmf-<your platform>/bin/mtxrun.lua     : copy of tex/texmf-context/scripts/context/lua/mtxrun.lua tex/texmf-<your platform>/bin/context.lua    : copy of tex/texmf-context/scripts/context/lua/context.lua

commands:

mtxrun --generate                 : create file database
mtxrun --script fonts --reload    : create font database
mtxrun --autogenerate context ... : run tex file (e.g. from editor)

The binaries have not been created!

My cmake doesn't support --parallel (what is the use of parallèle?)
I erased everything and started again with canges made to build.sh
 >>> this is the instructions at lines 121-122
 >>> I commented the end of linee 122

alain@alain:~/context$ PWD='pwd'
alain@alain:pwd$ cd source/luametatex
alain@alain:~/context/source/luametatex$ sh build.sh
-- The C compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test limited_support
-- Performing Test limited_support - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alain/context/source/luametatex/build/native
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
   <dir>          = Project binary directory to be built.
   --target <tgt> = Build <tgt> instead of default targets.
                    May only be specified once.
   --config <cfg> = For multi-configuration tools, choose <cfg>.
   --clean-first  = Build target 'clean' first, then build.
                    (To clean only, use --target 'clean'.)
   --use-stderr   = Ignored.  Behavior is default in CMake >= 3.0.
   --             = Pass remaining options to the native tool.

tex trees

resources like public fonts  : tex/texmf/....
the context macro package    : tex/texmf-context/....
the luametatex binary        : tex/texmf-native/bin/...
optional third party modules : tex/texmf-context/....
fonts installed by the user  : tex/texmf-fonts/fonts/data/....
styles made by the user      : tex/texmf-projects/tex/context/user/....

binaries:

tex/texmf-<your platform>/bin/luametatex     : the compiled binary (some 2-3MB)
tex/texmf-<your platform>/bin/mtxrun         : copy of or link to luametatex
tex/texmf-<your platform>/bin/context        : copy of or link to luametatex
tex/texmf-<your platform>/bin/mtxrun.lua     : copy of tex/texmf-context/scripts/context/lua/mtxrun.lua tex/texmf-<your platform>/bin/context.lua    : copy of tex/texmf-context/scripts/context/lua/context.lua

commands:

mtxrun --generate                 : create file database
mtxrun --script fonts --reload    : create font database
mtxrun --autogenerate context ... : run tex file (e.g. from editor)
------------------------------------------------

there is no binaries and the tex tree doesn't exist.
It seems that make require a folder <dir> in which to create the compiled files.

Any help?

Alain

Le 13-02-24 à 18:21, Henning Hraban Ramm a écrit :
Am 13.02.24 um 17:29 schrieb Alain Delmotte:
Hi,

A month or so ago Hans provided a new upload (thanks I managed to get and install it on my Windows 10 64b). At that time I was struggling for having my computers back in order (that appends sometimes).

Now I'd like to have LMTX on an old but still used (when travelling) portable under lubuntu 18.04 32Bits.

There is no more executable available on pragma and I am using Context from TeX Live, but it is the 2017 version.

I can do with it, but it would be better to have Context lmtx latest.

Is it possible to have it? But if this a too complicate problem, I'll stand with the TeX Live Context.

Just compile it yourself.


In your installation root (where install.sh is):

PWD=`pwd`
cd tex/texmf-context/source/luametatex
sh build.sh
cp build/native/luametatex "$PWD/tex/texmf-linux/bin/"
cd "$PWD"


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

Reply via email to