[Qgis-user] Build problem : Pyqt-4.5 on mac osx Leopard
massimo di stefano
massimodisasha at yahoo.it
Fri Mar 13 01:07:00 PDT 2009
Hi All,
apologize me if my queston can be a bit off topic, but maybe
here someone can give me an help.
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 to the aid of a friend, he suggest me to create a simlink :
sudo ln -s /usr/lib/libQtLucene.dylib /Developer/SDKs/MacOSX10.4u.sdk/
usr/lib
sudo ln -s /usr/lib/libQtLucene.dylib /Developer/SDKs/MacOSX10.5.sdk/
usr/lib
the simlink did the job
qt-4.5 (dmg binary)
sip-4.8-snapshot-20090311
PyQt-mac-gpl-4.5-snapshot-20090311
are compiled on osx without errors, but unlucky they don't works :-
( running any pyqt4.5 example give me these error :
ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/QtCore.so,
2): Symbol not found: _sipQtConnect Referenced from: /Library/Python/
2.5/site-packages/PyQt4/QtCore.so Expected in: dynamic lookup
obviuìously these give me a messsage :
" Python not being built "
tring to build Qgis
Have you any suggestion ?
thanks a lot for any help!
regards,
Massimo Di Stefano
massimodisasha at yahoo.it
epifanio on irc.freenode.net /join gfoss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090313/25e13258/attachment.html>
More information about the Qgis-user
mailing list