Ed James wrote:

> > <http://www.xray.mpe.mpg.de/mailing-lists/vmsperl/2000-04/msg00134.html>
> 
> I had to install the patch via edit. Something's wrong with my patch.exe.
> 
> > Unfortunately you'll have to reconfigure and rebuild since the patch
> > modifies subconfigure.com.  Let us know whether or not that does the
> > trick; I don't think the installer gets widely tested since a lot of
> > people just build in the target location and leave it there.
> 
> I re-configured and compiled everything fine. The tests were all ok.
> The install went without errors, but ended with:
>     %MMK-I-ACTNOUPD, action did not update target INSTALL
> 
> Now I'll see if I can figure out the patch problem.

Strictly speaking there is something wrong with those diffs.  Note
the extra space in the context lines in the first one:

  $ WC "pm_apiversion='" + version + "'"
+$ WC "version='" + version + "'"

should be:

 $ WC "pm_apiversion='" + version + "'"
+$ WC "version='" + version + "'"

Here is a remake of both diffs combined:

diff -ru perl-5.6.0.orig/installperl perl-5.6.0/installperl
--- perl-5.6.0.orig/installperl Wed Mar  8 04:22:41 2000
+++ perl-5.6.0/installperl      Fri May 12 12:39:07 2000
@@ -254,9 +254,9 @@
 mkpath("$installarchlib/CORE", 1, 0777);
 my @corefiles;
 if ($Is_VMS) {  # We did core file selection during build
-    my $coredir = "lib/$Config{'arch'}/$ver";
+    my $coredir = "lib/$Config{'archname'}/$ver/CORE";
     $coredir =~ tr/./_/;
-    @corefiles = map { s|^$coredir/||i; } <$coredir/*.*>;
+    map @corefiles = { s|^$coredir/||i; } <$coredir/*.*>;
 }
 else {
     # [als] hard-coded 'libperl' name... not good!
diff -ru perl-5.6.0.orig/vms/subconfigure.com perl-5.6.0/vms/subconfigure.com
--- perl-5.6.0.orig/vms/subconfigure.com        Sat Mar 18 23:18:17 2000
+++ perl-5.6.0/vms/subconfigure.com     Fri May 12 12:33:43 2000
@@ -4009,6 +4009,10 @@
 $ WC "libc='" + perl_libc + "'"
 $ WC "xs_apiversion='" + version + "'"
 $ WC "pm_apiversion='" + version + "'"
+$ WC "version='" + version + "'"
+$ WC "revision='" + revision + "'"
+$ WC "patchlevel='" + patchlevel + "'"
+$ WC "subversion='" + subversion + "'"
 $ WC "PERL_VERSION='" + patchlevel + "'"
 $ WC "PERL_SUBVERSION='" + subversion + "'"
 $ WC "pager='" + perl_pager + "'"
End of re-patch.

Peter Prymmer

Reply via email to