ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] FreeBSD 13.2
@ 2024-02-24 14:20 Roger Mason
  2024-02-24 14:43 ` [NTG-context] " Henning Hraban Ramm
  2024-02-24 15:28 ` Mojca Miklavec
  0 siblings, 2 replies; 21+ messages in thread
From: Roger Mason @ 2024-02-24 14:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-24 14:20 [NTG-context] FreeBSD 13.2 Roger Mason
@ 2024-02-24 14:43 ` Henning Hraban Ramm
  2024-02-24 15:28 ` Mojca Miklavec
  1 sibling, 0 replies; 21+ messages in thread
From: Henning Hraban Ramm @ 2024-02-24 14:43 UTC (permalink / raw)
  To: ntg-context

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-<your platform>/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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-24 14:20 [NTG-context] FreeBSD 13.2 Roger Mason
  2024-02-24 14:43 ` [NTG-context] " Henning Hraban Ramm
@ 2024-02-24 15:28 ` Mojca Miklavec
  2024-02-25 12:12   ` Hans Hagen
  2024-02-25 13:13   ` Roger Mason
  1 sibling, 2 replies; 21+ messages in thread
From: Mojca Miklavec @ 2024-02-24 15:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-24 15:28 ` Mojca Miklavec
@ 2024-02-25 12:12   ` Hans Hagen
  2024-02-25 12:17     ` Mojca Miklavec
  2024-02-25 13:23     ` Henning Hraban Ramm
  2024-02-25 13:13   ` Roger Mason
  1 sibling, 2 replies; 21+ messages in thread
From: Hans Hagen @ 2024-02-25 12:12 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 12:12   ` Hans Hagen
@ 2024-02-25 12:17     ` Mojca Miklavec
  2024-02-25 13:23     ` Henning Hraban Ramm
  1 sibling, 0 replies; 21+ messages in thread
From: Mojca Miklavec @ 2024-02-25 12:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-24 15:28 ` Mojca Miklavec
  2024-02-25 12:12   ` Hans Hagen
@ 2024-02-25 13:13   ` Roger Mason
  2024-02-25 16:08     ` Roger Mason
  1 sibling, 1 reply; 21+ messages in thread
From: Roger Mason @ 2024-02-25 13:13 UTC (permalink / raw)
  To: ntg-context

Hello Henning, Mojca,

Mojca Miklavec <mojca.miklavec.lists@gmail.com> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 12:12   ` Hans Hagen
  2024-02-25 12:17     ` Mojca Miklavec
@ 2024-02-25 13:23     ` Henning Hraban Ramm
  2024-02-28 13:29       ` Alan Braslau via ntg-context
  1 sibling, 1 reply; 21+ messages in thread
From: Henning Hraban Ramm @ 2024-02-25 13:23 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 13:13   ` Roger Mason
@ 2024-02-25 16:08     ` Roger Mason
  2024-02-25 16:56       ` Henning Hraban Ramm
  0 siblings, 1 reply; 21+ messages in thread
From: Roger Mason @ 2024-02-25 16:08 UTC (permalink / raw)
  To: Roger Mason; +Cc: ntg-context

Hello,

Roger Mason <rmason@mun.ca> writes:

> Hello Henning, Mojca,
>
> Mojca Miklavec <mojca.miklavec.lists@gmail.com> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 16:08     ` Roger Mason
@ 2024-02-25 16:56       ` Henning Hraban Ramm
  2024-02-25 19:24         ` Roger Mason
  0 siblings, 1 reply; 21+ messages in thread
From: Henning Hraban Ramm @ 2024-02-25 16:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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  staff    10B 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  staff    10B 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 16:56       ` Henning Hraban Ramm
@ 2024-02-25 19:24         ` Roger Mason
  2024-02-25 20:47           ` Henning Hraban Ramm
  0 siblings, 1 reply; 21+ messages in thread
From: Roger Mason @ 2024-02-25 19:24 UTC (permalink / raw)
  To: ntg-context

Hello Hraban,

Henning Hraban Ramm <texml@fiee.net> 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  staff    10B 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  staff    10B 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 19:24         ` Roger Mason
@ 2024-02-25 20:47           ` Henning Hraban Ramm
  2024-02-26 11:22             ` Roger Mason
  0 siblings, 1 reply; 21+ messages in thread
From: Henning Hraban Ramm @ 2024-02-25 20:47 UTC (permalink / raw)
  To: ntg-context

Am 25.02.24 um 20:24 schrieb Roger Mason:
> Hello Hraban,
> 
> Henning Hraban Ramm <texml@fiee.net> 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  staff    10B 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  staff    10B 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 20:47           ` Henning Hraban Ramm
@ 2024-02-26 11:22             ` Roger Mason
  2024-02-26 12:08               ` Henning Hraban Ramm
  2024-02-26 12:10               ` Hans Hagen
  0 siblings, 2 replies; 21+ messages in thread
From: Roger Mason @ 2024-02-26 11:22 UTC (permalink / raw)
  To: ntg-context

Hello,

