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

  • Thread starter Kenneth McDonald
  • Start date

K

Kenneth McDonald

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
 
Ad

Advertisements

D

David Boddie

Kenneth McDonald said:
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):
---------------

[Output snipped]
-------------
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.

Ken, you might want to report your problem on the PyQt/PyKDE
mailing list (http://mats.imk.fraunhofer.de/mailman/listinfo/pykde).
If you don't get around to doing that within a few days, and if
nobody's replied here, I'll forward your message on.

The output you provided indicated that libsip may not be installed
in an expected place. Have you tried specifying the -s flag when
configuring PyQt?

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top