1 #line 1 "inc/Module/Install/Win32.pm - /Users/ingy/local/lib/perl5/site_perl/5.8.6/Module/Install/Win32.pm"
2 package Module::Install::Win32;
3 use Module::Install::Base; @ISA = qw(Module::Install::Base);
9 # determine if the user needs nmake, and download it if needed
12 $self->load('can_run');
13 $self->load('get_file');
17 $Config::Config{make} and
18 $Config::Config{make} =~ /^nmake\b/i and
20 !$self->can_run('nmake')
23 print "The required 'nmake' executable not found, fetching it...\n";
25 require File::Basename;
26 my $rv = $self->get_file(
27 url => 'http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe',
28 ftp_url => 'ftp://ftp.microsoft.com/Softlib/MSLFILES/Nmake15.exe',
29 local_dir => File::Basename::dirname($^X),
31 run => 'Nmake15.exe /o > nul',
32 check_for => 'Nmake.exe',
39 -------------------------------------------------------------------------------
41 Since you are using Microsoft Windows, you will need the 'nmake' utility
42 before installation. It's available at:
44 http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe
46 ftp://ftp.microsoft.com/Softlib/MSLFILES/Nmake15.exe
48 Please download the file manually, save it to a directory in %PATH% (e.g.
49 C:\WINDOWS\COMMAND\), then launch the MS-DOS command line shell, "cd" to
50 that directory, and run "Nmake15.exe" from there; that will create the
51 'nmake.exe' file needed by this module.
53 You may then resume the installation process described in README.
55 -------------------------------------------------------------------------------