[PySide] Unable build PySide from Source on Linux

Roman Lacko backup.rlacko at gmail.com
Tue Sep 11 14:36:20 CEST 2012


Hi,

2012/9/11 Alexey Vihorev <vihorev at gmail.com>:
> Is there any hope that it will eventually be fixed, or the situation
> has to be considered as permanent?

It should be fixed ASAP, and it would be great if some great windows
developer helps here :)
Thanks
R.

>
> 2012/9/11 Roman Lacko <backup.rlacko at gmail.com>:
>>> PySide 1.1.2 is NOT buildable only against Qt4.8 64bit on windows.
>>
>> and it fails to build agains all versions of python, not just 3.2
>>
>>>
>>> PySide 1.1.2 against Qt4.8 64bit on linux is OK.
>>> PySide 1.1.2 against Qt4.8 32bit on windows and linux is OK.
>>> PySide 1.1.2 against Qt4.7 64bit on windows and linux is OK.
>>> PySide 1.1.2 against Qt4.7 32bit on windows and linux is OK.
>>>
>>> Regards
>>> R.
>>>
>>> 2012/9/11 Tejashri Kandolkar <tejashri.kandolkar at gmail.com>:
>>>> Hi,
>>>>
>>>> A bit of confusion..could you please clarify?
>>>>
>>>> PySide1.1.2 + Python2.7 + Qt4.7.4 on 64-bit(both Win and Linux) is OK
>>>> PySide1.1.2 + Python3.2 + Qt4.7.4 on 64-bit(both Win and Linux) is NOT OK???
>>>>
>>>> Regards,
>>>> Tej
>>>>
>>>> On Tue, Sep 11, 2012 at 4:53 PM, Roman Lacko <backup.rlacko at gmail.com>
>>>> wrote:
>>>>>
>>>>> forgot to say that 64bit still does not build, just 32bit
>>>>>
>>>>> R.
>>>>>
>>>>> 2012/9/11 Roman Lacko <backup.rlacko at gmail.com>:
>>>>> > Hi Tej,
>>>>> >
>>>>> > 2012/9/11 Tejashri Kandolkar <tejashri.kandolkar at gmail.com>:
>>>>> >> Hi Roman,
>>>>> >>
>>>>> >> I was able to build PySide successfully on Windows 7 with Python 2.7.
>>>>> >> I now wanted to build it with Python 3.2..So wanted to know if the bug
>>>>> >> was
>>>>> >> fixed and if PySide can now be built with Python3.2?
>>>>> >
>>>>> > Yes, all known bugs were fixed and You can build even with latest Python
>>>>> > 3.3rc2
>>>>> >
>>>>> >>
>>>>> >> Also, how do I check if I am getting the latest released PySide code?
>>>>> >> Is it that when I clone from github (without mentioning a version), it
>>>>> >> will
>>>>> >> always get the latest release?
>>>>> >>
>>>>> >
>>>>> > The setup.py build script has two parameters that control version of
>>>>> > PySide modules cloned from git: --list-versions and --version.
>>>>> >
>>>>> > For example to build latest stable version run:
>>>>> > python setup.py bdist --version=1.1.2 [...other params]
>>>>> >
>>>>> > To build latest development version run:
>>>>> > python setup.py bdist --version=1.1.3dev [...other params]
>>>>> >
>>>>> > To list all available versions run:
>>>>> > python setup.py --list-versions
>>>>> >
>>>>> > Regards
>>>>> > Roman
>>>>> >
>>>>> >> Regards,
>>>>> >> Tej
>>>>> >>
>>>>> >> On Mon, Sep 10, 2012 at 12:16 PM, Roman Lacko <backup.rlacko at gmail.com>
>>>>> >> wrote:
>>>>> >>>
>>>>> >>> Hi Tej,
>>>>> >>>
>>>>> >>> the windows build will be available today or tomorrow, for python 2.7,
>>>>> >>> 3.2 and also 3.3rc
>>>>> >>>
>>>>> >>> Regards
>>>>> >>> Roman
>>>>> >>>
>>>>> >>> 2012/9/10 Tejashri Kandolkar <tejashri.kandolkar at gmail.com>:
>>>>> >>> > Also, another question that I had was that is the build successful
>>>>> >>> > with
>>>>> >>> > Python 3.1 (on Win7 32/64 and Linux 64bit?)
>>>>> >>> >
>>>>> >>> > Regards,
>>>>> >>> > Tej
>>>>> >>> >
>>>>> >>> > On Mon, Sep 10, 2012 at 12:11 PM, Tejashri Kandolkar
>>>>> >>> > <tejashri.kandolkar at gmail.com> wrote:
>>>>> >>> >>
>>>>> >>> >> Hi,
>>>>> >>> >>
>>>>> >>> >> Thanks, I haven't tried building it again yet, but will be trying
>>>>> >>> >> it
>>>>> >>> >> soon.
>>>>> >>> >> Also, can I have a rough idea of when the next release(with the
>>>>> >>> >> python3.2
>>>>> >>> >> related bug fixed) will be available?
>>>>> >>> >>
>>>>> >>> >> Because, ultimately I have to use Pyhon3.2.
>>>>> >>> >>
>>>>> >>> >> Regards,
>>>>> >>> >> Tej
>>>>> >>> >>
>>>>> >>> >>
>>>>> >>> >> On Thu, Sep 6, 2012 at 11:56 AM, Roman Lacko
>>>>> >>> >> <backup.rlacko at gmail.com>
>>>>> >>> >> wrote:
>>>>> >>> >>>
>>>>> >>> >>> Hi,
>>>>> >>> >>>
>>>>> >>> >>> here is another option how to build PySide from source on Linux
>>>>> >>> >>> [1].
>>>>> >>> >>> There is known bug when building with python 3.2 that i will fix
>>>>> >>> >>> in
>>>>> >>> >>> next release.
>>>>> >>> >>>
>>>>> >>> >>> Regards
>>>>> >>> >>> R.
>>>>> >>> >>>
>>>>> >>> >>> [1]
>>>>> >>> >>>
>>>>> >>> >>>
>>>>> >>> >>> http://pypi.python.org/pypi/PySide#installing-pyside-from-source-on-a-unix-system-ubuntu-12-04-lts
>>>>> >>> >>>
>>>>> >>> >>> 2012/9/6 Tejashri Kandolkar <tejashri.kandolkar at gmail.com>:
>>>>> >>> >>> > Hi,
>>>>> >>> >>> >
>>>>> >>> >>> > I am trying to build Pyside on Linux RHEL 64-bit machine.
>>>>> >>> >>> > I followed the steps mentioned @
>>>>> >>> >>> > http://qt-project.org/wiki/Building_PySide_on_Linux, but i face
>>>>> >>> >>> > build
>>>>> >>> >>> > issues.
>>>>> >>> >>> >
>>>>> >>> >>> > I got the source code for the same from
>>>>> >>> >>> > http://qt-project.org/wiki/PySideDownloads
>>>>> >>> >>> > and I only find PySide and Shiboken tar files (ApiExtractor and
>>>>> >>> >>> > generatorrunner directories are inside the Shiboken dir)
>>>>> >>> >>> >
>>>>> >>> >>> > Just want to make sure if thats the correct way to build PySide
>>>>> >>> >>> > from
>>>>> >>> >>> > source?
>>>>> >>> >>> >
>>>>> >>> >>> > I get the following error when I run cmake inside the
>>>>> >>> >>> > PySide/build
>>>>> >>> >>> > dir.
>>>>> >>> >>> > .........]$ cmake ..
>>>>> >>> >>> > -- The C compiler identification is GNU 4.4.4
>>>>> >>> >>> > -- The CXX compiler identification is GNU 4.4.4
>>>>> >>> >>> > -- Check for working C compiler: /usr/bin/gcc
>>>>> >>> >>> > -- Check for working C compiler: /usr/bin/gcc -- works
>>>>> >>> >>> > -- Detecting C compiler ABI info
>>>>> >>> >>> > -- Detecting C compiler ABI info - done
>>>>> >>> >>> > -- Check for working CXX compiler: /usr/bin/c++
>>>>> >>> >>> > -- Check for working CXX compiler: /usr/bin/c++ -- works
>>>>> >>> >>> > -- Detecting CXX compiler ABI info
>>>>> >>> >>> > -- Detecting CXX compiler ABI info - done
>>>>> >>> >>> > CMake Error at CMakeLists.txt:8 (find_package):
>>>>> >>> >>> >   By not providing "FindGeneratorRunner.cmake" in
>>>>> >>> >>> > CMAKE_MODULE_PATH
>>>>> >>> >>> > this
>>>>> >>> >>> >   project has asked CMake to find a package configuration file
>>>>> >>> >>> > provided
>>>>> >>> >>> > by
>>>>> >>> >>> >   "GeneratorRunner", but CMake did not find one.
>>>>> >>> >>> >
>>>>> >>> >>> >   Could not find a package configuration file provided by
>>>>> >>> >>> > "GeneratorRunner"
>>>>> >>> >>> >   (requested version 0.6.16) with any of the following names:
>>>>> >>> >>> >
>>>>> >>> >>> >     GeneratorRunnerConfig.cmake
>>>>> >>> >>> >     generatorrunner-config.cmake
>>>>> >>> >>> >
>>>>> >>> >>> >   Add the installation prefix of "GeneratorRunner" to
>>>>> >>> >>> > CMAKE_PREFIX_PATH
>>>>> >>> >>> > or
>>>>> >>> >>> >   set "GeneratorRunner_DIR" to a directory containing one of the
>>>>> >>> >>> > above
>>>>> >>> >>> > files.
>>>>> >>> >>> >   If "GeneratorRunner" provides a separate development package
>>>>> >>> >>> > or
>>>>> >>> >>> > SDK,
>>>>> >>> >>> > be
>>>>> >>> >>> >   sure it has been installed.
>>>>> >>> >>> >
>>>>> >>> >>> >
>>>>> >>> >>> > -- Configuring incomplete, errors occurred!
>>>>> >>> >>> >
>>>>> >>> >>> > Can anyone help on the proper build steps for building Pyside
>>>>> >>> >>> > from
>>>>> >>> >>> > Source?
>>>>> >>> >>> >
>>>>> >>> >>> > Regards,
>>>>> >>> >>> > Tej
>>>>> >>> >>> >
>>>>> >>> >>> > _______________________________________________
>>>>> >>> >>> > PySide mailing list
>>>>> >>> >>> > PySide at qt-project.org
>>>>> >>> >>> > http://lists.qt-project.org/mailman/listinfo/pyside
>>>>> >>> >>> >
>>>>> >>> >>
>>>>> >>> >>
>>>>> >>> >
>>>>> >>> >
>>>>> >>> > _______________________________________________
>>>>> >>> > PySide mailing list
>>>>> >>> > PySide at qt-project.org
>>>>> >>> > http://lists.qt-project.org/mailman/listinfo/pyside
>>>>> >>> >
>>>>> >>
>>>>> >>
>>>>
>>>>
>> _______________________________________________
>> PySide mailing list
>> PySide at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
>
> --
> Алексей Вихорев



More information about the PySide mailing list