-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Hi!
I have tried to use local sockets in kivy app and noticed, that local sockets are disabled at compile time.
Python configure script fails to check "sys/un.h" header (which is sort of broken on android) and disables HAVE_SYS_UN_H flag:
configure:6133: checking sys/un.h usability
configure:6133: ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/android/android-ndk-r8c/platforms/android-14/arch-arm -c -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/android/android-ndk-r8c/platforms/android-14/arch-arm conftest.c >&5
In file included from /home/kivy/android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/sys/un.h:32,
from conftest.c:84:
/home/kivy/android/android-ndk-r8c/platforms/android-14/arch-arm/usr/include/linux/un.h:18: error: expected specifier-qualifier-list before 'sa_family_t'
related android issue: https://code.google.com/p/android/issues/detail?id=53711
Possible solution is to either add workaround to configure script or force-enable HAVE_SYS_UN_H in pyconfig.h.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.