我无法访问我的centos7的根目录,我想从源代码安装Tkinter,在我下载Tcl和tk8后我跟着附加的链接,但是在写完之后我遇到了这个问题 "使"第二步
In file included from /home/rebali/Downloads/tk8.7a1/unix/../generic/tkPort.h:21:0,
from /home/rebali/Downloads/tk8.7a1/unix/../generic/tkInt.h:19,
from /home/rebali/Downloads/tk8.7a1/unix/../generic/tkStubLib.c:14:
/home/rebali/Downloads/tk8.7a1/unix/../generic/tk.h:96:25: fatal error: X11/Xlib.h: No such file or directory
# include <X11/Xlib.h>
^
compilation terminated.
make: *** [tkStubLib.o] Error 1
frist step
cd/Downloads/tcl8.7a1/unix
./configure --prefix=/home/rebali/cnel711 --exec-prefix=/home/rebali/cnel711
make
make install
second step
cd/Downloads/tk8.7a1/unix
./configure --prefix=/home/rebali/cnel711 --exec-prefix=/home/rebali/cnel711 --with-tcl=/home/rebali/cnel711/lib
make
make install