[NTG-context] Re: FreeBSD 13.2

2024-03-22 Thread Roger Mason
Hello,

Hans Hagen  writes:

> well, i put the older in in the latest anyway

Rather belatedly, I tested this a few moments ago: it works flawlessly.

Many, many thanks.

Roger
___
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: FreeBSD 13.2

2024-02-29 Thread Roger Mason
Hi Alan,

Alan Braslau via ntg-context  writes:

> On Sun, 25 Feb 2024 14:23:10 +0100
> Henning Hraban Ramm  wrote:
>
>> Am 25.02.24 um 13:12 schrieb Hans Hagen:
>> > We could add a flag to the installer that doesn't update the
>> > binaries but intead (advices) to build the bins but it assumes
>> > Cmake and gcc to be installed (we could cheat and use an existing
>> > cmake made make file).  
>> 
>> Yes please! A platform-independent download would be great.
>
> However, we should not assume gcc: it could be clang.

FWIW clang is now the default on FreeBSD.

Cheers,
Roger
___
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: FreeBSD 13.2

2024-02-29 Thread Roger Mason
Hello Hans,

Hans Hagen  writes:

>> Please do not go to this trouble on my account.  I have decided to
>> give
>> up on context.
> well, i put the older in in the latest anyway

Many thanks, I will give it a try in the next day or so and respond to
the list.

Best wishes,
Roger
___
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: FreeBSD 13.2

2024-02-28 Thread Alan Braslau via ntg-context
On Sun, 25 Feb 2024 14:23:10 +0100
Henning Hraban Ramm  wrote:

> Am 25.02.24 um 13:12 schrieb Hans Hagen:
> > We could add a flag to the installer that doesn't update the
> > binaries but intead (advices) to build the bins but it assumes
> > Cmake and gcc to be installed (we could cheat and use an existing
> > cmake made make file).  
> 
> Yes please! A platform-independent download would be great.

However, we should not assume gcc: it could be clang.

-- 
Alan
___
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: FreeBSD 13.2

2024-02-27 Thread Hans Hagen

On 2/26/2024 2:21 PM, Roger Mason wrote:

Hello Hans,

Hans Hagen  writes:


On 2/26/2024 12:22 PM, Roger Mason wrote:


Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
should they be set to and where should they be set?

fwiw, i'll do an update oen fo these days with the old bin

what you coudl do is download the latest zip and unzip it in
texmf-context and then take the ins from the garden build


Please do not go to this trouble on my account.  I have decided to give
up on context.

well, i put the older in in the latest anyway

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: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello Hans,

Hans Hagen  writes:

> On 2/26/2024 12:22 PM, Roger Mason wrote:
>
>> Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
>> should they be set to and where should they be set?
> fwiw, i'll do an update oen fo these days with the old bin
>
> what you coudl do is download the latest zip and unzip it in
> texmf-context and then take the ins from the garden build

Please do not go to this trouble on my account.  I have decided to give
up on context.

Best wishes,
Roger
___
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: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello Hraban,

Henning Hraban Ramm  writes:

> Usually, you don’t need to set any variables.
> The default configuration file is also fine.
>
> Does "context --version" work?

No:

mtxrun  | forcing cache reload
resolvers   | resolving | configuration files already identified
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  | the resolver databases are not present or outdated
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-context.lua' using hash 
'lua::mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-contexts.lua' using hash 
'lua::mtx-contexts.lua'
resolvers   | resolving | remembered file 'mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-t-mtx-context.lua' using 
hash 'lua::mtx-t-mtx-context.lua'
resolvers   | resolving | using suffix based filetype 'lua'
resolvers   | resolving | remembering file 'mtx-t-mtx-contexts.lua' using 
hash 'lua::mtx-t-mtx-contexts.lua'
resolvers   | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers   | resolving | remembered file 'mtx-context.lua'
mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Thanks to all who have helped, but I think it is time to give up on
context.  I know that context is updated often and I do not relish the
prospect of going though all this for every update.

Thanks again & best wishes,
Roger
___
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: FreeBSD 13.2

2024-02-26 Thread Hans Hagen

On 2/26/2024 12:22 PM, Roger Mason wrote:


Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
should they be set to and where should they be set?

fwiw, i'll do an update oen fo these days with the old bin

what you coudl do is download the latest zip and unzip it in 
texmf-context and then take the ins from the garden build


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: FreeBSD 13.2

2024-02-26 Thread Henning Hraban Ramm

Am 26.02.24 um 12:22 schrieb Roger Mason:


resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/usr/home/rmason/context/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-freebsd-amd64'



resolvers   | resolving | found fallback configuration file 
'/usr/home/rmason/context/tex/texmf-context/web2c/contextcnf.lua'



Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
should they be set to and where should they be set?


Usually, you don’t need to set any variables.
The default configuration file is also fine.

Does "context --version" work?

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: FreeBSD 13.2

2024-02-26 Thread Roger Mason
Hello,

Henning Hraban Ramm  writes:

