Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zlib/os400/README400 @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 ZLIB version 1.3.1 for OS/400 installation instructions | |
| 2 | |
| 3 1) Download and unpack the zlib tarball to some IFS directory. | |
| 4 (i.e.: /path/to/the/zlib/ifs/source/directory) | |
| 5 | |
| 6 If the installed IFS command supports gzip format, this is straightforward, | |
| 7 else you have to unpack first to some directory on a system supporting it, | |
| 8 then move the whole directory to the IFS via the network (via SMB or FTP). | |
| 9 | |
| 10 2) Edit the configuration parameters in the compilation script. | |
| 11 | |
| 12 EDTF STMF('/path/to/the/zlib/ifs/source/directory/os400/make.sh') | |
| 13 | |
| 14 Tune the parameters according to your needs if not matching the defaults. | |
| 15 Save the file and exit after edition. | |
| 16 | |
| 17 3) Enter qshell, then work in the zlib OS/400 specific directory. | |
| 18 | |
| 19 QSH | |
| 20 cd /path/to/the/zlib/ifs/source/directory/os400 | |
| 21 | |
| 22 4) Compile and install | |
| 23 | |
| 24 sh make.sh | |
| 25 | |
| 26 The script will: | |
| 27 - create the libraries, objects and IFS directories for the zlib environment, | |
| 28 - compile all modules, | |
| 29 - create a service program, | |
| 30 - create a static and a dynamic binding directory, | |
| 31 - install header files for C/C++ and for ILE/RPG, both for compilation in | |
| 32 DB2 and IFS environments. | |
| 33 | |
| 34 That's all. | |
| 35 | |
| 36 | |
| 37 Notes: For OS/400 ILE RPG programmers, a /copy member defining the ZLIB | |
| 38 API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC). | |
| 39 In the ILE environment, the same definitions are available from | |
| 40 file zlib.inc located in the same IFS include directory as the | |
| 41 C/C++ header files. | |
| 42 Please read comments in this member for more information. | |
| 43 | |
| 44 Remember that most foreign textual data are ASCII coded: this | |
| 45 implementation does not handle conversion from/to ASCII, so | |
| 46 text data code conversions must be done explicitly. | |
| 47 | |
| 48 Mainly for the reason above, always open zipped files in binary mode. |
