Changeset 1354
- Timestamp:
- 08/17/06 15:51:06
- Files:
-
- trunk/plagger/tools/check-dependencies.pl (modified) (1 diff)
- trunk/plagger/tools/chimps-client.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/tools/check-dependencies.pl
r1352 r1354 31 31 eval ($ver ? qq{ use $module $ver } : qq{ use $module }); 32 32 if ($@) { 33 print "$module: missing" . ($required ? ' (required)': '');33 print "$module: missing" . ($required ? " (required)" : ''); 34 34 } else { 35 35 print "$module: " . (defined $module->VERSION ? $module->VERSION : 'undef'); trunk/plagger/tools/chimps-client.pl
r1353 r1354 72 72 sub check_dependencies { 73 73 warn "Checking dependencies ...\n"; 74 my $out = ` $Config{perlpath} Makefile.PL --default`;74 my $out = `tools/check-dependencies.pl`; 75 75 76 if ( $out =~ /Dependencies will be installed/) {77 die "You need to install dependencies first.\n" ;76 if (my @missing = $out =~ /^(.*missing \(required\))$/mg) { 77 die "You need to install dependencies first.\n", join("\n", @missing) . "\n"; 78 78 } 79 79 warn "Done.\n";
