ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Install error on FreeBSD
@ 2025-09-18  2:26 Kostirya
  2025-09-18  6:28 ` [NTG-context] " Hans Hagen via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Kostirya @ 2025-09-18  2:26 UTC (permalink / raw)
  To: ntg-context

Hello.

Install doesn't work on freebsd: a lot of errors of one type

FreeBSD 14.3-RELEAS

fetch https://lmtx.pragma-ade.com/install-lmtx/context-freebsd-amd64.zip
unzip context-freebsd-amd64.zip
sh install.sh

...
resolvers       | formats | executing runner 'make luametatex format':
/usr/home/nick/context/tex/texmf-freebsd-amd64/bin/luametatex --ini
--socket --shell-escape
--lua=/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/cont-en.mkxl
This is LuaMetaTeX, Version 2.11.07 initex
(/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/cont-en.mkxl(context.mkxl(syst-ini.mkxl)(syst-obs.mkxl)(norm-ctx.mkxl)(syst-pln.mkxl)(luat-cod.mkxl<+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt>)(luat-bas.mkxl
loading: ConTeXt Lua Macros / Basic Lua Libraries<+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/l-bit32.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/l-lua.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-package.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-lpeg.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-function.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-string.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-table.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-boolean.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/l-number.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-math.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-io.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-os.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-file.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-gzip.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-md5.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-sha.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-dir.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/l-unicode.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-url.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/l-set.lua>)(luat-lib.mkxl
loading: ConTeXt Lua Macros / Libraries<+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/util-str.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/util-tab.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/util-fil.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/util-sac.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/util-sto.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/util-pck.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/util-prs.lmt><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/util-fmt.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkiv/util-dim.lua><+
/usr/home/nick/context/tex/texmf-context/tex/context/base/mkxl/util-vec.lmt>
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/util-vec.lmt:9: attempt
to index a nil value (global 'vector')
stack traceback:
    ...ext/tex/texmf-context/tex/context/base/mkxl/util-vec.lmt:9: in
local 'data'
    ...ext/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt:210:
in field 'luafilechunk'
    ...ext/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt:82: in
field 'registercode'
    [\directlua]:1: in main chunk.
<macro> \registerctxluafile
    #1#2->\ctxlua {lua.registercode("#1","#2")}
<line 3.25>
    \registerctxluafile{util-vec}{autosuffix}

...

! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/util-vec.lmt:9: attempt
to index a nil value (global 'vector')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/luat-cbk.lmt:45:
attempt to call a nil value (field 'names')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/luat-run.lmt:88:
attempt to index a nil value (field 'functions')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/luat-fio.lmt:83:
attempt to call a nil value (local 'register')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/cldf-ini.lmt:424:
attempt to call a nil value (field 'register')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkiv/cldf-stp.lua:56:
attempt to index a nil value (field 'protected')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/cldf-lmt.lmt:60:
attempt to index a nil value (field 'flagcodes')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/cldf-pos.lmt:35:
attempt to index a nil value (field 'flagcodes')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/syst-aux.lmt:423:
attempt to index a nil value (field 'protected')
! token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/syst-lua.lmt:55:
attempt to index a nil value (field 'protected')
___________________________________________________________________________________
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] 4+ messages in thread

* [NTG-context] Re: Install error on FreeBSD
  2025-09-18  2:26 [NTG-context] Install error on FreeBSD Kostirya
@ 2025-09-18  6:28 ` Hans Hagen via ntg-context
  2025-09-18  6:55   ` Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2025-09-18  6:28 UTC (permalink / raw)
  To: Kostirya, mailing list for ConTeXt users; +Cc: Hans Hagen

On 9/18/2025 4:26 AM, Kostirya wrote:
> Hello.
> 
> Install doesn't work on freebsd: a lot of errors of one type
> 
> FreeBSD 14.3-RELEAS
> 
> fetch https://lmtx.pragma-ade.com/install-lmtx/context-freebsd-amd64.zip
> unzip context-freebsd-amd64.zip
> sh install.sh

you don't have a new binary

freebsd is (currently) too tricky for the build farm (in general bsd 
comes with os version specific compatibility issues and getting the 
build client up and running on a vm is also a bit tricky) .. you can 
compile the binaries yourselve as the sources are included and then move 
them to the right spot

(Damien does that so maybe he can help you)

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] 4+ messages in thread

* [NTG-context] Re: Install error on FreeBSD
  2025-09-18  6:28 ` [NTG-context] " Hans Hagen via ntg-context
