I tried installing Python 2.7 without root on a remote linux machine. I ran the commands
./configure prefix=/
make install DESTDIR=/xxx/yyy/
where /xxx/yyy/ is a directory for which I have read-write access.
I ran into a problem at the end. It said:
building dbm using gdbm INFO: Can't locate Tcl/Tk libs and/or headers
Python build finished, but the necessary bits to build these modules were not found: _tkinter bsddb185 dl imageop sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name.
running build_scripts running install_lib creating /lib/python2.7 error: could not create '/lib/python2.7': Permission denied
Did I take the correct steps in installing it without root access? (i.e., my configure and make commands?) Can anyone tell me why it would not install properly?
Thanks,
ktm