Thanks all:

I was successful building
        python 2.4.3 (framework)
        Qt Mac 4.1.2
        sip-snapshot-20060418
        PyQt-snapshot-20060418

        Mac OSX 10.4.5

I could not find Andy Davidoff's post but the
./configure options below got me in the ballpark.

For the benefit of other trying the
same, after building:

        1.      in the python source dir
        
                make sure to do a:
                make frameworkinstall
                sudo make frameworkinstallunixtools

        2.      in the PyQt4 source dir

                make sure to do a:
                ln -s /usr/local/lib/python2.4/site-packages/PyQt4      \
/Library/Frameworks/Python.framework/Versions/2.4/lib/site- packages/PyQt4



M



On Apr 10, 2006, at 11:13 PM, Emanuele Santos wrote:

Phil,
which mac  and python version do you use?

Using the hint that Andy Davidoff posted some days ago in the pyqt- mac list to compile python 2.4.2 from source:

  DYNLOADFILE=dynload_shlib.o ./configure --enable-framework --enable-
toolbox-glue --enable-shared

I could run PyQt4 on a Mac G5 PPC. My problem now is with the mac intel. On the MacBook Pro, if I use Python that comes with it or the binary installation (2.4.3) I get the same ImportError incorrect format for dynamic loading. I tried to compile Python from source on a mac intel with no success.

Thanks

--Emanuele.

On Apr 10, 2006, at 2:50 PM, Phil Thompson wrote:

On Monday 10 April 2006 9:38 pm, michael ferraro wrote:
I know this may be a bit premature but ...

I recently tried to build PyQt4 on MacOSX 10.4.5 and I get
an ImportError incorrect format for dynamic loading.
I think this is because  Qt 4.1.2 and PyQt4 get built with dylib's
instead of bundles.  Based on the message below it appears
I should build qt4 with -no-framework --

Is this true, or am I doing something else wrong. Or, should
I just sit tight

What do you mean by "recently"?

Current snapshots build fine on my Mac - both framework and non- framework
builds of Qt.

Phil

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to