What happened to /usr/bin/python ?
Suggest : install / reinstall the original python,
Slackware disk 1 : slackware/d/python-2.5.1-i486-1.tgz
And delete all "Python" in /usr/local/ !
Generally it's a good idea only to use Slackbuilds
http://slackbuilds.org/
and / or
http://www.slacky.eu/ ,
http://connie.slackware.com/~alien/slackbuilds/
My old Slackware 12.0 : Already installed packages ( 01-Jan-2009 ) :
pyqt4-4.4.4-i486-1_SBo.tgz, qt4-4.3.4-i486-1_SBo.tgz, sip-4.7.9 .
Other packages required for QGIS :
http://repository.slacky.eu/slackwar...0-i486-1sl.tgz
> > gdal-1.5.0-i486-1sl.tgz
http://repository.slacky.eu/slackwar...8-i486-1sl.tgz
> > sqlite-3.5.8-i486-1sl.tgz
http://repository.slacky.eu/slackwar...3-i486-1sl.tgz
> > geos-2.2.3-i486-1sl.tgz
http://repository.slacky.eu/slackwar...2-i486-1sl.tgz
> > unixodbc-2.2.12-i486-1sl.tgz
http://repository.slacky.eu/slackwar...1-i486-1sl.tgz
> > postgresql-8.3.1-i486-1sl.tgz
http://repository.slacky.eu/slackwar...1-i486-1sl.tgz
> > gsl-1.11-i486-1sl.tgz
http://repository.slacky.eu/slackwar...0-i486-1sl.tgz
> > proj-4.6.0-i486-1sl.tgz
http://repository.slacky.eu/slackwar...1-i486-1sl.tgz
> > jasper-1.900.1-i486-1sl.tgz
http://repository.slacky.eu/slackwar...4-i486-1sl.tgz
> > libgeotiff-1.2.4-i486-1sl.tgz
Code:
[ 66%] Generating core/Makefile, gui/Makefile
Parsing SIP files for 'core' library...
/usr/bin/sip -c core -b /home/knudfl/qgis_1.0.2/build/python/core/core.sbf -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_3_3 -g /home/knudfl/qgis_1.0.2/python/core/core.sip
Parsing SIP files for 'gui' library...
/usr/bin/sip -c gui -b /home/knudfl/qgis_1.0.2/build/python/gui/gui.sbf -I /home/knudfl/qgis_1.0.2/python -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_3_3 -g /home/knudfl/qgis_1.0.2/python/gui/gui.sip
Creating makefiles...
Creating qgisconfig.py...
Done
[ 66%] Generating core/core.so
[ 66%] Generating gui/gui.so
[ 66%] Built target python
P.S. : Slackware 12.0 : A bit old, isn't it ?