Hi, i'm trying to compile qt5 to package it (i need only the base and network modules) but it fails every time importing the python module bzip2, it's needed because the compiler runs a python script at the end of the v8 javascript engine compilation. here is the link to the makefile: https://github.com/rferrazz/qwebdomo-op … master/qt5
Can someone help me?
Here is the error:
python /home/riccardo/Packages/carambola-master/build_dir/target-mipsel_r2_uClibc-0.9.33.2/qt-everywhere-opensource-src-5.0.2/qtjsbackend/src/v8/../3rdparty/v8/tools/js2c.py generated-release/libraries.cpp CORE off /home/riccardo/Packages/carambola-master/build_dir/target-mipsel_r2_uClibc-0.9.33.2/qt-everywhere-opensource-src-5.0.2/qtjsbackend/src/v8/../3rdparty/v8/src/macros.py ../3rdparty/v8/src/runtime.js ../3rdparty/v8/src/v8natives.js ../3rdparty/v8/src/array.js ../3rdparty/v8/src/string.js ../3rdparty/v8/src/uri.js ../3rdparty/v8/src/math.js ../3rdparty/v8/src/messages.js ../3rdparty/v8/src/apinatives.js ../3rdparty/v8/src/date.js ../3rdparty/v8/src/regexp.js ../3rdparty/v8/src/json.js ../3rdparty/v8/src/liveedit-debugger.js ../3rdparty/v8/src/mirror-debugger.js ../3rdparty/v8/src/debug-debugger.js
Traceback (most recent call last):
File "/home/riccardo/Packages/carambola-master/build_dir/target-mipsel_r2_uClibc-0.9.33.2/qt-everywhere-opensource-src-5.0.2/qtjsbackend/src/v8/../3rdparty/v8/tools/js2c.py", line 36, in <module>
import bz2
ImportError: No module named bz2
make[7]: *** [generated-release/libraries.cpp] Error 1
make[7]: Leaving directory `/home/riccardo/Packages/carambola-master/build_dir/target-mipsel_r2_uClibc-0.9.33.2/qt-everywhere-opensource-src-5.0.2/qtjsbackend/src/v8'
(Last edited by rferrazz on 12 Jun 2013, 07:10)