[PySide] Can't build with -Dshiboken_SUFFIX

todd rme toddrme2178 at gmail.com
Wed Apr 25 10:41:00 CEST 2012

On Tue, Apr 24, 2012 at 1:43 PM, todd rme <toddrme2178 at gmail.com> wrote:
> On Mon, Apr 23, 2012 at 7:06 PM, Hugo Parente Lima <hugo.pl at gmail.com> wrote:
>> On Monday, April 23, 2012 04:50:48 PM todd rme wrote:
>>> On Mon, Apr 23, 2012 at 4:39 PM, Hugo Parente Lima
>>> <hugo.lima at openbossa.org> wrote:
>>> > On Monday, April 23, 2012 03:00:12 PM todd rme wrote:
>>> >> I am trying to do a parallel install of pyside and shiboken on python
>>> >> 2 and python 3 under linux.  I tried setting the cmake variable
>>> >> -Dshiboken_SUFFIX="-python3.2".  However, it gives the following error
>>> >
>>> >> when I do so:
>>> > The suffix is added automatically, IIRC you don't need to set it
>>> Not by default, and judging by the cmake files when it is set it looks
>>> like it uses the shiboken version not the python version.  I want to
>>> install it for multiple python versions, not multiple shiboken
>>> versions.
>> No, it uses the Python version used to compile Shiboken (libshiboken.so)
> I just tried it.
> By default it create, for example, /usr/include/shiboken/
> If I set -DENABLE_VERSION_SUFFIX=True it creates
> /usr/include/shiboken-1.1/ (the shiboken version)
> What I need it to do is create something like
> /usr/include/shiboken-3.2/ (the python version),
> /usr/include/shiboken-python3.2/, or /usr/include/shiboken-py3.2/

Also, it doesn't look like this macro works with pkg-config, which
still points to /usr/include/shiboken instead of

It also doesn't have any effect on the .cmake files
ShibokenConfig.cmake and ShibokenConfigVersion.cmake

Considering that a lot of critical python software still depends on
python2, it would be nice if there was a built-in way to install
python 2 and python 3 versions in parallel.


More information about the PySide mailing list