So near and yet so far... (trying to install PyQt on OS X)

Kenneth McDonald kmmcdonald at wisc.edu
Sun Apr 4 20:10:39 EDT 2004


I'm trying to get QT, SIP, and PyQt installed so I can try
out the Python editor eric. Both sip and qt appear to have
compiled and installed properly. Unfortunately, PyQt,
after compiling most of the files and starting what I
suspect is the final link step, fails with the follwing
message (I've included a few lines above for context):
---------------
[Kenneth-McDonalds-Computer:~/Downloads/PyQt-mac-gpl-3.11] ken% make
c++ -prebind -dynamiclib -headerpad_max_install_names -install_name 
libqtcmodule.so -framework Python -o libqtcmodule.so qtcmodule.o 
sipqtQWorkspace.o sipqtQWMatrix.o sipqtQW ...
(lots more files)
...sipqtQPen.o sipqtQt.o moc_qtcmodule.o -L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages 
-L/Developer/qt/lib -lqassistantclient -lsip -lqt
/usr/bin/libtool: can't locate file for: -lsip
/usr/bin/libtool: file: -lsip is not an object file (not allowed in a library)
make[1]: *** [libqtcmodule.so] Error 1
make: *** [all] Error 2
-------------
and, though I can do some fiddling with make files, I sure
as heck have no idea what to do about this. I would really
appreciate advice on this one, because I'll never solve it
on my own.

Thanks,
Ken




More information about the Python-list mailing list