PCSI Kits of Open Source Software for OpenVMS

A North American mirror site and an Australian mirror site are also available.

If you wish to compile the software yourself, complete source packages are available here or from the North American mirror site.


Zlib V1.1.4

Zlib is a compression/decompression library used by several software packages, including MySQL and Python.

Installation

By default, the installation procedure places the ZLib library files in the SYS$COMMON:[LIBZ] directory. Alternatively, users can specify a parent directory of their choice, dev:[dir], and the library files will be installed in the dev:[dir.LIBZ] directory.

First, extract the PCSI kit from the ZIP archive into the current default directory.

$ UNZIP ZLIB-V0101-4-1.ZIP

Install the package in either (a) its default location of SYS$COMMON:[LIBZ], or (b) in a location of your choice.

  1. $ PRODUCT INSTALL zlib  (default)
  2. $ PRODUCT INSTALL zlib /DESTINATION=dev:[dir]

Finally, define the necessary ZLib logicals according to your previous choice of location.
(You might want to add this next line to your SYSTARTUP_VMS.COM file.)

  1. $ @SYS$COMMON:[LIBZ]STARTUP  (default)
  2. $ @dev:[dir.LIBZ]:STARTUP


LibBZ2 V1.0.2

LibBZ2 is a block-sorting compression/decompression library used by several software packages, including Python.

Installation

By default, the installation procedure places the LibBZ2 library files in the SYS$COMMON:[LIBBZ2] directory. Alternatively, users can specify a parent directory of their choice, dev:[dir], and the library files will be installed in the dev:[dir.LIBBZ2] directory.

First, extract the PCSI kit from the ZIP archive into the current default directory.

$ UNZIP LIBBZ2-V0100-2-1

Install the package in either (a) its default location of SYS$COMMON:[LIBBZ2], or (b) in a location of your choice.

  1. $ PRODUCT INSTALL libbz2  (default)
  2. $ PRODUCT INSTALL libbz2 /DESTINATION=dev:[dir]

Finally, define the necessary LibBZ2 logicals according to your previous choice of location.
(You might want to add this next line to your SYSTARTUP_VMS.COM file.)

  1. $ @SYS$COMMON:[LIBBZ2]STARTUP  (default)
  2. $ @dev:[dir.LIBBZ2]:STARTUP


MySQL V4.0.13

Software Requirements

  1. CPQ SSL V1.0-B (available as a free download from HP)
  2. JFP ZLIB 1.1-4

Installation

By default, this procedure installs MySQL in the SYS$COMMON:[MYSQL] directory. Alternatively, users can specify a parent directory of their choice, dev:[dir], and MySQL will be installed in the dev:[dir.MYSQL] directory.

This installation procedure creates the unprivileged SYSUAF account, MYSQL_SERVER, to run the server.

First, extract the PCSI kit from the ZIP archive into the current default directory.

$ UNZIP "-V" MYSQL-V0400-13-1

Install the package in either (a) its default location of SYS$COMMON:[MYSQL], or (b) in a location of your choice.

  1. $ PRODUCT INSTALL mysql  (default)
  2. $ PRODUCT INSTALL mysql /DESTINATION=dev:[dir]

Next, define the necessary MySQL logicals and symbols.

$ SET DEFAULT dev:[dir.MYSQL.VMS]
$ @LOGICALS "/SYSTEM/EXEC"
$ @SYMBOLS


If you wish, configure the MySQL package to suit your environment by editing the file MYSQL_ROOT:[VMS]MY.CNF.

Next, use this special procedure to start the MySQL server.

$ @[.MYSQL]FIRST_START_MYSQLD

. . .and wait here a few moments for the database to be created.

Set up the MySQL system database.

$ @[.MYSQL]MYSQL_PRIVILEGES

...and then shut down the MySQL server in preparation for a restart.

$ MYSQLADMIN -U ROOT SHUTDOWN
$ MYSQLADMIN -U ROOT SHUTDOWN
   That's right, quit twice :-)

Finally, start the MySQL server with its normal startup procedure.
(You might want to add this next line to your SYSTARTUP_VMS.COM file.)

$ @MYSQL_ROOT:[VMS]MYSQL_STARTUP

You should now have a running MySQL server!


Python V2.3b1

Full documentation and some useful links are available from the Python for VMS site.

Software Requirements

  1. CPQ SSL V1.0-B (available as a free download from HP)
  2. JFP ZLIB 1.1-4
  3. JFP LibBZ2 1.0-2

Installation

Python must be installed on an ODS-5 volume.

By default, this procedure installs Python in the SYS$COMMON:[PYTHON] directory. Alternatively, users can specify a parent directory of their choice, dev:[dir], and Python will be installed in the dev:[dir.PYTHON] directory.

First, extract the PCSI kit from the ZIP archive.

$ UNZIP "-V" PYTHON-V0203-B1-1

Install the package in either (a) its default location of SYS$COMMON:[PYTHON], or (b) in a location of your choice.

  1. $ PRODUCT INSTALL python  (default)
  2. $ PRODUCT INSTALL python /DESTINATION=dev:[dir]

Start Python.
(You might want to add this next line to your SYSTARTUP_VMS.COM file.)

$ @dev:[dir.PYTHON.VMS]STARTUP

Modules Compilation (optional)

$ SET DEFAULT dev:[dir.PYTHON.VMS]
$ @SETUP
$ PYTHON COMPILE_PYTHON_MODULES.PY
$ PYTHON -"OO" COMPILE_PYTHON_MODULES.PY

Modules Testing (optional)

Currently, 6 tests fail:
test_codecs, test_queue, test_re, test_socket, test_unicode, and test_zipimport

$ SET DEFAULT dev:[dir.PYTHON.VMS]
$ @SETUP
$ @ALLTESTS

Remember, all PCSI kits listed below are also available from the North American mirror site and the Australian mirror site.


© Tous droits réservés 2003 Jean-François PIÉRONNE