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 fails when compiling Python 2.6 from source (posixmodule.c) #82111
Comments
I'm trying to compile Python 2.6.8 on Kubuntu 19.04. Current system version is Python 2.7.16. See below the error message I receive, during make. oguz@dikanka: oguz@dikanka:~/Python-2.6.8$ ./configure oguz@dikanka:~/Python-2.6.8$ make … I found this python bug to be very similar to my case, but it's a rather old bug : https://bugs.python.org/issue535545 Here it says, posixmodule fails because resource.h is not detected properly by configure. Similarly in my case, pyconfig.h file's HAVE_SYS_RESOURCE_H line is commented out. I also realized that my c lib headers are not under /usr/include/sys and /usr/include/bits. Instead, I can find them under the following locations : oguz@dikanka:/usr/include/linux$ find /usr/include -name resource.h I tried symlinks to x86_64-linux-gnu/sys and x86_64-linux-gnu/bits, but the the issue persists. Any ideas ? Thanks in advance! |
Hi Oguz, Sadly Python 2.6.8 is not supported anymore |
Python 2.6 reached end-of-life in 2013, six years ago, and has not received any non-security bug fixes since 2010. We strongly recommend thst you migrate to a modern, supported version of Python, if not Python 3.7, then at least Python 2.7 which itself will reach end-of-life in 2020. |
Hi Oguz, --- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -248,7 +248,7 @@ typedef union _gc_head {
union _gc_head *gc_prev;
Py_ssize_t gc_refs;
} gc;
- long double dummy; /* force worst-case alignment */
+ double dummy; /* force worst-case alignment */
} PyGC_Head;
extern PyGC_Head *_PyGC_generation0; |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: