如何安装“Perl/Tk 调试器”在 Windows 7 上?
尝试在 Windows 7 上安装“Perl/Tk 调试器”——我一生都在无法弄清楚我需要做什么来安装和运行此应用程序。
要求似乎是:
- Perl< /a> 5.004 或以上
- Tk800.021 或
以上安装 Perl 5.12.2(来自 ActiveState);通过转到 Windows 命令行并输入“perl -v”进行确认。
我不知道的是“Tk800.021”要求;意思是如果它已经存在,如果不存在,该怎么办。
“ppm inst Ptkdb”错误
C:\Users\User>ppm inst Ptkdb
ppm inst failed: Can't find any package that provides Ptkdb
C:\Users\User>ppm inst C:\Devel-ptkdb-1.221.tar.gz
ppm inst failed: Can't find any package that provides C:\Devel-ptkdb-1.221.tar.gz
Trying to install the "Perl/Tk Debugger" on Windows 7 -- and for the life of me I'm unable to figure out what I need to do to install and run this application..
The requirements appear to be:
I've got Perl 5.12.2 (from ActiveState) installed; confirmed by going to the Windows commandline and entering "perl -v".
What I have no idea about is the "Tk800.021" requirement; meaning if it's already present, and if not, what to do.
Error on "ppm inst Ptkdb"
C:\Users\User>ppm inst Ptkdb
ppm inst failed: Can't find any package that provides Ptkdb
C:\Users\User>ppm inst C:\Devel-ptkdb-1.221.tar.gz
ppm inst failed: Can't find any package that provides C:\Devel-ptkdb-1.221.tar.gz
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在命令行上运行 ActiveState 提供的 ppm(perl 包管理器),如下所示:
首先安装最新的 Tk(在我的例子中为版本 804.029),其次安装调试器本身。如果这两个命令都成功运行(在我的机器上成功运行),您应该能够使用以下命令运行调试器:
Try running on command-line the ppm (perl package manager) supplied with ActiveState like this:
First installs most current Tk (version 804.029 in my case), second the debugger itself. If both commands run successfully (on my machine they did), you should be able to run the debugger with: