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

make error #307

Open
bintao-tao opened this issue May 3, 2024 · 1 comment
Open

make error #307

bintao-tao opened this issue May 3, 2024 · 1 comment

Comments

@bintao-tao
Copy link

bintao-tao commented May 3, 2024

When I execute the make operation, the error is reported as follows:
in file included from charm/core/math/pairing/pairingmodule.c:30:
charm/core/math/pairing/pairingmodule.h:39:10: fatal error: longintrepr.h: no such file or directory.
39 | #include <longintrepr.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

@terry-fee
Copy link
Contributor

Are you using Python 3.12? In Python 3.12, the header file longintrepr.h is in the directory /usr/include/python3.12/cpython/ whereas for the earlier Python versions, the same file is in /usr/include/python3.XX/. I would suggest using Python versions 3.8 to 3.10 instead for the time being. There are other things in Python 3.12 that will break the Charm library, so it is probably better to wait until someone resolves those issues before using Charm on Python 3.12.

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