@ 2025-09-18  6:55   ` Henning Hraban Ramm
  2025-09-18  8:37     ` Kostirya
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2025-09-18  6:55 UTC (permalink / raw)
  To: ntg-context

Am 18.09.25 um 08:28 schrieb Hans Hagen via ntg-context:
> On 9/18/2025 4:26 AM, Kostirya wrote:
>> Hello.
>>
>> Install doesn't work on freebsd: a lot of errors of one type
>>
>> FreeBSD 14.3-RELEAS
>>
>> fetch https://lmtx.pragma-ade.com/install-lmtx/context-freebsd-amd64.zip
>> unzip context-freebsd-amd64.zip
>> sh install.sh
> 
> you don't have a new binary
> 
> freebsd is (currently) too tricky for the build farm (in general bsd 
> comes with os version specific compatibility issues and getting the 
> build client up and running on a vm is also a bit tricky) .. you can 
> compile the binaries yourselve as the sources are included and then move 
> them to the right spot
> 
> (Damien does that so maybe he can help you)

Here’s an explanation:
https://wiki.contextgarden.net/Manual_Compilation

… but it should be easier than that, you already have the distribution:

cd <whatever>/tex/texmf-context/source/luametatex
. ./build.sh
cp build/native/luametatex <whatever>/texmf-freebsd-amd64/bin/

Check if the paths match your 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] 4+ messages in thread

* [NTG-context] Re: Install error on FreeBSD
  2025-09-18  6:55   ` Henning Hraban Ramm
@ 2025-09-18  8:37     ` Kostirya
  0 siblings, 0 replies; 4+ messages in thread
From: Kostirya @ 2025-09-18  8:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks. It is working.

чт, 18 вер. 2025 р. о 07:57 Henning Hraban Ramm <texml@fiee.net> пише:
>
> Am 18.09.25 um 08:28 schrieb Hans Hagen via ntg-context:
> > On 9/18/2025 4:26 AM, Kostirya wrote:
> >> Hello.
> >>
> >> Install doesn't work on freebsd: a lot of errors of one type
> >>
> >> FreeBSD 14.3-RELEAS
> >>
> >> fetch https://lmtx.pragma-ade.com/install-lmtx/context-freebsd-amd64.zip
> >> unzip context-freebsd-amd64.zip
> >> sh install.sh
> >
> > you don't have a new binary
> >
> > freebsd is (currently) too tricky for the build farm (in general bsd
> > comes with os version specific compatibility issues and getting the
> > build client up and running on a vm is also a bit tricky) .. you can
> > compile the binaries yourselve as the sources are included and then move
> > them to the right spot
> >
> > (Damien does that so maybe he can help you)
>
> Here’s an explanation:
> https://wiki.contextgarden.net/Manual_Compilation
>
> … but it should be easier than that, you already have the distribution:
>
> cd <whatever>/tex/texmf-context/source/luametatex
> . ./build.sh
> cp build/native/luametatex <whatever>/texmf-freebsd-amd64/bin/
>
> Check if the paths match your 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2025-09-18  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-18  2:26 [NTG-context] Install error on FreeBSD Kostirya
2025-09-18  6:28 ` [NTG-context] " Hans Hagen via ntg-context
2025-09-18  6:55   ` Henning Hraban Ramm
2025-09-18  8:37     ` Kostirya

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