Python2.4: building '_socket' extension fails with `INET_ADDRSTRLEN' undeclared
Dieter Maurer
dieter at handshake.de
Sun Dec 5 13:33:43 EST 2004
"Martin v. Löwis" <martin at v.loewis.de> writes on Sat, 04 Dec 2004 00:37:43 +0100:
>...
> So it appears that on your system, INET_ADDRSTRLEN is not defined,
> even if it is supposed to be defined on all systems, regardless
> of whether they support IPv6.
I have met this problem in older Solaris versions: the Solaris
headers did not define the macro.
I fixed my problem by providing the lacking definition
in the relevant Python header file.
More information about the Python-list
mailing list