Change 16419 by jhi@alpha on 2002/05/05 22:15:48

        Subject: [PATCH] Update README.vos and release vos build macros
        From: [EMAIL PROTECTED]
        Date: Sun, 5 May 02 17:15 edt
        Message-Id: <[EMAIL PROTECTED]>     
        To: [EMAIL PROTECTED]

Affected files ...

.... //depot/perl/MANIFEST#876 edit
.... //depot/perl/README.vos#15 edit
.... //depot/perl/vos/Changes#7 edit
.... //depot/perl/vos/compile_full_perl.cm#1 add
.... //depot/perl/vos/configure_full_perl.sh#1 add
.... //depot/perl/vos/make_full_perl.sh#1 add

Differences ...

==== //depot/perl/MANIFEST#876 (text) ====
Index: perl/MANIFEST
--- perl/MANIFEST#875~16407~    Sat May  4 18:05:17 2002
+++ perl/MANIFEST       Sun May  5 15:15:48 2002
@@ -2674,17 +2674,20 @@
 vms/vmspipe.com                        VMS-specific piped command helper script
 vms/vms_yfix.pl                        convert Unix perly.[ch] to VMS perly_[ch].vms
 vms/writemain.pl               Generate perlmain.c from miniperlmain.c+extensions
-vos/build.cm                   VOS command macro to build Perl
+vos/build.cm                   VOS command macro to build "mini" Perl
 vos/Changes                    Changes made to port Perl to the VOS operating system
-vos/compile_perl.cm            VOS command macro to build multiple version of Perl
+vos/compile_full_perl.cm       VOS command macro to build "full" Perl
+vos/compile_perl.cm            VOS command macro to build "mini" Perl
 vos/config.alpha.def           definitions used by config.pl
 vos/config.alpha.h             config.h for use with alpha VOS POSIX.1 support
 vos/config.ga.def              definitions used by config.pl
 vos/config.ga.h                        config.h for use with generally-available VOS 
POSIX.1 support
 vos/config.pl                  script to convert a config_h.SH to a config.h
-vos/configure_perl.cm          VOS command macro to configure perl before building
-vos/install_perl.cm            VOS command macro to install perl after building
+vos/configure_full_perl.sh     VOS shell script to configure "full" perl before 
+building
+vos/configure_perl.cm          VOS command macro to configure "mini" perl before 
+building
+vos/install_perl.cm            VOS command macro to install "mini" perl after building
 vos/Makefile                   A helper for maintaining the config.*.* in UNIX
+vos/make_full_perl.sh  VOS shell script to build and test "full" perl
 vos/perl.bind                  VOS bind control file
 vos/test_vos_dummies.c         Test program for "vos_dummies.c"
 vos/vos.c                      VOS emulations for missing POSIX functions

==== //depot/perl/README.vos#15 (text) ====
Index: perl/README.vos
--- perl/README.vos#14~16087~   Mon Apr 22 12:51:29 2002
+++ perl/README.vos     Sun May  5 15:15:48 2002
@@ -44,7 +44,7 @@
 VOS Release 14.1.0 (or later) on an XA/R or Continuum platform.
 
 This version of perl is properly called "miniperl" because it
-does not contain the full perl functionality.
+does not contain the complete perl functionality.
 
 You must build perl with the compile_perl.cm command macro found
 in the vos subdirectory.
@@ -58,7 +58,7 @@
 platform.
 
 This version of perl is properly called "miniperl" because it
-does not contain the full perl functionality.
+does not contain the complete perl functionality.
 
 You must build perl with the compile_perl.cm command macro found
 in the vos subdirectory.
@@ -73,7 +73,7 @@
 platform.
 
 This version of perl is properly called "miniperl" because it
-does not contain the full perl functionality.
+does not contain the complete perl functionality.
 
 You must build perl with the compile_perl.cm command macro found
 in the vos subdirectory.
@@ -81,14 +81,14 @@
 =item 4
 
 If you have a Stratus Continuum (PARISC-based) platform that is
-running VOS Release 14.3.0 through VOS Release 14.4.0, you must
+running VOS Release 14.3.0 through VOS Release 14.4.1, you must
 build perl using the generally-available version of VOS POSIX
 support, and using either the VOS Standard C compiler or the VOS
 GNU C compiler.  You must build perl on VOS Release 14.3.0 (or
 later) on a Continuum platform.
 
 This version of perl is properly called "miniperl" because it
-does not contain the full perl functionality.
+does not contain the complete perl functionality.
 
 You must build perl with the compile_perl.cm command macro found
 in the vos subdirectory.
@@ -96,17 +96,17 @@
 =item 5
 
 If you have a Stratus Continuum (PA-RISC-based) platform that is
-running VOS Release 14.4.1 or later, you must build perl using
-the generally-available version of VOS POSIX support.  You must
-use the VOS GNU C compiler and the VOS GNU Tools product.  You
-must build perl on VOS Release 14.4.1 (or later) on a Continuum
-platform.
-
-This version of perl is properly called "full perl" because it
-contains the full perl functionality.
+running VOS Release 14.5.0 or later, you can either use the
+previous method to build "miniperl" or you can build "full
+perl", which contains the complete functionality of perl.  I
+strongly recommend that you build full perl.  To build full
+perl, you must use the generally-available version of VOS POSIX
+support.  You must use the VOS GNU C compiler and the VOS GNU
+C/C++ and GNU Tools Release 2.0.1 product.  You must build full
+perl on VOS Release 14.5.0 (or later) on a Continuum platform.
 
-You must use the supplied Configure script and makefiles to build
-perl.
+You must build full perl with the compile_full_perl.cm command
+macro found in the vos subdirectory.
 
 =back
 
@@ -223,20 +223,11 @@
 that code compiled for the pa8000 processor type can execute on
 the PA8000, PA8500 and PA8600 processors.
 
-To build perl using the supplied Configure script and makefiles,
-execute the following commands.
-
-     !add_library_path command >system>gnu_library>bin -after '(current_dir)'
-     !bash
-          gzip -d perl-5.8.0.tar.gz
-          tar -xvf perl-5.8.0.tar
-          cd perl-5.8.0
-          Configure -d
-          gmake
-
-If you wish to run the test cases, type:
-
-          gmake test
+To build full perl using the supplied Configure script and
+makefiles, change to the "vos" subdirectory and type the command
+"compile_full_perl" or "start_process compile_full_perl".  This
+will configure, build, and test perl.  All of the test cases
+that are executed should pass.
 
 =head2 Installing Perl 5 on VOS
 
@@ -343,6 +334,6 @@
 
 =head1 LAST UPDATE
 
-February 15, 2001
+May 5, 2002
 
 =cut

==== //depot/perl/vos/Changes#7 (text) ====
Index: perl/vos/Changes
--- perl/vos/Changes#6~14713~   Fri Feb 15 17:51:27 2002
+++ perl/vos/Changes    Sun May  5 15:15:48 2002
@@ -6,6 +6,9 @@
      "install_perl.cm" to use directory naming conventions that
      are closer to the perl standard directory names.
 
+     Added "compile_full_perl.cm", "configure_full_perl.sh" and
+     "make_full_perl.sh" for building full perl.
+
      For the first time, full perl can now be built on VOS using
      its native Configure script and makefiles.  See README.vos
      for details.

==== //depot/perl/vos/compile_full_perl.cm#1 (text) ====
Index: compile_full_perl.cm
--- /dev/null   Tue May  5 13:32:27 1998
+++ compile_full_perl.cm        Sun May  5 15:15:48 2002
@@ -0,0 +1,38 @@
+& This command macro builds and tests full perl using
+& the native perl build scripts.  The prerequsites for
+& using this macro are a VOS Continuum system running
+& VOS Release 14.5.0 and VOS GNU C/C++ and GNU Tools 2.0.1.
+& 
+& Written 02-05-05 by Paul Green ([EMAIL PROTECTED])
+&
+&begin_parameters
+     debug_sw       switch(-debug)
+&end_parameters
+&echo command_lines
+&
+!add_library_path command (master_disk)>system>gnu_library>bin &+
+     -after '(current_dir)'
+&
+&if (process_type) = interactive
+&then !set_terminal_parameters -pause_lines 0
+&
+&set_string release (before (after (module_info system_release) 'VOS Release ') ' ')
+&if &release& < '14.5'
+&then &do
+ &display_line You must be running VOS Release 14.5.0 or later to use this macro.
+ &return e$wrong_version
+&end
+&
+&if ^ (exists -directory (master_disk)>system>gnu_library>lib>perl5)
+&then &do
+ &display_line You must have S877 - GNU C/C++ and GNU Tools Release 2.0.1 to use this 
+macro.
+ &return e$wrong_version
+&end
+&
+!change_current_dir <
+&
+&if &debug_sw&
+&then !bash vos/configure_full_perl.sh -DDEBUGGING -Doptimize=-g
+&else !bash vos/configure_full_perl.sh
+&
+!bash vos/make_full_perl.sh

==== //depot/perl/vos/configure_full_perl.sh#1 (text) ====
Index: configure_full_perl.sh
--- /dev/null   Tue May  5 13:32:27 1998
+++ configure_full_perl.sh      Sun May  5 15:15:48 2002
@@ -0,0 +1,21 @@
+# Configure environment variables for perl build.
+declare -x AWK="/system/gnu_library/bin/gawk.pm"
+export AWK
+declare -x CC="/system/gnu_library/bin/gcc.pm"
+export CC
+declare -x CPP="$CC $CPPFLAGS -E"
+export CPP
+declare -x CPPFLAGS="-D_POSIX_SOURCE=199506L -D_SYSV"
+export CPPFLAGS
+declare -x CONFIG_SHELL="bash"
+export CONFIG_SHELL
+declare -x LD="/system/gnu_library/bin/gcc.pm"
+export LD
+declare -x MAKE="/system/gnu_library/bin/gmake.pm"
+export MAKE
+declare -x RANLIB=":"
+export RANLIB
+declare -x SHELL="/system/gnu_library/bin/bash.pm"
+export SHELL
+#
+bash Configure -Dusedevel -des

==== //depot/perl/vos/make_full_perl.sh#1 (text) ====
Index: make_full_perl.sh
--- /dev/null   Tue May  5 13:32:27 1998
+++ make_full_perl.sh   Sun May  5 15:15:48 2002
@@ -0,0 +1,3 @@
+# This macro makes full perl and runs its test scripts
+gmake
+gmake test
End of Patch.

Reply via email to