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

Romuald Riem rriem at free.fr
Thu May 15 21:30:56 BST 2008


Le 14 mai 08 à 22:54, pyqt-request at riverbankcomputing.com a écrit :

> Am Mittwoch, 14. Mai 2008 schrieb Romuald Riem:
>> Hello,
>>
>> I'm trying to build and install PyQt 4.4 on Mac os 10.4.11.
>> I use Python 2.5 and Qt 4.4 (GPL version). I installed PyQt 4.3.3
>> without any problem.
>>
>> I use default values (and the link to qmake) with configure.py
>>
>> The only strange thing at this step is this message:
>> ...
>> QtDesigner module disabled with universal binaries.
>> ....
>>
>> Make ended after a while with this messages:
>> ....
>> 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 -lQtCLucene -
>> 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 i386
>> /usr/bin/ld: can't locate file for: -lQtCLucene
>> collect2: ld returned 1 exit status
>> /usr/bin/ld: for architecture ppc
>> /usr/bin/ld: can't locate file for: -lQtCLucene
>> collect2: ld returned 1 exit status
>> lipo: can't open input file: /var/tmp//cc49FS6U.out (No such file or
>> directory)
>> make[1]: *** [QtHelp.so] Error 1
>> make: *** [all] Error 2
>
> blind guess: replace -lQtCLucene with -framework QtCLucene in the  
> offending
> Makefile..
>
> Pete

Hello,

Thanks very much for this answer.

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.

Any Idea ?

R Riem





More information about the PyQt mailing list