[PyKDE] ANNOUNCE: SIP v2.4pre2
Jan Ekholm
chakie at infa.abo.fi
Mon Mar 12 10:10:31 GMT 2001
On Fri, 9 Mar 2001, Phil Thompson wrote:
>SIP v2.4pre2 is at http://www.river-bank.demon.co.uk/software/private/.
>Apparantly v2.4pre1 wouldn't compile unless you were using Python
>v2.1b1.
>
>PyQt stays at v2.4pre1.
Thanks.
sip compiles and installs just fine. The included file 'sip.spec' works ok
for me too, and creates working rpm files, which is really nice. I noticed
that PyQt does have a PyQt.spec too, and I tried to use it, as I prefer to
have rpm:s if possible.
It compiles ok now (but takes a while on my older P2-333) using the
'PyQt.spec' file, but the installation part fails. It assumes Python is
installed in /usr, but the older BeOpen-Python-2.0 rpm:s are installed in
/usr/local. Thus the rpm-making fails in the end at:
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: PyQt-2.4pre1-1
File not found:
/tmp/PyQt-2.4pre1-root/usr/lib/python2.0/site-packages/eric
File not found:
/tmp/PyQt-2.4pre1-root/usr/lib/python2.0/site-packages/libqtcmodule-2.4.so
File not found:
/tmp/PyQt-2.4pre1-root/usr/lib/python2.0/site-packages/libqtcmodule.la
File not found:
/tmp/PyQt-2.4pre1-root/usr/lib/python2.0/site-packages/libqtcmodule.so
File not found:
/tmp/PyQt-2.4pre1-root/usr/lib/python2.0/site-packages/qt.py
File not found:
/tmp/PyQt-2.4pre1-root/usr/lib/python2.0/site-packages/qt.pyc
Requires: sip = 2.4pre1
Processing files: PyQt-devel-2.4pre1-1
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
Apparently the build process will install the files in the proper places
(for me), but the PyQt.spec uses the hardcoded paths. I'll change the
prefix in PyQt.spec and see what it does. Apparently the %files section in
PyQt.spec should be dynamically generated based on the Python path.
Anyway, thanks for the fixes!
Regards,
Chakie
--------------------+--------------------------------------------------------
Jan 'Chakie' Ekholm | Balrog New Media http://www.balrog.fi/
Linux Inside | I'm the blue screen of death, nobody hears your screams
More information about the PyQt
mailing list