Hi all,
the port of Python 2.1.1 can to be done with the following steps:
-
install the Python archive at /
then do the export cmds: export PYTHONPATH=/Python-2.1.1 ,
export PYTHONHOME=/Python-2.1.1 -
copy all *.py files from /Python-2.1.1/Lib to
/Python-2.1.1/lib/python2.1
(there is a curious fault in the UNIX distribution…) -
configure: CC=qcc LDFLAGS=-Wl,-E CCSHARED="-shared -fPIC"
CFLAGSFORSHARED="-shared -fPIC" LDSHARED=“qcc -shared”
BLDSHARED=“qcc -shared” ./configure --with-threads
(in ONE cmd line …) -
make
-
make install
-
export cmds: export PYTHONPATH=/usr/local/lib/python2.1
export PYTHONHOME=/usr/local/lib/python2.1 -
copy all shared objects from $PYTHONPATH/lib-dynload to
$PYTHONPATH/lib/python2.1 (as you know … there is a curious
faulr …)
Have fun with Python
Armin