![]() |
PyQt4 module error in SlackBuild for Slackware 12.2 under Slackware64 13...
Hi Forum,
I am trying to build PyQt4.Qtcore for my Slackware64 13 box... So I went to slackBuilds, and grabbed the tarballs... The link for PyQt-X11 is not active, so I grebbed the sources from http://pyqwt.sourceforge.net/support/. Anyway, edited the slackbuild to build it to x86_64, and ran it... This error pops up... : Code:
.........................................................Does anyone has any Idea of what this may be...? IMPORTANT INFO: I downgraded the version of Python to 2.5.2... Is Python from SL 12.2 an older version than this... ? BRGDS Alex |
Did you rebuild sip against the new (err older) Python 2.5? Sip is needed to build PyQt. On 13.0 its here.
Code:
# find /var/log/packages/ -type f | xargs grep 'sipconfig' |
Hi LarryHaja
Sip is there allright : Quote:
The thingie is there, but fails to be found... guess in case it would live in usr/.../Python2.5/site-packages/sipconfig.py PyQt4 would build... Anyway, dunno... Is there some harm in grabbing the SlackBuild of sip, rebuilding the package, and installpkg it with my current version of Python...? IMHO it is the most sane way of throwing it where it is more likely to be searched for... What do you think...? BRGDS Alex |
Hi Forum
My sipconfig.py was in usr/lib/Python2.5/site-packages/sipconfig.py... So, to make it be in usr/lib64/Python2.5/site-packages, I removepkg Python2.5, changed the SlackBuild so that Python libraries would land in /usr/lib64, and also changed sip slackbuild so that PYTHONLIB=/usr/lib64/python2.5/site-packages. Reinstalled "new version" of Python-2.5.2, as well as Sip... Code:
root@iskandhar:/home/alex# ls /usr/lib64 | grep pythonCode:
root@iskandhar:/home/alex# ls -la /usr/lib64/python2.5/site-packagesCode:
root@iskandhar:/home/alex# pythonWhat can I do, besides of "shifting" site-packages from /usr/lib/python2.5 to /usr/lib64/python2.5 ( which I have already done... ) Was this a wise decision anyway...? BRGDS Alex |
| All times are GMT -5. The time now is 05:47 PM. |