Hi Renato,
it (shiboken) still says:
-- Found PythonLibs: /usr/lib/libpython2.6.dylib
-- Found PythonInterp: /usr/bin/python2.6
Maybe it’s because Python 2.7 gets installed to
/Library/Frameworks/Python.framework/Versions/2.7/bin rather than /usr/bin. I
also tried installing the PythonUnixTools package which places links to
python2.7 in /usr/local/bin, but this also didn’t help.
Regards,
Stefan
Am 2010-09-22 um 22:37 schrieb Renato Araujo Oliveira Filho:
> to compile with python 2.7 try use this flag on cmake
> "-DCMAKE_USE_PYTHON_VERSION=2.7"
>
> On Wed, Sep 22, 2010 at 5:21 PM, Stefan Scherfke
> <[email protected]> wrote:
>> Hello,
>>
>> I’ve reinstalled Snow Leopard last weekend and am now trying to build PySide
>> for Python 2.7 (ppc/i386/x86-64) and Qt 4.7 (Cocoa 32/64 bit).
>>
>> This time everything actually compiles, but I can’t get cmake to find Python
>> 2.7 instead of the system’s Python 2.6. If I use Carlos’
>> createpackage-script, I get a nice mix of 2.6 and 2.7 stuff.
>>
>> I haven’t worked with cmake yet, but read
>> <http://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_package> and
>> modified my cmake-call to:
>>
>> cmake .. -DCMAKE_INSTALL_PREFIX=../install/usr/
>> -DCMAKE_SYSTEM_FRAMEWORK_PATH=/Library/Frameworks/
>> -DCMAKE_SYSTEM_PREFIX_PATH=/Library/Frameworks/
>> -DCMAKE_PREFIX_PATH=/Library/Frameworks/ CMakeLists.txt
>>
>> I also tried adding:
>>
>> find_package(PythonLibs PATHS /Library/Frameworks/ NO_DEFAULT_PATH)
>>
>> to CMakeLists.txt, but both didn’t work.
>>
>> Any help would be very appreciated. I’ll create and upload a package if I’m
>> eventually able to build that … ;-)
>>
>> Regards,
>> Stefan
>> _______________________________________________
>> PySide mailing list
>> [email protected]
>> http://lists.openbossa.org/listinfo/pyside
>>
>
>
>
> --
> Renato Araujo Oliveira Filho
> Instituto Nokia de Tecnologia - INdT
> Mobile: +55 (81) 8704-2144
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside