I think this gets the essentials in, though I haven't tested it extensively
yet (and don't know what Michael needs these for). Even though
installprefix is entirely redundant on VMS and as Peter points out is not
used according to its documentation (where Perl *will* be installed), but is
only used after the fact to figure out where Perl *has* been installed, I
don't see much harm in having it. It will be hard-wired to the same thing
as prefix. At the end of this message is a diff of the config.sh before and
after the patch just so it's easier to see what this gets us.
--- configure.com;-0 Sun Apr 7 11:19:36 2002
+++ configure.com Wed Apr 10 14:22:54 2002
@@ -878,7 +878,7 @@
$!
$ config_symbols0
="|archlib|archlibexp|bin|binexp|builddir|cf_email|config_sh|installarchlib|installbin|installman1dir|installman3dir|"
$ config_symbols1
="|installprivlib|installscript|installsitearch|installsitelib|most|oldarchlib|oldarchlibexp|osname|pager|perl_symbol|perl_verb|"
-$ config_symbols2
="|prefix|privlib|privlibexp|scriptdir|sitearch|sitearchexp|sitelib|sitelib_stem|sitelibexp|try_cxx|use64bitall|use64bitint|"
+$ config_symbols2
+="|prefix|privlib|privlibexp|scriptdir|sitearch|sitearchexp|sitebin|sitelib|sitelib_stem|sitelibexp|try_cxx|use64bitall|use64bitint|"
$ config_symbols3
="|usecasesensitive|usedefaulttypes|usedevel|useieee|useithreads|usemultiplicity|usemymalloc|usedebugging_perl|useperlio|usesecurelog|"
$ config_symbols4 ="|usethreads|usevmsdebug|"
$!
@@ -1446,6 +1446,16 @@
$ GOSUB myread
$ bin = ans
$!
+$!: determine where add-on public executables go
+$ IF F$TYPE(sitebin) .NES. ""
+$ THEN dflt = sitebin
+$ ELSE dflt = "''vms_prefix':[bin.''archname']"
+$ ENDIF
+$ rp = "Pathname where the add-on public executables should be installed? "
+$ rp = F$FAO("!AS!/!AS",rp,"[ ''dflt' ] ")
+$ GOSUB myread
+$ sitebin = ans
+$!
$!: determine where manual pages are on this system
$!: What suffix to use on installed man pages
$!: see if we can have long filenames
@@ -1464,6 +1474,8 @@
sitearch="''vms_prefix':[lib.site_perl.''archname']"
$ IF F$TYPE(sitelib) .EQS. "" THEN -
sitelib ="''vms_prefix':[lib.site_perl]"
+$ IF F$TYPE(sitebin) .EQS. "" THEN -
+ sitebin="''vms_prefix':[bin.''archname']"
$ ENDIF !%Config-I-VMS, skip "where install" questions
$!
$! These derived locations can be set whether we've opted to
@@ -5577,6 +5589,7 @@
$ WC "installbin='" + installbin + "'"
$ WC "installman1dir='" + installman1dir + "'"
$ WC "installman3dir='" + installman3dir + "'"
+$ WC "installprefix='" + vms_prefix + "'"
$ WC "installprivlib='" + installprivlib + "'"
$ WC "installscript='" + installscript + "'"
$ WC "installsitearch='" + installsitearch + "'"
@@ -5693,9 +5706,12 @@
$ WC "signal_t='" + signal_t + "'"
$ WC "sitearch='" + sitearch + "'"
$ WC "sitearchexp='" + sitearchexp + "'"
+$ WC "sitebin='" + sitebin + "'"
+$ WC "sitebinexp='" + sitebin + "'"
$ WC "sitelib='" + sitelib + "'"
$ WC "sitelib_stem='" + sitelib_stem + "'"
$ WC "sitelibexp='" + sitelibexp + "'"
+$ WC "siteprefix='" + vms_prefix + "'"
$ WC "sizesize='" + sizesize + "'"
$ WC "sizetype='size_t'"
$ WC "so='" + so + "'"
@@ -5747,6 +5763,7 @@
$ WC "usesecurelog='" + usesecurelog + "'" ! VMS-specific
$ WC "usesocks='undef'"
$ WC "usethreads='" + usethreads + "'"
+$ WC "usevendorprefix='" + "'"
$ WC "usevfork='true'"
$ WC "usevmsdebug='" + usevmsdebug + "'" ! VMS-specific
$ WC "uvoformat='" + uvoformat + "'"
[end of patch]
[NOT a patch]--- config.sh;-0 Mon Apr 8 16:02:25 2002
[NOT a patch]+++ config.sh Wed Apr 10 14:31:50 2002
@@ -4,7 +4,7 @@
#
# Package name : perl5
# Source directory : THETIS$DKA100:[CRAIG.PERL_ROOT.]
-# Configuration time: Mon Apr 08 15:46:47 UTC-6:00 2002
+# Configuration time: Wed Apr 10 14:23:41 UTC-6:00 2002
# Configuration by : craig
# Target system : VMS unknown V7.2-1 AlphaStation 250 4/266
@@ -39,7 +39,7 @@
ccversion='60490005'
cf_by='craig'
cf_email='[EMAIL PROTECTED]'
-cf_time='Mon Apr 08 15:46:47 UTC-6:00 2002'
+cf_time='Wed Apr 10 14:23:41 UTC-6:00 2002'
config_args='-"Dusedevel" -"[EMAIL PROTECTED]" -"des"'
config_sh='[-]config.sh'
cpp_stuff='42'
@@ -501,6 +501,7 @@
installbin='perl_root:[000000]'
installman1dir='perl_root:[man.man1]'
installman3dir='perl_root:[man.man3]'
+installprefix='perl_root'
installprivlib='perl_root:[lib]'
installscript='perl_root:[utils]'
installsitearch='perl_root:[lib.site_perl.VMS_AXP]'
@@ -609,9 +610,12 @@
signal_t='void'
sitearch='perl_root:[lib.site_perl.VMS_AXP]'
sitearchexp='perl_root:[lib.site_perl.VMS_AXP]'
+sitebin='perl_root:[bin.VMS_AXP]'
+sitebinexp='perl_root:[bin.VMS_AXP]'
sitelib='perl_root:[lib.site_perl]'
sitelib_stem='perl_root:[lib.site_perl]'
sitelibexp='perl_root:[lib.site_perl]'
+siteprefix='perl_root'
sizesize='4'
sizetype='size_t'
so='exe'
@@ -663,6 +667,7 @@
usesecurelog='define'
usesocks='undef'
usethreads='undef'
+usevendorprefix=''
usevfork='true'
usevmsdebug='undef'
uvoformat='"lo"
[not a patch, just an illustrative diff]