Fossil

Hex Artifact Content
Login

Artifact 51d77ab7eeaa1d92a57a2a405b6ff985373bdaaa:


0000: 20 20 20 20 20 20 20 20 5a 4c 49 42 20 76 65 72          ZLIB ver
0010: 73 69 6f 6e 20 31 2e 32 2e 31 31 20 66 6f 72 20  sion 1.2.11 for 
0020: 4f 53 2f 34 30 30 20 69 6e 73 74 61 6c 6c 61 74  OS/400 installat
0030: 69 6f 6e 20 69 6e 73 74 72 75 63 74 69 6f 6e 73  ion instructions
0040: 0a 0a 31 29 20 44 6f 77 6e 6c 6f 61 64 20 61 6e  ..1) Download an
0050: 64 20 75 6e 70 61 63 6b 20 74 68 65 20 7a 6c 69  d unpack the zli
0060: 62 20 74 61 72 62 61 6c 6c 20 74 6f 20 73 6f 6d  b tarball to som
0070: 65 20 49 46 53 20 64 69 72 65 63 74 6f 72 79 2e  e IFS directory.
0080: 0a 20 20 20 28 69 2e 65 2e 3a 20 2f 70 61 74 68  .   (i.e.: /path
0090: 2f 74 6f 2f 74 68 65 2f 7a 6c 69 62 2f 69 66 73  /to/the/zlib/ifs
00a0: 2f 73 6f 75 72 63 65 2f 64 69 72 65 63 74 6f 72  /source/director
00b0: 79 29 0a 0a 20 20 20 49 66 20 74 68 65 20 69 6e  y)..   If the in
00c0: 73 74 61 6c 6c 65 64 20 49 46 53 20 63 6f 6d 6d  stalled IFS comm
00d0: 61 6e 64 20 73 75 70 70 6f 72 73 20 67 7a 69 70  and suppors gzip
00e0: 20 66 6f 72 6d 61 74 2c 20 74 68 69 73 20 69 73   format, this is
00f0: 20 73 74 72 61 69 67 68 74 66 6f 72 77 61 72 64   straightforward
0100: 2c 0a 65 6c 73 65 20 79 6f 75 20 68 61 76 65 20  ,.else you have 
0110: 74 6f 20 75 6e 70 61 63 6b 20 66 69 72 73 74 20  to unpack first 
0120: 74 6f 20 73 6f 6d 65 20 64 69 72 65 63 74 6f 72  to some director
0130: 79 20 6f 6e 20 61 20 73 79 73 74 65 6d 20 73 75  y on a system su
0140: 70 70 6f 72 74 69 6e 67 20 69 74 2c 0a 74 68 65  pporting it,.the
0150: 6e 20 6d 6f 76 65 20 74 68 65 20 77 68 6f 6c 65  n move the whole
0160: 20 64 69 72 65 63 74 6f 72 79 20 74 6f 20 74 68   directory to th
0170: 65 20 49 46 53 20 76 69 61 20 74 68 65 20 6e 65  e IFS via the ne
0180: 74 77 6f 72 6b 20 28 76 69 61 20 53 4d 42 20 6f  twork (via SMB o
0190: 72 20 46 54 50 29 2e 0a 0a 32 29 20 45 64 69 74  r FTP)...2) Edit
01a0: 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69   the configurati
01b0: 6f 6e 20 70 61 72 61 6d 65 74 65 72 73 20 69 6e  on parameters in
01c0: 20 74 68 65 20 63 6f 6d 70 69 6c 61 74 69 6f 6e   the compilation
01d0: 20 73 63 72 69 70 74 2e 0a 0a 20 20 20 20 20 20   script...      
01e0: 20 20 45 44 54 46 20 53 54 4d 46 28 27 2f 70 61    EDTF STMF('/pa
01f0: 74 68 2f 74 6f 2f 74 68 65 2f 7a 6c 69 62 2f 69  th/to/the/zlib/i
0200: 66 73 2f 73 6f 75 72 63 65 2f 64 69 72 65 63 74  fs/source/direct
0210: 6f 72 79 2f 6f 73 34 30 30 2f 6d 61 6b 65 2e 73  ory/os400/make.s
0220: 68 27 29 0a 0a 54 75 6e 65 20 74 68 65 20 70 61  h')..Tune the pa
0230: 72 61 6d 65 74 65 72 73 20 61 63 63 6f 72 64 69  rameters accordi
0240: 6e 67 20 74 6f 20 79 6f 75 72 20 6e 65 65 64 73  ng to your needs
0250: 20 69 66 20 6e 6f 74 20 6d 61 74 63 68 69 6e 67   if not matching
0260: 20 74 68 65 20 64 65 66 61 75 6c 74 73 2e 0a 53   the defaults..S
0270: 61 76 65 20 74 68 65 20 66 69 6c 65 20 61 6e 64  ave the file and
0280: 20 65 78 69 74 20 61 66 74 65 72 20 65 64 69 74   exit after edit
0290: 69 6f 6e 2e 0a 0a 33 29 20 45 6e 74 65 72 20 71  ion...3) Enter q
02a0: 73 68 65 6c 6c 2c 20 74 68 65 6e 20 77 6f 72 6b  shell, then work
02b0: 20 69 6e 20 74 68 65 20 7a 6c 69 62 20 4f 53 2f   in the zlib OS/
02c0: 34 30 30 20 73 70 65 63 69 66 69 63 20 64 69 72  400 specific dir
02d0: 65 63 74 6f 72 79 2e 0a 0a 20 20 20 20 20 20 20  ectory...       
02e0: 20 51 53 48 0a 20 20 20 20 20 20 20 20 63 64 20   QSH.        cd 
02f0: 2f 70 61 74 68 2f 74 6f 2f 74 68 65 2f 7a 6c 69  /path/to/the/zli
0300: 62 2f 69 66 73 2f 73 6f 75 72 63 65 2f 64 69 72  b/ifs/source/dir
0310: 65 63 74 6f 72 79 2f 6f 73 34 30 30 0a 0a 34 29  ectory/os400..4)
0320: 20 43 6f 6d 70 69 6c 65 20 61 6e 64 20 69 6e 73   Compile and ins
0330: 74 61 6c 6c 0a 0a 20 20 20 20 20 20 20 20 73 68  tall..        sh
0340: 20 6d 61 6b 65 2e 73 68 0a 0a 54 68 65 20 73 63   make.sh..The sc
0350: 72 69 70 74 20 77 69 6c 6c 3a 0a 2d 20 63 72 65  ript will:.- cre
0360: 61 74 65 20 74 68 65 20 6c 69 62 72 61 72 69 65  ate the librarie
0370: 73 2c 20 6f 62 6a 65 63 74 73 20 61 6e 64 20 49  s, objects and I
0380: 46 53 20 64 69 72 65 63 74 6f 72 69 65 73 20 66  FS directories f
0390: 6f 72 20 74 68 65 20 7a 6c 69 62 20 65 6e 76 69  or the zlib envi
03a0: 72 6f 6e 6d 65 6e 74 2c 0a 2d 20 63 6f 6d 70 69  ronment,.- compi
03b0: 6c 65 20 61 6c 6c 20 6d 6f 64 75 6c 65 73 2c 0a  le all modules,.
03c0: 2d 20 63 72 65 61 74 65 20 61 20 73 65 72 76 69  - create a servi
03d0: 63 65 20 70 72 6f 67 72 61 6d 2c 0a 2d 20 63 72  ce program,.- cr
03e0: 65 61 74 65 20 61 20 73 74 61 74 69 63 20 61 6e  eate a static an
03f0: 64 20 61 20 64 79 6e 61 6d 69 63 20 62 69 6e 64  d a dynamic bind
0400: 69 6e 67 20 64 69 72 65 63 74 6f 72 79 2c 0a 2d  ing directory,.-
0410: 20 69 6e 73 74 61 6c 6c 20 68 65 61 64 65 72 20   install header 
0420: 66 69 6c 65 73 20 66 6f 72 20 43 2f 43 2b 2b 20  files for C/C++ 
0430: 61 6e 64 20 66 6f 72 20 49 4c 45 2f 52 50 47 2c  and for ILE/RPG,
0440: 20 62 6f 74 68 20 66 6f 72 20 63 6f 6d 70 69 6c   both for compil
0450: 61 74 69 6f 6e 20 69 6e 0a 20 20 44 42 32 20 61  ation in.  DB2 a
0460: 6e 64 20 49 46 53 20 65 6e 76 69 72 6f 6e 6d 65  nd IFS environme
0470: 6e 74 73 2e 0a 0a 54 68 61 74 27 73 20 61 6c 6c  nts...That's all
0480: 2e 20 0a 0a 0a 4e 6f 74 65 73 3a 20 20 46 6f 72  . ...Notes:  For
0490: 20 4f 53 2f 34 30 30 20 49 4c 45 20 52 50 47 20   OS/400 ILE RPG 
04a0: 70 72 6f 67 72 61 6d 6d 65 72 73 2c 20 61 20 2f  programmers, a /
04b0: 63 6f 70 79 20 6d 65 6d 62 65 72 20 64 65 66 69  copy member defi
04c0: 6e 69 6e 67 20 74 68 65 20 5a 4c 49 42 0a 20 20  ning the ZLIB.  
04d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 50                AP
04e0: 49 20 70 72 6f 74 6f 74 79 70 65 73 20 66 6f 72  I prototypes for
04f0: 20 49 4c 45 20 52 50 47 20 63 61 6e 20 62 65 20   ILE RPG can be 
0500: 66 6f 75 6e 64 20 69 6e 20 5a 4c 49 42 2f 48 28  found in ZLIB/H(
0510: 5a 4c 49 42 2e 49 4e 43 29 2e 0a 20 20 20 20 20  ZLIB.INC)..     
0520: 20 20 20 20 20 20 20 20 20 20 20 49 6e 20 74 68             In th
0530: 65 20 49 4c 45 20 65 6e 76 69 72 6f 6e 6d 65 6e  e ILE environmen
0540: 74 2c 20 74 68 65 20 73 61 6d 65 20 64 65 66 69  t, the same defi
0550: 6e 69 74 69 6f 6e 73 20 61 72 65 20 61 76 61 69  nitions are avai
0560: 6c 61 62 6c 65 20 66 72 6f 6d 0a 20 20 20 20 20  lable from.     
0570: 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 20             file 
0580: 7a 6c 69 62 2e 69 6e 63 20 6c 6f 63 61 74 65 64  zlib.inc located
0590: 20 69 6e 20 74 68 65 20 73 61 6d 65 20 49 46 53   in the same IFS
05a0: 20 69 6e 63 6c 75 64 65 20 64 69 72 65 63 74 6f   include directo
05b0: 72 79 20 61 73 20 74 68 65 0a 20 20 20 20 20 20  ry as the.      
05c0: 20 20 20 20 20 20 20 20 20 20 43 2f 43 2b 2b 20            C/C++ 
05d0: 68 65 61 64 65 72 20 66 69 6c 65 73 2e 0a 20 20  header files..  
05e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 6c                Pl
05f0: 65 61 73 65 20 72 65 61 64 20 63 6f 6d 6d 65 6e  ease read commen
0600: 74 73 20 69 6e 20 74 68 69 73 20 6d 65 6d 62 65  ts in this membe
0610: 72 20 66 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72  r for more infor
0620: 6d 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 20 20  mation...       
0630: 20 52 65 6d 65 6d 62 65 72 20 74 68 61 74 20 6d   Remember that m
0640: 6f 73 74 20 66 6f 72 65 69 67 6e 20 74 65 78 74  ost foreign text
0650: 75 61 6c 20 64 61 74 61 20 61 72 65 20 41 53 43  ual data are ASC
0660: 49 49 20 63 6f 64 65 64 3a 20 74 68 69 73 0a 20  II coded: this. 
0670: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69                 i
0680: 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 64 6f  mplementation do
0690: 65 73 20 6e 6f 74 20 68 61 6e 64 6c 65 20 63 6f  es not handle co
06a0: 6e 76 65 72 73 69 6f 6e 20 66 72 6f 6d 2f 74 6f  nversion from/to
06b0: 20 41 53 43 49 49 2c 20 73 6f 0a 20 20 20 20 20   ASCII, so.     
06c0: 20 20 20 20 20 20 20 20 20 20 20 74 65 78 74 20             text 
06d0: 64 61 74 61 20 63 6f 64 65 20 63 6f 6e 76 65 72  data code conver
06e0: 73 69 6f 6e 73 20 6d 75 73 74 20 62 65 20 64 6f  sions must be do
06f0: 6e 65 20 65 78 70 6c 69 63 69 74 65 6c 79 2e 0a  ne explicitely..
0700: 0a 20 20 20 20 20 20 20 20 4d 61 69 6e 6c 79 20  .        Mainly 
0710: 66 6f 72 20 74 68 65 20 72 65 61 73 6f 6e 20 61  for the reason a
0720: 62 6f 76 65 2c 20 61 6c 77 61 79 73 20 6f 70 65  bove, always ope
0730: 6e 20 7a 69 70 70 65 64 20 66 69 6c 65 73 20 69  n zipped files i
0740: 6e 20 62 69 6e 61 72 79 20 6d 6f 64 65 2e 0a     n binary mode..