[PyQt] build sip on osx (unix way, no framework)

Phil Thompson phil at riverbankcomputing.com
Tue Jun 1 09:39:52 BST 2010


On Tue, 1 Jun 2010 10:21:44 +0200, Massimo Di Stefano
<massimodisasha at gmail.com> wrote:
> Hi,
> 
> I'm tring to build sip on mac osx using python compiled from source
> in a standard unix fashon, without framework.
> 
> i used this line to configure sip :
> 
> python configure.py -d /usr/local/gislib/unix/lib/python2.6/site-packages
> -b /usr/local/gislib/unix/bin -e /usr/local/gislib/unix/include -v
> /usr/local/gislib/unix/share --arch=x86_64
> This is SIP 4.10.2 for Python 2.6.5 on darwin.
> The SIP code generator will be installed in /usr/local/gislib/unix/bin.
> The SIP module will be installed in
> /usr/local/gislib/unix/lib/python2.6/site-packages.
> The SIP header file will be installed in /usr/local/gislib/unix/include.
> The default directory to install .sip files in is
> /usr/local/gislib/unix/share.
> The platform/compiler configuration is macx-g++.
> MacOS/X binaries will be created for x86_64.
> Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
> Error: SIP requires Python to be built as a framework
> [18007 refs]
> 
> 
> how can i build sip without a python framework ?

You will have to hack at configure.py.

Phil


More information about the PyQt mailing list