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