ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04
       [not found] <a52a9e64-7c60-47c8-aebb-59c7cbd1b6fa@leliseron.org>
@ 2024-02-13 19:58 ` Alain Delmotte
  0 siblings, 0 replies; 2+ messages in thread
From: Alain Delmotte @ 2024-02-13 19:58 UTC (permalink / raw)
  To: liste ConTeXt


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

I answered only for Hraban!! Sorry8

Alain


-------- Message transféré --------
Sujet : 	Re: [NTG-context] Re: Context lmtx for 32bit under 
LUBUNTU 18.04
Date : 	Tue, 13 Feb 2024 19:47:09 +0100
De : 	Alain Delmotte <alain.delmotte@leliseron.org>
Pour : 	Henning Hraban Ramm <texml@fiee.net>




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

OK I'll try

Alain


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

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

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

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

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

* [NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04
       [not found] <e3d6ac4d-b133-4f1e-acbc-0af7a643fe40@leliseron.org>
@ 2024-02-14 17:10 ` Henning Hraban Ramm
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Hraban Ramm @ 2024-02-14 17:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.delmotte@leliseron.org>
An: 	Henning Hraban Ramm <texml@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
___________________________________________________________________________________

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

end of thread, other threads:[~2024-02-14 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <a52a9e64-7c60-47c8-aebb-59c7cbd1b6fa@leliseron.org>
2024-02-13 19:58 ` [NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04 Alain Delmotte
     [not found] <e3d6ac4d-b133-4f1e-acbc-0af7a643fe40@leliseron.org>
2024-02-14 17:10 ` Henning Hraban Ramm

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