[PyQt] LONG_BIT error static compiling Python3.4.2 for Android

lloyd konneker bootch at nc.rr.com
Wed Feb 4 22:01:48 GMT 2015


Using the same scripts and procedures that I used with pyqtdeploy 0.8, now with 0.9 I get:

Configuring
Configuring /Users/bootch/pensoolpyqtdeploy/Downloads/Python-3.4.2 as Python v3.4.2 for android-32
Patching /Users/bootch/pensoolpyqtdeploy/Downloads/Python-3.4.2/Include/unicodeobject.h
pyqtdeploycli: /Users/bootch/pensoolpyqtdeploy/Downloads/Python-3.4.2/Include/unicodeobject.h:2269: line does not match diff context

qmake ing

make ing
/Users/bootch/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -fwrapv -O3 -fPIC -Wno-psabi -DNDEBUG -DPy_BUILD_CORE -DPLATFORM=\"linux\" -I../../../Qt/5.4/android_armv7/mkspecs/android-g++ -I. -I. -IInclude -I../../../android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I../../../android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I../../../android-ndk-r10d/platforms/android-9/arch-arm/usr/include -o .obj/getbuildinfo.o Modules/getbuildinfo.c
In file included from Include/Python.h:50:0,
                 from Modules/getbuildinfo.c:1:
Include/pyport.h:814:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
 #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  ^
make: *** [.obj/getbuildinfo.o] Error 1


I will upgrade to pyqtdeploy v0.10 and try again.

host is OSX
Qt5.4
Python3.4.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150204/d1f6ae30/attachment.html>


More information about the PyQt mailing list