[NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

Michal Vlasák lahcim8 at gmail.com
Tue May 31 00:49:35 CEST 2022


On Mon May 30, 2022 at 8:19 PM CEST, Jan-Erik Hägglöf via ntg-context wrote:
> With latest LMTX installed on my Monterey intel MacBook Air and Zint version 2.11
>
> optional        > using library '/Users/janneman/CTX/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so'
> zint            > something went wrong: invalid result vector
> zint            > something went wrong: invalid result vector
> zint            > something went wrong: invalid result vector
>
Luametatex is still built against zint 2.10, which is on the binary
level incompatible with 2.11, so you should try 2.10 in the meantime.

Ultimately there are three possibilities for the long run:

1) Everyone sticks with 2.10 (which may be problematic since binaries
for this "old" version may gradually cease to be available).

2) Hans updates luametatex to zint 2.11, which would mean that a lot of
people would need to update their zint installations now (and possibly
in the future for every update). This is what was done last time with
the update to 2.10.

3) luametatex gains compatibility with 2.10 *and* 2.11.

Not sure what is the best way to proceed, since 3) is the messiest
implementation wise, but nicest for the users.


Michal Vlasák

PS: Previously I also suggested option 4: The optional libraries for
selected platforms would be built on the context garden and available
for download (perhaps incorporated into the not yet existing module
manager?). Building the some of the small libraries is easy, but for
the advanced ones one would have to also build transitive dependencies
and this gets out of hand quickly with e.g. curl (and in this case the
returns are diminishing - curl AFAIK is so stable, that such breakage
like with zint shouldn't ever happen).

For what it's worth, this is my repository which allows building some of
the simple libs on Linux (with the possibility to cross compile to
Windows). It will probably also work on Mac. The versions of the
libraries are pinned e.g. zint is locked to 2.10, so at least that
should work, but I didn't follow closely updates to others in luametatex.

https://github.com/vlasakm/context-optional-libraries


More information about the ntg-context mailing list