Home | History | Annotate | Line # | Download | only in os400
README400 revision 1.1.1.1.4.2
      1  1.1.1.1.4.2  pgoyette         ZLIB version 1.2.10 for OS/400 installation instructions
      2  1.1.1.1.4.2  pgoyette 
      3  1.1.1.1.4.2  pgoyette 1) Download and unpack the zlib tarball to some IFS directory.
      4  1.1.1.1.4.2  pgoyette    (i.e.: /path/to/the/zlib/ifs/source/directory)
      5  1.1.1.1.4.2  pgoyette 
      6  1.1.1.1.4.2  pgoyette    If the installed IFS command suppors gzip format, this is straightforward,
      7  1.1.1.1.4.2  pgoyette else you have to unpack first to some directory on a system supporting it,
      8  1.1.1.1.4.2  pgoyette then move the whole directory to the IFS via the network (via SMB or FTP).
      9  1.1.1.1.4.2  pgoyette 
     10  1.1.1.1.4.2  pgoyette 2) Edit the configuration parameters in the compilation script.
     11  1.1.1.1.4.2  pgoyette 
     12  1.1.1.1.4.2  pgoyette         EDTF STMF('/path/to/the/zlib/ifs/source/directory/os400/make.sh')
     13  1.1.1.1.4.2  pgoyette 
     14  1.1.1.1.4.2  pgoyette Tune the parameters according to your needs if not matching the defaults.
     15  1.1.1.1.4.2  pgoyette Save the file and exit after edition.
     16  1.1.1.1.4.2  pgoyette 
     17  1.1.1.1.4.2  pgoyette 3) Enter qshell, then work in the zlib OS/400 specific directory.
     18  1.1.1.1.4.2  pgoyette 
     19  1.1.1.1.4.2  pgoyette         QSH
     20  1.1.1.1.4.2  pgoyette         cd /path/to/the/zlib/ifs/source/directory/os400
     21  1.1.1.1.4.2  pgoyette 
     22  1.1.1.1.4.2  pgoyette 4) Compile and install
     23  1.1.1.1.4.2  pgoyette 
     24  1.1.1.1.4.2  pgoyette         sh make.sh
     25  1.1.1.1.4.2  pgoyette 
     26  1.1.1.1.4.2  pgoyette The script will:
     27  1.1.1.1.4.2  pgoyette - create the libraries, objects and IFS directories for the zlib environment,
     28  1.1.1.1.4.2  pgoyette - compile all modules,
     29  1.1.1.1.4.2  pgoyette - create a service program,
     30  1.1.1.1.4.2  pgoyette - create a static and a dynamic binding directory,
     31  1.1.1.1.4.2  pgoyette - install header files for C/C++ and for ILE/RPG, both for compilation in
     32  1.1.1.1.4.2  pgoyette   DB2 and IFS environments.
     33  1.1.1.1.4.2  pgoyette 
     34  1.1.1.1.4.2  pgoyette That's all. 
     35  1.1.1.1.4.2  pgoyette 
     36  1.1.1.1.4.2  pgoyette 
     37  1.1.1.1.4.2  pgoyette Notes:  For OS/400 ILE RPG programmers, a /copy member defining the ZLIB
     38  1.1.1.1.4.2  pgoyette                 API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC).
     39  1.1.1.1.4.2  pgoyette                 In the ILE environment, the same definitions are available from
     40  1.1.1.1.4.2  pgoyette                 file zlib.inc located in the same IFS include directory as the
     41  1.1.1.1.4.2  pgoyette                 C/C++ header files.
     42  1.1.1.1.4.2  pgoyette                 Please read comments in this member for more information.
     43  1.1.1.1.4.2  pgoyette 
     44  1.1.1.1.4.2  pgoyette         Remember that most foreign textual data are ASCII coded: this
     45  1.1.1.1.4.2  pgoyette                 implementation does not handle conversion from/to ASCII, so
     46  1.1.1.1.4.2  pgoyette                 text data code conversions must be done explicitely.
     47  1.1.1.1.4.2  pgoyette 
     48  1.1.1.1.4.2  pgoyette         Mainly for the reason above, always open zipped files in binary mode.
     49