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

Fails to install with Python 3.9 #42

Open
apowers313 opened this issue May 29, 2023 · 1 comment
Open

Fails to install with Python 3.9 #42

apowers313 opened this issue May 29, 2023 · 1 comment

Comments

@apowers313
Copy link

Apparently Python deprecated some functions that PyNode is using:

Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);

Full gyp error log is here:
2023-05-29T21_24_06_268Z-debug.log

@apowers313
Copy link
Author

Turns out the deprecated functions are a red herring. The actual problem is this:

ld: -stack_size option can only be used when linking a main executable

If I edit build/PyNode.target.mk and remove the flag -Wl,-stack_size,1000000 then node-gyp build completes successfully. Note that the build/PyNode.target.mk file is automatically generated. No idea what is adding that flag to the make file.

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

1 participant