summaryrefslogtreecommitdiff
path: root/lib/CPAN/FirstTime.pm
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2007-03-12 15:12:39 +0000
committerSteve Peters <steve@fisharerojo.org>2007-03-12 15:12:39 +0000
commit2b3bde2ad9294c4485b66964767449c3e28d218b (patch)
treed23675c87309082ce6f4da9dcdee05832e16189e /lib/CPAN/FirstTime.pm
parent865c68219d2e649d1ebc7545b1ba10463fb84409 (diff)
downloadperl-2b3bde2ad9294c4485b66964767449c3e28d218b.tar.gz
Upgrade to CPAN-1.88_78
p4raw-id: //depot/perl@30551
Diffstat (limited to 'lib/CPAN/FirstTime.pm')
-rw-r--r--lib/CPAN/FirstTime.pm28
1 files changed, 24 insertions, 4 deletions
diff --git a/lib/CPAN/FirstTime.pm b/lib/CPAN/FirstTime.pm
index 06fe07621e..06009397b9 100644
--- a/lib/CPAN/FirstTime.pm
+++ b/lib/CPAN/FirstTime.pm
@@ -19,7 +19,7 @@ use File::Basename ();
use File::Path ();
use File::Spec ();
use vars qw($VERSION $urllist);
-$VERSION = sprintf "%.6f", substr(q$Rev: 1536 $,4)/1000000 + 5.4;
+$VERSION = sprintf "%.6f", substr(q$Rev: 1612 $,4)/1000000 + 5.4;
=head1 NAME
@@ -387,10 +387,30 @@ Shall we use it as the general CPAN build and cache directory?
}
$path ||= find_exe($progcall,\@path);
- {
+ unless ($path){ # not -e $path, because find_exe already checked that
local $"=";";
- $CPAN::Frontend->mywarn("Warning: $progcall not found in PATH[@path]\n") unless
- $path; # not -e $path, because find_exe already checked that
+ $CPAN::Frontend->mywarn("Warning: $progcall not found in PATH[@path]\n");
+ if ($progname eq "make") {
+ $CPAN::Frontend->mywarn("ALERT: 'make' is an essential tool for ".
+ "building perl Modules. Please make sure you ".
+ "have 'make' (or some equivalent) ".
+ "working.\n"
+ );
+ if ($^O eq "MSWin32") {
+ $CPAN::Frontend->mywarn("
+Windows users may want to follow this procedure when back in the CPAN shell:
+
+ look YVES/scripts/alien_nmake.pl
+ perl alien_nmake.pl
+
+This will install nmake on your system which can be used as a 'make'
+substitute. You can then revisit this dialog with
+
+ o conf init make
+
+");
+ }
+ }
}
$ans = prompt("Where is your $progname program?",$path) || $path;
$CPAN::Config->{$progname} = $ans;