This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iMil
Recipients iMil
Date 2011-04-09.20:49:37
SpamBayes Score 0.0023364758
Marked as misclassified No
Message-id <1302382179.44.0.700403156795.issue11810@psf.upfronthosting.co.za>
In-reply-to
Content
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>
History
Date User Action Args
2011-04-09 20:49:39iMilsetrecipients: + iMil
2011-04-09 20:49:39iMilsetmessageid: <1302382179.44.0.700403156795.issue11810@psf.upfronthosting.co.za>
2011-04-09 20:49:37iMillinkissue11810 messages
2011-04-09 20:49:37iMilcreate