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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…