>
> I guess you’re lacking the main distribution package.
>
> My installation (tree -dL 4, partly shortened):
>
> .
> ├── bin (installation only)
> └── tex
> ├── texmf-cache (necessary, but auto-created?)
> │   ├── luametatex-cache
> │   │   └── context
> │   └── luatex-cache
> │   └── context
> ├── texmf-context (main tree)
> │   ├── colors

OK, I unpacked the main distribution in context/tex, set PATH and ran

mtxrun --generate

which output:

resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/usr/home/rmason/context/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-freebsd-amd64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | found fallback configuration file 
'/usr/home/rmason/context/tex/texmf-context/web2c/contextcnf.lua'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  |
mtxrun  | elapsed lua time: 0.041 seconds

Looks like the unset TEXMF and TEXMFCNF envars are a problem.   What
should they be set to and where should they be set?

Thanks,
Roger
___
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: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm

Am 25.02.24 um 20:24 schrieb Roger Mason:

Hello Hraban,

Henning Hraban Ramm  writes:


Am 25.02.24 um 17:08 schrieb Roger Mason:



Do I need mtxrun?  If so, where are the sources and how do I build
it?


Yes, you need it, but it’s just an alias to luametatex:

~/context/tex/texmf-osx-64/bin $ ll
total 7704
-rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
-rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
-rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
-rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua

The mtxrun in ~/context/bin is only used during installation.


What else do I need in ~/context/tex?  Currently I have

.
├── texmf-context
│   └── web2c
│   └── contextcnf.lua
└── texmf-freebsd-amd64
 └── bin
 ├── context -> luametatex
 ├── context.lua
 ├── luametatex
 ├── mtxrun -> luametatex
 └── mtxrun.lua


I guess you’re lacking the main distribution package.

My installation (tree -dL 4, partly shortened):

.
├── bin (installation only)
└── tex
├── texmf-cache (necessary, but auto-created?)
│   ├── luametatex-cache
│   │   └── context
│   └── luatex-cache
│   └── context
├── texmf-context (main tree)
│   ├── colors
│   │   └── icc
│   ├── context
│   │   └── data
│   ├── doc
│   │   ├── context
│   │   └── fonts
│   ├── fonts// (etc.)
│   ├── metapost
│   │   └── context
│   ├── scripts
│   │   └── context
│   ├── source
│   │   └── luametatex
│   ├── tex
│   │   ├── context
│   │   └── generic
│   └── web2c
├── texmf-fonts (not necessary)
├── texmf-local (not necessary)
│   └── doc
│   └── context
├── texmf-modules (not necessary)
│   ├── doc// (etc.)
│   ├── fonts// (etc.)
│   ├── metapost
│   │   └── context
│   ├── scripts
│   │   ├── context
│   │   └── pgfplots
│   ├── source
│   │   ├── context
│   │   └── luatex
│   ├── tex
│   │   ├── context
│   │   ├── generic
│   │   └── luatex
│   └── tpm
├── texmf-osx-64
│   └── bin
└── texmf-project (not necessary)

HTH

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: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Hraban,

Henning Hraban Ramm  writes:

> Am 25.02.24 um 17:08 schrieb Roger Mason:

>> Do I need mtxrun?  If so, where are the sources and how do I build
>> it?
>
> Yes, you need it, but it’s just an alias to luametatex:
>
> ~/context/tex/texmf-osx-64/bin $ ll
> total 7704
> -rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
> lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
> -rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
> -rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
> lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
> -rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua
>
> The mtxrun in ~/context/bin is only used during installation.

What else do I need in ~/context/tex?  Currently I have

.
├── texmf-context
│   └── web2c
│   └── contextcnf.lua
└── texmf-freebsd-amd64
└── bin
├── context -> luametatex
├── context.lua
├── luametatex
├── mtxrun -> luametatex
└── mtxrun.lua

and mtxrun --generate says

resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/usr/home/rmason/context/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-freebsd-amd64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | found fallback configuration file 
'/usr/home/rmason/context/tex/texmf-context/web2c/contextcnf.lua'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  |
mtxrun  | elapsed lua time: 0.045 seconds

I infer something (possibly a lot) is missing that the install.sh
normally sets up.

Thanks,
Roger
___
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: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm

Am 25.02.24 um 17:08 schrieb Roger Mason:

I see that the build does not provide the mtxrun binary that the
installer uses.  Does that mean I dont need mtxrun?


Do I need mtxrun?  If so, where are the sources and how do I build it?


Yes, you need it, but it’s just an alias to luametatex:

~/context/tex/texmf-osx-64/bin $ ll
total 7704
-rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
-rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
-rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
-rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua

The mtxrun in ~/context/bin is only used during installation.

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: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello,

Roger Mason  writes:

