Hi Amos,

thanks for reporting this. We (setup.py authors) know about missing
documentation in setup.py (and PyPI) about building on OSX. We will try to
update the documentation and add the missing parts before next release.

Thanks
Roman


2013/9/12 Amos Anderson <[email protected]>

> Hello PySide list --
>
> I started this email to ask for help fixing a bug, but after pawing
> through the setup.py script, I found the fix myself... So this email is to
> request that this be documented somewhere like on the PyPi page! I was
> using a command like this to build pyside:
>
> python setup.py build --cmake /Users/amosa/triad/tools/cmake/bin/cmake
> --qmake /Users/amosa/triad/tools/qt/Qt/bin/qmake
>
> but I was getting this error with all the things I tried (different OSX
> machines, different cmake versions, different pythons, etc):
>
>
> /bin/sh: line 1: 13240 Segmentation fault: 11
>  
> /Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_install/py2.7-qt4.8.4-64bit-release/bin/shiboken
> --generator-set=shiboken --enable-parent-ctor-heuristic
> --enable-pyside-extensions --enable-return-value-heuristic
> --use-isnull-as-nb_nonzero
> /Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_build/py2.7-qt4.8.4-64bit-release/pyside/PySide/pyside_global.h
> --include-paths=/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide:/Library/Frameworks
> --typesystem-paths=/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide:/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide/QtCore
> --output-directory=/Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_build/py2.7-qt4.8.4-64bit-release/pyside/PySide/QtCore
> --license-file=/Users/amos/triad/tools/pyside/PySide-1.2.1/sources/pyside/PySide/QtCore/../licensecomment.txt
> /Users/amos/triad/tools/pyside/PySide-1.2.1/pyside_build/py2.7-qt4.8.4-64bit-release/pyside
>  /PySide/QtCore/typesystem_core.xml --api-version=4.8
> --drop-type-entries=""
> make[2]: ***
> [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp] Error 139
> make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
> make: *** [all] Error 2
> error: Error compiling pyside
>
>
>
> The problem was that I needed to set the environment variable QTDIR...
> It's unintuitive to me to tell people that they should specify the path to
> qmake when using the PyPi install, but then say nothing about QTDIR! Well,
> perhaps at least this email will show up when people google the error
> message.
>
> Thanks!
> Amos.
>
>
>
>
>
>
>
>
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/pyside
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to