IPv6 in python

Piotr Dula (pdula) pdula at cisco.com
Mon Sep 24 05:37:49 EDT 2007


Hello,
 
How to make python support IPv6?
 
I tried to do:
 
./configure --enable-ipv6
make 
make install
 
and I didn't get any error. However, IPv6 doesn't seem to be working
yet.
 
then I tried 
 
./configure --enable-ipv6=yes
 
and I got a lot of parse errors (many pages similar to this below)
 
In file included from /root/Piotr/Python-2.5.1/Modules/_tkinter.c:67:
/usr/include/tk.h:581: parse error before "Bool"
/usr/include/tk.h:583: parse error before "event"
/usr/include/tk.h:584: parse error before "root"
/usr/include/tk.h:585: parse error before "subwindow"
/usr/include/tk.h:586: parse error before "time"
/usr/include/tk.h:586: `time' redeclared as different kind of symbol
/usr/include/time.h:184: previous declaration of `time'
/usr/include/tk.h:591: parse error before "same_screen"
/usr/include/tk.h:597: parse error before "Bool"
/usr/include/tk.h:599: parse error before "window"
/usr/include/tk.h:601: parse error before "XActivateEven
 
How to make it work? 
 
Thank you in advance,
 
Piotr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070924/92532480/attachment.html>


More information about the Python-list mailing list