From: Chip Salzenberg Date: Fri, 28 Feb 1997 17:28:12 +0000 (+1200) Subject: Change 'continuing anyway' to 'probably harmless' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f3d9a6ba3220013dcba07d4e9beeb65cc264693b;p=p5sagit%2Fp5-mst-13.2.git Change 'continuing anyway' to 'probably harmless' --- diff --git a/INSTALL b/INSTALL index 25069c9..470acfc 100644 --- a/INSTALL +++ b/INSTALL @@ -978,7 +978,7 @@ specific rule. SCO prior to 3.2.4 may be missing dbmclose(). An upgrade to 3.2.4 that includes libdbm.nfs (which includes dbmclose()) may be available. -=item Warning (will try anyway): No library found for -lposix +=item Note (probably harmless): No library found for -lsomething If you see such a message during the building of an extension, but the extension passes its tests anyway (see L<"make test"> below), @@ -987,13 +987,14 @@ Makefile.PL goes looking for various libraries needed on various systems; few systems will need all the possible libraries listed. For example, a system may have -lcposix or -lposix, but it's unlikely to have both, so most users will see warnings for the one -they don't have. The message 'will try anyway' is intended to -reassure you that the process is continuing. +they don't have. The phrase 'probably harmless' is intended to +reassure you that nothing unusual is happening, and the build +process is continuing. On the other hand, if you are building GDBM_File and you get the message - Warning (will try anyway): No library found for -lgdbm + Note (probably harmless): No library found for -lgdbm then it's likely you're going to run into trouble somewhere along the line, since it's hard to see how you can use the GDBM_File diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index a885653..2a43022 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -2,7 +2,7 @@ package ExtUtils::Liblist; use vars qw($VERSION); # Broken out of MakeMaker from version 4.11 -$VERSION = substr q$Revision: 1.22 $, 10; +$VERSION = substr q$Revision: 1.2201 $, 10; use Config; use Cwd 'cwd'; @@ -173,7 +173,8 @@ sub _unix_os2_ext { } last; # found one here so don't bother looking further } - print STDOUT "Warning (will try anyway): No library found for -l$thislib\n" + print STDOUT "Note (probably harmless): " + ."No library found for -l$thislib\n" unless $found_lib>0; } return ('','','','') unless $found; @@ -256,11 +257,13 @@ sub _vms_ext { if ($test =~ /(?:$so|exe)$/i) { $type = 'sh'; } elsif ($test =~ /(?:$lib_ext|olb)$/i) { $type = 'olb'; } elsif ($test =~ /(?:$obj_ext|obj)$/i) { - print STDOUT "Warning (will try anyway): Plain object file $test found in library list\n"; + print STDOUT "Note (probably harmless): " + ."Plain object file $test found in library list\n"; $type = 'obj'; } else { - print STDOUT "Warning (will try anyway): Unknown library type for $test; assuming shared\n"; + print STDOUT "Note (probably harmless): " + ."Unknown library type for $test; assuming shared\n"; $type = 'sh'; } } @@ -278,7 +281,8 @@ sub _vms_ext { elsif (not length($ctype) and # If we've got a lib already, don't bother ( -f ($test = VMS::Filespec::rmsexpand($name,$obj_ext)) or -f ($test = VMS::Filespec::rmsexpand($name,'.obj')))) { - print STDOUT "Warning (will try anyway): Plain object file $test found in library list\n"; + print STDOUT "Note (probably harmless): " + ."Plain object file $test found in library list\n"; $type = 'obj'; $name = $test unless $test =~ /obj;?\d*$/i; } @@ -294,7 +298,8 @@ sub _vms_ext { next LIB; } } - print STDOUT "Warning (will try anyway): No library found for $lib\n"; + print STDOUT "Note (probably harmless): " + ."No library found for $lib\n"; } @libs = sort keys %obj;