mupdf in MacPorts doesn't install. Can someone please help me?

Gerben Wierda gerben.wierda at rna.nl
Sat Feb 25 14:31:07 UTC 2023


mupdf still doesn't compile (Monterey, latest)

This is a known problem (https://trac.macports.org/ticket/65799 <https://trac.macports.org/ticket/65799>). mupdf creates huge (millions of lines of code) C files for fonts (that clang cannot compile).

I am returning to this issue (I really need `mupdf` and I can't upgrade to Ventura in case that would fix anything)

I am trying to see what I have to change, but I'm getting lost.

I found this:
> One possible solution to this issue is to tell the mupdf configure script not to compile the NotoSansOldPersian-Regular.otf font. You can do this by passing the --without-font-truetype option to the ./configure script when building mupdf. This will prevent mupdf from trying to compile the font, which should allow the compilation process to complete successfully.


I have no idea how to implement "You can do this by passing the --without-font-truetype option to the ./configure script when building mupdf." if only because use_configure is set to no in the Portfile and I see only a single `configure` script in the entire distribution.

It seems homebrew has this one, but I would prefer not to have to re-add homebrew to my setup.

Can anyone more skilled with MacPorts help me to get mupdf to install using MacPorts?

Thanks,

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A IT Strategy <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230225/8e7819ad/attachment.htm>


More information about the macports-users mailing list