[New-bugs-announce] [issue11810] _socket fails to build on OpenIndiana
Emile Heitor
report at bugs.python.org
Sat Apr 9 22:49:39 CEST 2011
New submission from Emile Heitor <imil at NetBSD.org>:
This issue http://bugs.python.org/issue8852 seems to happen again since python 2.6.6. Same cause, same consequences. Patching Modules/socketmodule.h with the following fixes it:
--- Modules/socketmodule.h.orig 2010-05-09 15:15:40.000000000 +0000
+++ Modules/socketmodule.h
@@ -59,6 +59,10 @@ typedef int socklen_t;
#include <bluetooth.h>
#endif
+#if defined(__sun)
+#undef HAVE_NETPACKET_PACKET_H
+#endif
+
#ifdef HAVE_NETPACKET_PACKET_H
# include <sys/ioctl.h>
# include <net/if.h>
----------
components: Build
messages: 133420
nosy: iMil
priority: normal
severity: normal
status: open
title: _socket fails to build on OpenIndiana
type: compile error
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11810>
_______________________________________
More information about the New-bugs-announce
mailing list