Well, i’ve been trying to compile pyside for python 3.3 (Following these [qt-project.org] instructions).
But i’m running into a problem:
The command: “runcmake” i created following the tutorial automatically gets the python 2.7 libraries.
So i went to the build scripts and i found this:
if [ "$PYSIDE_BUILDSCRIPTS_USE_PYTHON3" == "yes" ]; then
PYSIDE_BS_CMAKE_FLAGS=$PYSIDE_BS_CMAKE_FLAGS" -DUSE_PYTHON3=1"
fi
so i changed the command to use the “-DUSE_PYTHON3=1” flag.
The problem now is that it gets the python3.2 libraries.
I opened the CMAKELISTS.txt and found other flags.
I added them to the command matching my python3.3 installation:
alias runcmake='cmake .. -DCMAKE_INSTALL_PREFIX=$PYSIDESANDBOXPATH -DCMAKE_BUILD_TYPE=Debug -DENABLE_ICECC=0 -DUSE_PYTHON3=1 -DPYTHON3_DBG_EXECUTABLE=$HOME/.python/3.3.0/bin/python3.3 -DPYTHON3_EXECUTABLE=$HOME/.python/3.3.0/bin/python3.3 -DPYTHON3_LIBRARIES=$HOME/.python/3.3.0/lib/libpython3.3m.a -DPYTHON3_DEBUG_LIBRARIES=$HOME/.python/3.3.0/lib/libpython3.3m.a -DPYTHON3_INCLUDE_DIRS=$HOME/.python/3.3.0/include/'
NOTE: I have installed python 3.3 from source in my home directory
Now it gets everything except this:
-- Found Python3Libs: /usr/lib/libpython3.2mu.so
Any help?
My system: Linux Mint 14 (Based on Ubuntu 12.10), 64 bit
↧