I posted about this less than a day ago: While I wait for the next snapshot, I have tried compiling against python2.5, and the compile proceeds. However, I did run into an issue with lucene, like mentioned in this post:
http://article.gmane.org/gmane.comp.python.pyqt-pykde/12047 I had the same issue compiling pyqt4.4, so I decided to chase it up this time. I use osx 10.4 and so I need to pass a command to the sip compile specifying /developer/sdks/macosx10.4u.. when configuring in order to get universal binaries. This results in an arg being passed to gcc telling it that the library root is that directory, and so the lucene libs which are installed in /usr/lib are not found. I worked around the problem by copying the libs from /usr/lib into /developer/sdks/macosx10.4u.sdk/usr/lib On Fri, Mar 13, 2009 at 6:06 AM, massimo di stefano <[email protected]> wrote: > Hi All, > I'm tring to install pyqt4.5 on mac osx leopard (10.5.6) > these the procedure i follow to build it : > > sip: > > export MACOSX_DEPLOYMENT_TARGET=10.5 > python configure.py -n -d /Library/Python/2.5/site-packages \ > -b /usr/local/bin -e /usr/local/include -v /usr/local/share/sip \ > -s MacOSX10.5.sdk > make > sudo make install > > pyqt: > > export QTDIR=/Developer/Applications/Qt > python configure.py -d /Library/Python/2.5/site-packages \ > -b /usr/local/bin > make > sudo make install > > > > > unluky it fails with these error : > ... > .... > g++ -headerpad_max_install_names -bundle -undefined dynamic_lookup -arch ppc > -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -o QtHelp.so > sipQtHelpcmodule.o sipQtHelpQMap.o sipQtHelpQList.o > sipQtHelpQHelpSearchResultWidget.o sipQtHelpQHelpSearchQueryWidget.o > sipQtHelpQHelpSearchEngine.o sipQtHelpQHelpSearchQuery.o > sipQtHelpQHelpIndexWidget.o sipQtHelpQHelpIndexModel.o > sipQtHelpQHelpEngineCore.o sipQtHelpQHelpEngine.o > sipQtHelpQHelpContentWidget.o sipQtHelpQHelpContentModel.o > sipQtHelpQHelpContentItem.o -F/Library/Frameworks -L/Library/Frameworks > -framework QtHelp -lQtCLucene -framework QtSql -framework QtXml -framework > QtGui -framework Carbon -framework AppKit -framework QtNetwork -framework > SystemConfiguration -framework QtCore -lz -lm -framework ApplicationServices > -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz > -lm -framework ApplicationServices -framework QtCore -lz -lm -framework > ApplicationServices > > ld: library not found for -lQtCLucene > collect2: ld returned 1 exit status > ld: library not found for -lQtCLucene > collect2: ld returned 1 exit status > lipo: can't open input file: > /var/folders/15/15zQj3qeHemLNapL-foqC++++TI/-Tmp-//ccm0K1y8.out (No such > file or directory) > make[1]: *** [QtHelp.so] Error 1 > make: *** [all] Error 2 > > at these link a text file with the complete log fro sip and pyqt build : > http://www.geofemengineering.it/data/pyqt_osx_build.log > > Thanks a lot for any help! > regards, > > Massimo Di Stefano > [email protected] > epifanio on irc.freenode.net /join gfoss > > > > > > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
