On Thursday 18 March 2010 14:34:25 Josh wrote:
> Hi All,
>
> Need some help building pyside for the first time.
>
> I've built the pre-reqs ( apiextractor, generatorrunner,
> boostpythongenerator) and have built boost 1.38 with the patches
> specified in the build docs.
>
> I do the following to build pyside:
>
> # set PATH to qmake
> export PATH=/home/josh/sandbox/pyside/qt-4.6.1/bin/:$PATH
> cmake -DCMAKE_INSTALL_PREFIX=/home/josh/sandbox/pyside/staging \
> -DBOOST_ROOT=/home/josh/sandbox/pyside/boost_138 \
>
>
> -DCMAKE_MODULE_PATH=/home/josh/sandbox/pyside/staging/share/cmake-2.6/Modu
> les \
>
> -DPYTHON_EXECUTABLE=/home/josh/sandbox/pyside/python2.5/bin/python2.5 \
>
>
> -DPYTHON_SITE_PACKAGES_DIR=/home/josh/sandbox/pyside/python2.5/lib/python/
> site-packages \
>
>
> -DPYTHON_INCLUDE_PATH=/home/sandbox/josh/pyside/python2.5/include/python2.
> 5 \
>
>
> -DPYTHON_LIBRARY=/home/josh/sandbox/pyside/python2.5/lib/libpython2.5.so
>
>
>
> I'm getting the following error:
>
> ...
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Looking for Q_WS_QWS
> -- Looking for Q_WS_QWS - not found.
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Found Qt-Version 4.6.1
> CMake Error: Error in cmake code at
>
> /home/josh/sandbox/pyside/pyside-qt4.6+0.2.3/data/typesystem/CMakeLists.tx
> t:3: Parse error. Function missing ending ")". Instead found left paren
> with text "(".
> ...
What's your cmake version?
> The line in question is this: (from
> pyside-qt4.6+0.2.3/data/typesystem/CMakeLists.txt)
>
> if ((${QT_VERSION_MAJOR} EQUAL 4) AND (${QT_VERSION_MINOR} GREATER 5))
>
> From the initial build output, it appears that my Qt version (4.6.1)
> was found. My guess is that one or both of the QT_VERSION_* variables
> are undefined, causing the "Parse error".
>
> What's the correct way to fix this?
>
> Thanks!
>
> Josh
--
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
