Message83767
I couldn't install setuptools (required by gitosis) because Python 2.6.1
didn't install socket when I built it. A little digging and I
uncommented the "_socket socketmodule.c" line in Modules/Setup.
Unfortunately, the Bluetooth socket stuff in Modules/socketmodule.c was
broken under NetBSD. I made this patch and tested on NetBSD 4.0.1.
When researching this bug on bugs.python.org, I noticed issue5400 which,
in order to get Modules/socketmodule.c compiling, disabled Bluetooth
socket support entirely. That isn't necessary. I just had to ensure the
various structure references made use of the proper member names
(according to NetBSD's /usr/include/netbt/bluetooth.h header file). The
changes I made were similar, though not precisely the same, as those for
FreeBSD.
After patching and building:
ramsey@wizard /opt/build/runtime/Python-2.6.1$ ./python -bb -E
Lib/test/regrtest.py test_socket
test_socket
1 test OK. |
|
Date |
User |
Action |
Args |
2009-03-18 18:21:35 | yesmar | set | recipients:
+ yesmar |
2009-03-18 18:21:34 | yesmar | set | messageid: <1237400494.47.0.163345338744.issue5510@psf.upfronthosting.co.za> |
2009-03-18 18:21:30 | yesmar | link | issue5510 messages |
2009-03-18 18:21:29 | yesmar | create | |
|