[PyQt] Problem building PyQt 4.4 on Mac OS X (10.4.11)

Hans-Peter Jansen hpj at urpla.net
Thu May 15 22:41:43 BST 2008


Am Donnerstag, 15. Mai 2008 schrieb Romuald Riem:
> Le 14 mai 08 à 22:54, pyqt-request at riverbankcomputing.com a écrit :
> > Am Mittwoch, 14. Mai 2008 schrieb Romuald Riem:
> >
> > blind guess: replace -lQtCLucene with -framework QtCLucene in the
> > offending
> > Makefile..
> >
>
> I try it but I've got the same problem:
> ...
> g++ -headerpad_max_install_names -bundle -F/Library/Frameworks -
> framework Python -arch ppc -arch i386 -Wl,-syslibroot,/Developer/SDKs/
> MacOSX10.4u.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 -framework
> QtCLucene -framework QtSql -framework QtXml -framework QtGui -
> framework Carbon -framework AppKit -framework QtCore -lz -lm -
> framework ApplicationServices -framework QtGui -framework Carbon -
> framework AppKit -framework QtCore -lz -lm -framework
> ApplicationServices -framework QtCore -lz -lm -framework
> ApplicationServices
> /usr/bin/ld: for architecture ppc
> /usr/bin/ld: can't locate framework for: -framework QtCLucene
> collect2: ld returned 1 exit status
> /usr/bin/ld: for architecture i386
> /usr/bin/ld: can't locate framework for: -framework QtCLucene
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccVaGZZz.out (No such file or
> directory)
> make[1]: *** [QtHelp.so] Error 1
>
> And in /usr/lib, there is a "libQtCLucene.4.40.dylib" so I'm not sure
> that the framework option is the solution.

Romuald, as written before, that was really a blind guess. 

You may want to investigate, in which ways this lib differs from the others,
and try to build some of the Qt examples yourself. 

CLucene is a text search engine added in Qt 4.4.0. The trolls may don't deal 
with the Mac specifics in this area correctly (as it is a NEW 3rd party 
component..) Dual arch builds (universal binaries) come to my mind. 

Still guessing..

Pete



More information about the PyQt mailing list