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 python
libboost_python.so
libboost_python.so.1.41.0
libpython2.6.so
libpython2.6.so.1.0
python2.5
python2.6
root@iskandhar:/home/alex#
]
Code:
root@iskandhar:/home/alex# ls -la /usr/lib64/python2.5/site-packages
total 272
drwxr-xr-x 19 root root 4096 2009-12-28 21:07 .
drwxr-xr-x 3 root root 4096 2009-12-28 21:07 ..
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 audiopy
drwxr-xr-x 3 root root 4096 2008-02-21 11:55 bgen
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 buildbot
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 compiler
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 faqwiz
drwxr-xr-x 3 root root 4096 2008-02-21 11:55 framer
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 freeze
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 i18n
drwxr-xr-x 3 root root 4096 2008-02-21 11:55 modulator
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 msi
drwxr-xr-x 3 root root 4096 2008-02-21 11:55 pybench
drwxr-xr-x 3 root root 4096 2008-02-21 11:55 pynche
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 scripts
-rwxr-xr-x 1 root root 95552 2009-12-28 21:07 sip.so
-rw-r--r-- 1 root root 86645 2009-12-28 21:07 sipconfig.py
-rw-r--r-- 1 root root 3332 2009-12-28 21:07 sipdistutils.py
drwxr-xr-x 3 root root 4096 2008-02-21 11:55 unicode
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 versioncheck
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 webchecker
drwxr-xr-x 2 root root 4096 2008-02-21 11:55 world
root@iskandhar:/home/alex#
The problem seems to be that the PyQt4 slackbuild for Slackware 12.2 still does not find sipconfig.py
Code:
root@iskandhar:/home/alex# python
Python 2.5.2 (r252:60911, Dec 28 2009, 20:51:21)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sipconfig.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named sipconfig.py
>>> import sipconfig
Traceback (most recent call last):
>>> import sipconfig
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named sipconfig
File "<stdin>", line 1, in <module>
ImportError: No module named sipconfig
This is the instruction in /tmp/SBo/PyQt-x11-gpl-4.5.4/configure.py tha causes the slackbuild to fail...
What 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