Open Source Software for Z/OS and OS/390 UNIX
Total Page:16
File Type:pdf, Size:1020Kb
Open Source Software for z/OS and OS/390 UNIX Freeware source and binaries for the mainframe! Obtain, build and enhance open source software packages Detailed descriptions of the most popular programs Michael MacIsaac Sándor Bárány Thorsten Brockmeier Guillermo Freige Stefan Koesling Kiran Madnani, Fulvio Malfatto Ralf Schandl, Egon Terwedow James Tison, Jeff Trawick ibm.com/redbooks SG24-5944-01 International Technical Support Organization Open Source Software for z/OS and OS/390 UNIX March 2002 Take Note! Before using this information and the product it supports, be sure to read the general information in Appendix D, “Special notices” on page 303. Second Edition (March 2002) This edition applies to version 2 releases 7, 8 and 9 of OS/390, Program Number 5647-A01. Comments may be addressed to: IBM Corporation, International Technical Support Organization Dept. HYJ Mail Station P099 2455 South Road Poughkeepsie, NY 12601-5400 When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2000, 2002. All rights reserved. Note to U.S Government Users – Documentation related to restricted rights – Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Preface. xv The team that wrote this redbook. xvii Comments welcome. xx Chapter 1. Introduction . 1 1.1 Terminology . 1 1.2 A brief history of open source software. 2 1.3 The development model of open source software. 7 1.4 OS/390 resources . 9 1.4.1 News group . 10 1.4.2 Web sites . 10 1.4.3 An OS/390 TSO resource . 11 Chapter 2. Software licenses. 13 2.1 The GNU General Public License (GPL). 13 2.2 Other licenses . 13 2.3 The IBM Public License . 13 Chapter 3. What’s on the CD-ROM . 15 3.1 Package installation ordering . 15 3.2 Installing the packages from source . 16 3.2.1 Source distribution installation . 16 3.2.2 Installing quickly . 17 3.2.3 Details on installing . 17 3.3 Installing binaries . 20 3.4 Installation size . 20 3.5 Installation directory . 21 3.6 Setting the PATH and MANPATH environment variables . 21 Chapter 4. Open source software packages . 23 4.1 What you find in open source packages . 24 4.2 Overall source structure . 25 4.3 Configuring and compiling . 26 4.3.1 The configuration process . 26 4.3.2 Modifying the configure script . 29 4.4 Troubleshooting, reporting problems, and bugs . 29 4.5 Improving package performance on OS/390. 30 4.6 Modifying the source code . 30 4.7 Sharing your work . 30 © Copyright IBM Corp. 2000, 2002 iii Chapter 5. Apache . 31 5.1 Introduction to Apache . 31 5.2 Installation of Apache . 31 5.2.1 Step 1: Load the product . 32 5.2.2 Step 2: Configure the product . 32 5.2.3 Step 3: Compile and link the product . 33 5.2.4 Step 4: Install the product. 34 5.2.5 Heart of the Apache.install script . 35 5.3 Customization and operation of Apache . 35 5.3.1 Modifying the server configuration conf/httpd.conf file . 35 5.3.2 RACF setup for the Apache server . 35 5.3.3 Starting the Apache server . 36 5.3.4 Stopping the Apache server . 37 5.3.5 Running CGI programs. 37 5.4 License . 39 5.5 Getting Apache from the Internet . 40 5.6 Porting Apache to OS/390 . 40 Chapter 6. Autoconf . 41 6.1 Introduction to autoconf . 41 6.2 Installation of autoconf . 41 6.3 Customization and operation of autoconf . 42 6.4 License . 43 6.5 Getting autoconf from the Internet . 44 6.6 Porting autoconf to OS/390 . 44 6.7 Caveats . 45 Chapter 7. Automake . 47 7.1 Introduction to automake . 47 7.2 Installation of automake . 47 7.3 Customization and operation of automake . 48 7.4 License . 49 7.5 Getting automake from the Internet . 49 7.6 Porting automake to OS/390 . 49 Chapter 8. Bash . 51 8.1 Introduction to bash . 51 8.2 Installation of bash . 51 8.3 Customization and operation of bash . 52 8.4 License . 52 8.5 Getting bash from the Internet . 52 8.6 Porting bash to OS/390 . 52 iv Open Source Software for z/OS and OS/390 UNIX Chapter 9. CVS . 55 9.1 Introduction to CVS . 55 9.2 Installation of CVS . 55 9.2.1 Core of the cvs.install script . 55 9.2.2 Limitations of CVS on OS/390 . 56 9.3 Customization and operation of CVS . 56 9.4 License . 56 9.5 Getting CVS from the Internet . 57 9.6 Porting CVS to OS/390. 57 9.6.1 Future work needed on the OS/390 port of CVS . 57 9.7 Other resources . 58 Chapter 10. Diffutils . 59 10.1 Introduction to diffutils . 59 10.2 Installation of diffutils . 59 10.3 Customization and operation of diffutils . ..