简体   繁体   English

如何在Sourceforge上安装Perl模块,而不是使用ActiveState安装CPAN?

[英]How do I install a Perl module that's on Sourceforge and not CPAN using ActiveState?

尝试使用Perl 5.12.2(ActiveState)在Windows 7上安装Ptkdb - 我该怎么做?

ptkdb is available on CPAN . ptkdb可在CPAN上使用 It's also available for Perl 5.12 in the bribes repository: 它也可用于贿赂存储库中的Perl 5.12:

ppm install http://www.bribes.org/perl/ppm/Devel-ptkdb.ppd

For pure Perl modules, all you need to do is run the Makefile.PL that comes with the module. 对于纯Perl模块,您需要做的就是运行模块附带的Makefile.PL。 If the module is a mix of Perl and C, you will need to get a C/C++ compiler for Windows that works with your distribution of Perl. 如果模块是Perl和C的混合,则需要获得适用于Perl分发的Windows的C / C ++编译器。 I would recommend asking around for a Windows binary first if it's a mixed module. 如果它是混合模块,我建议首先询问Windows二进制文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM