Skip to content
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

Unable to install interpreter on MacOS Monterey #11

Open
juskek opened this issue Apr 5, 2022 · 1 comment
Open

Unable to install interpreter on MacOS Monterey #11

juskek opened this issue Apr 5, 2022 · 1 comment

Comments

@juskek
Copy link

juskek commented Apr 5, 2022

Receiving this error when trying to run bazel test //:main_test

1 warning generated.
./Modules/posixmodule.c:9221:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = sendfile(in, out, offset, &sbytes, &sf, flags);
              ^
1 error generated.
make: *** [Modules/posixmodule.o] Error 1
@kku1993
Copy link
Owner

kku1993 commented Apr 7, 2022

Looks like you need to apply this patch [1] to support new mac os version.

Or you can simply update the setup to use python v3.10.0 or above.

[1] python/cpython@8ea6353

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants