我尝试在远程
linux机器上安装没有root的
Python 2.7.我跑了命令
./configure prefix=/ make install DESTDIR=/xxx/yyy/
其中/ xxx / yyy /是我具有读写访问权限的目录.
我最后碰到了一个问题.它说:
building dbm using gdbm INFO: Can’t
locate Tcl/Tk libs and/or headersPython 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
我是否在没有root访问权限的情况下采取了正确的安装步骤? (即我的configure和make命令?)任何人都可以告诉我为什么它不能正确安装?
谢谢,
KTM