开发者

Build Windows perl module on Linux

I am in a bit of a bind, I need to get my hands on some perl modules that are available on the any of the repos that Activestate can access. But the module is on CPAN and I got the source code but when I attempt to compile it on Windows it fails. If I run it on my Ubuntu virtual mach开发者_运维问答ine I run MAKE and works fine. Is there anyway to have MAKE on linux compile for Windows so I can get these modules?

The modules in question are Net::SSH::Perl and Net::SSH:W32Perl

Any help would be appreciated.


Some of the modules not available in the AS repositories can be found here.

http://theoryx5.uwinnipeg.ca/ppms/package.lst


This is a problem with ActiveState Perl: It's not really setup to build modules because there's no compiler. Therefore, you depend upon some third party to build and compile the packages for you. I like Active Perl, but this can be a pain.

Download Strawberry Perl. Strawberry Perl is another Windows version of Perl, but it also comes with the MinGW development environment. This will allow you to use CPAN to compile the modules you need. You might even be able to install these modules in your ActiveState Perl installation.

Are you using Perl 5.12? The default University of Winnipeg package manager for that version only has about a 1/2 dozen packages installed on it. I've found more packages available when I added in the URL for version 5.10. Add in the URL http://cpan.uwinnipeg.ca/PPMPackages/10xx/ to the PPM program and see if its there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