摘要:
今天安装Perl的调试工具, Devel-ptkdb-1.1091.tar.gz解压后make test时报错:Can't locate Tk.pm。This's because x11/tk doesn't contain Tk.pm. You need to install x11/p5-Tk.具体怎么做呢?1)sudo apt-get install libx11-dev2)sudo cpan -i Tk ##会自动地从CPAN上下载安装Tk.pm此时还是会报错:make[1]: *** [Xlib_f.o] Error 1make[1]: Leaving dir 阅读全文