> Hello Henning, Mojca,
>
> Mojca Miklavec  writes:
>
>> There were some troubles with our infrastructure which led Hans to
>> build the binaries himself without paying extra attention to
>> compatibility with older systems.
>>
>> You can find the binaries here:
>> https://build.contextgarden.net/dl/luametatex/
>>
>> but I hope that Hans will rebuild the installer in order to make the
>> older systems functional again.
>>
>> Other than that, building luametatex is relatively straightforward with 
>> CMake.
>> The sources can be found either inside ConTeXt or separately inside
>> https://github.com/contextgarden/luametatex
>
> I see that the build does not provide the mtxrun binary that the
> installer uses.  Does that mean I dont need mtxrun?

Do I need mtxrun?  If so, where are the sources and how do I build it?

Thanks,
Roger
___
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: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm

Am 25.02.24 um 13:12 schrieb Hans Hagen:
We could add a flag to the installer that doesn't update the binaries 
but intead (advices) to build the bins but it assumes Cmake and gcc to 
be installed (we could cheat and use an existing cmake made make file).


Yes please! A platform-independent download would be great.

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: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Henning, Mojca,

Mojca Miklavec  writes:

> There were some troubles with our infrastructure which led Hans to
> build the binaries himself without paying extra attention to
> compatibility with older systems.
>
> You can find the binaries here:
> https://build.contextgarden.net/dl/luametatex/
>
> but I hope that Hans will rebuild the installer in order to make the
> older systems functional again.
>
> Other than that, building luametatex is relatively straightforward with CMake.
> The sources can be found either inside ConTeXt or separately inside
> https://github.com/contextgarden/luametatex

I see that the build does not provide the mtxrun binary that the
installer uses.  Does that mean I dont need mtxrun?

Thanks,
Roger
___
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: FreeBSD 13.2

2024-02-25 Thread Mojca Miklavec
On Sun, 25 Feb 2024 at 13:12, Hans Hagen wrote:
>
> Can freebsd 14 work with older bins?

Yes, definitely.

> The previous method of these hard coded version numbers was a pain

You  might be mixing up FreeBSD and OpenBSD.

FreeBSD is (fully) compatible, OpenBSD is totally incompatible.

(I'm even a bit surprised that binaries compiled on 14 don't work on
13, but well ...)

Mojca
___
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: FreeBSD 13.2

2024-02-25 Thread Hans Hagen

On 2/24/2024 4:28 PM, Mojca Miklavec wrote:

Dear Roger,

On Sat, 24 Feb 2024 at 15:34, Roger Mason wrote:


After unpacking, running the install scripts results in:

ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol
"__libc_start1@FBSD_1.7"

I assume this is because mtxrun is compiled for FreeBSD 14.0.


There were some troubles with our infrastructure which led Hans to
build the binaries himself without paying extra attention to
compatibility with older systems.


Can freebsd 14 work with older bins?

The previosu method of these hard coded version numbers was a pain as i 
have to adapt different scripts and the websit to newer versions so and 
i don't want that.


(We could put more bins in the installer for a platform and then let the 
install.sh choose what bins to fetch but even then the question is how 
far do we go back in time.)



You can find the binaries here:
 https://build.contextgarden.net/dl/luametatex/

but I hope that Hans will rebuild the installer in order to make the
older systems functional again.

Other than that, building luametatex is relatively straightforward with CMake.
The sources can be found either inside ConTeXt or separately inside
 https://github.com/contextgarden/luametatex
We could add a flag to the installer thaqt doesn't update the binaries 
but intead (advices) to build the bins but it assumes Cmake and gcc to 
be installed (we could cheat and use an existing cmake made make file).


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: FreeBSD 13.2

2024-02-24 Thread Mojca Miklavec
Dear Roger,

On Sat, 24 Feb 2024 at 15:34, Roger Mason wrote:
>
> After unpacking, running the install scripts results in:
>
> ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol
> "__libc_start1@FBSD_1.7"
>
> I assume this is because mtxrun is compiled for FreeBSD 14.0.

There were some troubles with our infrastructure which led Hans to
build the binaries himself without paying extra attention to
compatibility with older systems.

You can find the binaries here:
https://build.contextgarden.net/dl/luametatex/

but I hope that Hans will rebuild the installer in order to make the
older systems functional again.

Other than that, building luametatex is relatively straightforward with CMake.
The sources can be found either inside ConTeXt or separately inside
https://github.com/contextgarden/luametatex

Mojca
___
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: FreeBSD 13.2

2024-02-24 Thread Henning Hraban Ramm

Am 24.02.24 um 15:20 schrieb Roger Mason:

Hello,

I've been away from ConTeXt for some time but now I want to install it
on my FreeBSD 13.2 system(s) (I have not switched any machines to 14.0
yet).  After unpacking, running the install scripts results in:

ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol
"__libc_start1@FBSD_1.7"

I assume this is because mtxrun is compiled for FreeBSD 14.0.  Thus, I
need (I think) to compile it for 13.2.  Are there instructions somewhere
on how to do this?

If I get a working installation I'm happy to contribute the FreeBSD 13.2
binaries back to the project, if someone will tell me how.


Yes, we need to document it in the wiki…
But it’s easy:
cd into your tex/texmf-context/source/luametatex
and run build.sh
then copy the "luametatex" binary from build/native
into tex/texmf-/bin/

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
___