New submission from Emile Heitor <i...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue11810> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com