Click to See Complete Forum and Search --> : Python Upgrade trouble


dpipper
04-11-2001, 10:08 AM
I want to upgrade my version of Python 1.51 to accomodate for Mailman which needs a newer version of python. I downloaded the Python source and put it in my /tmp folder. I then did the following as root:

./configure
make

When I type python, I still get the old version (1.51) instead of the newer one I upgraded to.

Should I have compiled python in the folder it was to be placed? Am I missing something?

I'm running RH 6.0 with kernel 2.2.5-15

Thanks

dpipper

Tyr-7BE
04-11-2001, 10:11 AM
Did you type "make install" afterwards? Make will compile the .c files into binaries, but make install will move them to where they're supposed to be.

dpipper
04-11-2001, 10:20 AM
Yep. Did make install, too. Still reads 1.51. Should I have deleted the old version first or can I still?

Thanks

Tyr-7BE
04-11-2001, 10:26 AM
Try finding the python binary (probably in /usr/bin or /usr/local/bin or even /bin), and edit it. See whether or not it's a reference to another file. If it is, then you can just change the reference to the new python. If it's just garble, then I'm afraid I don't know :p

dpipper
04-11-2001, 11:06 AM
Nope. Can't edit the file, it's just bunk. Any other help would be appreciated.

Thanks again.