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
Python2.4: building '_socket' extension fails with `INET_ADD #41278
Comments
HI! I'm trying to build Python2.4 on a rather old Debian configure --disable-ipv6 I've added #define INET_ADDRSTRLEN 16 to Modules/socketmodule.h which made it work. There Ciao, Michael. ------------------------------ snip |
Logged In: YES How old a debian release is this? It sounds like it's a just |
Logged In: YES There are already a few attempts to define ADDRSTRLEN if it |
Logged In: YES I have the same problem on Solaris 7. |
Logged In: YES I got: building '_socket' extension My users then see... # regtester.py ../ini/tester.ini main
Traceback (most recent call last):
File "./regtester.py", line 24, in ?
import core_engine, core_event, core_action, logger
File "/etsi/tst/regtester.1.0.0/scripts/core_engine.py",
line 19, in ?
import time, Queue, sched, copy, string, threading,
asyncore, socket
File "/usr/local/lib/python2.4/asyncore.py", line 51, in ?
import socket
File "/usr/local/lib/python2.4/socket.py", line 45, in ?
import _socket
ImportError: No module named _socket I try your work-around. Doesn't help. |
Logged In: YES Unfortunately, non of us has Solaris 7, so there is little |
Logged In: YES I'm a SysAdmin. My users (programmers) who want this |
I don't believe that this can still be a problem. |
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: