ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04
Date: Wed, 14 Feb 2024 18:10:19 +0100	[thread overview]
Message-ID: <d8bde0b9-930d-451f-9f0f-b627e997a8be@fiee.net> (raw)
In-Reply-To: <e3d6ac4d-b133-4f1e-acbc-0af7a643fe40@leliseron.org>

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
___________________________________________________________________________________

       reply	other threads:[~2024-02-14 17:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e3d6ac4d-b133-4f1e-acbc-0af7a643fe40@leliseron.org>
2024-02-14 17:10 ` Henning Hraban Ramm [this message]
2024-02-14 17:21   ` [NTG-context] " Hans Hagen
2024-02-14 17:59   ` Angel M Alganza
2024-02-14 19:13     ` Henning Hraban Ramm
2024-02-14 20:00       ` Alain Delmotte
2024-02-16  9:43       ` Angel M Alganza
     [not found] <a52a9e64-7c60-47c8-aebb-59c7cbd1b6fa@leliseron.org>
2024-02-13 19:58 ` [NTG-context] " Alain Delmotte

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=d8bde0b9-930d-451f-9f0f-b627e997a8be@fiee.net \
    --to=texml@fiee.net \
    --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).