-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors when enabling pcre2 on macOS #1495
Comments
If I use |
ryandesign
added a commit
to ryandesign/link-grammar
that referenced
this issue
Apr 21, 2024
Partial fix for opencog#1495
ryandesign
added a commit
to ryandesign/link-grammar
that referenced
this issue
Apr 21, 2024
Partial fix for opencog#1495
This was referenced Apr 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building link-grammar 5.12.4 on macOS 12 fails for me:
I can at least explain the last error:
nullptr
is a C++11 thing. You can't use C++ things in C code. In C, useNULL
.As for
once_flag
andONCE_FLAG_INIT
, those seems to be related to C11 threads, and macOS doesn't support C11 threads. The configure script correctly determined that threads.h does not exist.My configure arguments were
--prefix=/opt/local --disable-silent-rules --enable-editline --with-regexlib=pcre2 --disable-aspell --enable-hunspell --disable-java-bindings --disable-perl-bindings --disable-python-bindings --enable-sat-solver=bundled
My compilers are:
The text was updated successfully, but these errors were encountered: