asciidoctor-mathematical fails to install

Posted by jvdh on
URL: https://discuss.asciidoctor.org/asciidoctor-mathematical-fails-to-install-tp8173.html

hi there,

happy asciidoctor user here. however, today I ran into a problem, when trying to install
asciidoctor-mathematical on an OSX 10.15.3 machine in order to see whether asciidoctor-pdf plus
asciidoctor-mathetmatical is a viable alternative to asciidoc plus dblatex for getting latex
equations into pdf output. of course, if there are better ways, I'd appreciate any advice.

actually, the problem is `Mathematical' itself but I am not a ruby (or C, actually) person and do
hope for some guidance here. the error message I receive during `gem install
asciidoctor-mathematical' is:

compiling mathematical.c
In file included from mathematical.c:23:
In file included from ./mathematical.h:14:
In file included from /opt/local/include/glib-2.0/glib/gi18n.h:23:
/opt/local/include/libintl.h:440:8: error: unknown type name 'locale_t'
extern locale_t newlocale (int, const char *, locale_t);
        ^
where /opt/local/ is the path to the Macports maintained additional software packages (like glib).

all the dependencies (pango, glib, cmake etc) seem to be installed. any ideas?

thank you,

joerg