Henning Hraban Ramm <texml@fiee.net> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-26 11:22             ` Roger Mason
@ 2024-02-26 12:08               ` Henning Hraban Ramm
  2024-02-26 13:17                 ` Roger Mason
  2024-02-26 12:10               ` Hans Hagen
  1 sibling, 1 reply; 21+ messages in thread
From: Henning Hraban Ramm @ 2024-02-26 12:08 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-26 11:22             ` Roger Mason
  2024-02-26 12:08               ` Henning Hraban Ramm
@ 2024-02-26 12:10               ` Hans Hagen
  2024-02-26 13:21                 ` Roger Mason
  1 sibling, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2024-02-26 12:10 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-26 12:08               ` Henning Hraban Ramm
@ 2024-02-26 13:17                 ` Roger Mason
  0 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2024-02-26 13:17 UTC (permalink / raw)
  To: ntg-context

Hello Hraban,

Henning Hraban Ramm <texml@fiee.net> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-26 12:10               ` Hans Hagen
@ 2024-02-26 13:21                 ` Roger Mason
  2024-02-27 20:04                   ` Hans Hagen
  0 siblings, 1 reply; 21+ messages in thread
From: Roger Mason @ 2024-02-26 13:21 UTC (permalink / raw)
  To: ntg-context

Hello Hans,

Hans Hagen <j.hagen@xs4all.nl> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-26 13:21                 ` Roger Mason
@ 2024-02-27 20:04                   ` Hans Hagen
  2024-02-29 16:47                     ` Roger Mason
  2024-03-22 19:07                     ` Roger Mason
  0 siblings, 2 replies; 21+ messages in thread
From: Hans Hagen @ 2024-02-27 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 2/26/2024 2:21 PM, Roger Mason wrote:
> Hello Hans,
> 
> Hans Hagen <j.hagen@xs4all.nl> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-25 13:23     ` Henning Hraban Ramm
@ 2024-02-28 13:29       ` Alan Braslau via ntg-context
  2024-02-29 16:50         ` Roger Mason
  0 siblings, 1 reply; 21+ messages in thread
From: Alan Braslau via ntg-context @ 2024-02-28 13:29 UTC (permalink / raw)
  To: Henning Hraban Ramm; +Cc: mailing list for ConTeXt users, Alan Braslau

On Sun, 25 Feb 2024 14:23:10 +0100
Henning Hraban Ramm <texml@fiee.net> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-27 20:04                   ` Hans Hagen
@ 2024-02-29 16:47                     ` Roger Mason
  2024-03-22 19:07                     ` Roger Mason
  1 sibling, 0 replies; 21+ messages in thread
From: Roger Mason @ 2024-02-29 16:47 UTC (permalink / raw)
  To: ntg-context

Hello Hans,

Hans Hagen <j.hagen@xs4all.nl> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-28 13:29       ` Alan Braslau via ntg-context
@ 2024-02-29 16:50         ` Roger Mason
  0 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2024-02-29 16:50 UTC (permalink / raw)
  To: ntg-context

Hi Alan,

Alan Braslau via ntg-context <ntg-context@ntg.nl> writes:

> On Sun, 25 Feb 2024 14:23:10 +0100
> Henning Hraban Ramm <texml@fiee.net> 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
___________________________________________________________________________________

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

* [NTG-context] Re: FreeBSD 13.2
  2024-02-27 20:04                   ` Hans Hagen
  2024-02-29 16:47                     ` Roger Mason
@ 2024-03-22 19:07                     ` Roger Mason
  1 sibling, 0 replies; 21+ messages in thread
From: Roger Mason @ 2024-03-22 19:07 UTC (permalink / raw)
  To: ntg-context

Hello,

Hans Hagen <j.hagen@xs4all.nl> 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
___________________________________________________________________________________

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

end of thread, other threads:[~2024-03-22 19:11 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-24 14:20 [NTG-context] FreeBSD 13.2 Roger Mason
2024-02-24 14:43 ` [NTG-context] " Henning Hraban Ramm
2024-02-24 15:28 ` Mojca Miklavec
2024-02-25 12:12   ` Hans Hagen
2024-02-25 12:17     ` Mojca Miklavec
2024-02-25 13:23     ` Henning Hraban Ramm
2024-02-28 13:29       ` Alan Braslau via ntg-context
2024-02-29 16:50         ` Roger Mason
2024-02-25 13:13   ` Roger Mason
2024-02-25 16:08     ` Roger Mason
2024-02-25 16:56       ` Henning Hraban Ramm
2024-02-25 19:24         ` Roger Mason
2024-02-25 20:47           ` Henning Hraban Ramm
2024-02-26 11:22             ` Roger Mason
2024-02-26 12:08               ` Henning Hraban Ramm
2024-02-26 13:17                 ` Roger Mason
2024-02-26 12:10               ` Hans Hagen
2024-02-26 13:21                 ` Roger Mason
2024-02-27 20:04                   ` Hans Hagen
2024-02-29 16:47                     ` Roger Mason
2024-03-22 19:07                     ` Roger Mason

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