Artifact 6843e8ac9dbda9858309510e0ac92a1336e90377:

Wiki page [chicken-iup-build] by jmoon on 2017-09-21 04:58:30.
0000: 44 20 32 30 31 37 2d 30 39 2d 32 31 54 30 34 3a  D 2017-09-21T04:
0010: 35 38 3a 33 30 2e 31 34 37 0a 4c 20 63 68 69 63  58:30.147.L chic
0020: 6b 65 6e 2d 69 75 70 2d 62 75 69 6c 64 0a 50 20  ken-iup-build.P 
0030: 62 32 31 61 65 39 61 31 30 39 63 62 37 31 36 39  b21ae9a109cb7169
0040: 64 33 37 38 66 38 62 63 62 61 36 34 33 37 37 36  d378f8bcba643776
0050: 39 31 33 61 30 65 36 33 0a 55 20 6a 6d 6f 6f 6e  913a0e63.U jmoon
0060: 0a 57 20 31 38 34 36 0a 32 30 31 37 20 6e 6f 74  .W 1846.2017 not
0070: 65 73 20 6f 6e 20 62 75 69 6c 64 69 6e 67 20 69  es on building i
0080: 6e 73 74 61 6c 6c 65 72 20 6f 6e 20 6d 69 6e 67  nstaller on ming
0090: 77 2e 20 0d 0a 42 75 69 6c 64 20 77 61 73 20 74  w. ..Build was t
00a0: 65 73 74 65 64 20 6f 6e 20 57 69 6e 64 6f 77 73  ested on Windows
00b0: 20 37 20 56 4d 20 61 6e 64 20 57 69 6e 64 6f 77   7 VM and Window
00c0: 73 20 31 30 20 70 68 79 73 69 63 61 6c 20 69 6e  s 10 physical in
00d0: 73 74 61 6c 6c 61 74 69 6f 6e 2e 0d 0a 0d 0a 20  stallation..... 
00e0: 2a 20 49 6e 73 74 61 6c 6c 20 4f 53 20 6f 66 20  * Install OS of 
00f0: 63 68 6f 69 63 65 20 28 49 74 20 61 70 70 65 61  choice (It appea
0100: 72 73 20 74 68 61 74 20 57 69 6e 64 6f 77 73 20  rs that Windows 
0110: 58 50 20 69 73 20 6c 69 6b 65 6c 79 20 6e 6f 20  XP is likely no 
0120: 6c 6f 6e 67 65 72 20 61 6e 20 6f 70 74 69 6f 6e  longer an option
0130: 20 64 75 65 20 74 6f 20 6d 69 6e 67 77 20 6e 6f   due to mingw no
0140: 74 20 62 65 69 6e 67 20 61 62 6c 65 20 74 6f 20  t being able to 
0150: 64 6f 77 6e 6c 6f 61 64 20 70 61 63 6b 61 67 65  download package
0160: 73 20 61 6e 79 6d 6f 72 65 29 0d 0a 0d 0a 20 2a  s anymore).... *
0170: 20 49 6e 73 74 61 6c 6c 20 4d 69 6e 67 77 20 28   Install Mingw (
0180: 6d 69 6e 67 77 2d 64 65 76 65 6c 6f 70 65 72 2d  mingw-developer-
0190: 74 6f 6f 6c 6b 69 74 20 6d 69 6e 67 77 33 32 2d  toolkit mingw32-
01a0: 67 63 63 0d 0a 20 20 6d 73 79 73 2d 62 61 73 68  gcc..  msys-bash
01b0: 29 0d 0a 0d 0a 20 2a 20 49 6e 73 74 61 6c 6c 20  ).... * Install 
01c0: 49 6e 6e 6f 20 53 65 74 75 70 0d 0a 0d 0a 20 2a  Inno Setup.... *
01d0: 20 44 6f 77 6e 6c 6f 61 64 20 2f 20 63 6c 6f 6e   Download / clon
01e0: 65 20 63 68 69 63 6b 65 6e 2d 69 75 70 20 66 6f  e chicken-iup fo
01f0: 73 73 69 6c 0d 0a 0d 0a 20 2a 20 47 65 74 20 69  ssil.... * Get i
0200: 6e 74 6f 20 22 6d 73 79 73 22 20 28 63 3a 2f 4d  nto "msys" (c:/M
0210: 69 6e 47 57 2f 6d 73 79 73 2f 31 2e 30 2f 6d 73  inGW/msys/1.0/ms
0220: 79 73 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 29  ys, for example)
0230: 0d 0a 0d 0a 20 2a 20 41 64 64 20 65 6e 74 72 79  .... * Add entry
0240: 20 69 6e 74 6f 20 2f 65 74 63 2f 66 73 74 61 62   into /etc/fstab
0250: 2c 20 6d 69 6e 65 20 6c 6f 6f 6b 65 64 20 6c 69  , mine looked li
0260: 6b 65 20 66 6f 6c 6c 6f 77 73 3a 0d 0a 0d 0a 3c  ke follows:....<
0270: 70 72 65 3e 0d 0a 23 20 2f 65 74 63 2f 66 73 74  pre>..# /etc/fst
0280: 61 62 20 2d 2d 20 6d 6f 75 6e 74 20 74 61 62 6c  ab -- mount tabl
0290: 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20  e configuration 
02a0: 66 6f 72 20 4d 53 59 53 2e 0d 0a 23 20 50 6c 65  for MSYS...# Ple
02b0: 61 73 65 20 72 65 66 65 72 20 74 6f 20 2f 65 74  ase refer to /et
02c0: 63 2f 66 73 74 61 62 2e 73 61 6d 70 6c 65 20 66  c/fstab.sample f
02d0: 6f 72 20 65 78 70 6c 61 6e 61 74 6f 72 79 20 61  or explanatory a
02e0: 6e 6e 6f 74 61 74 69 6f 6e 2e 0d 0a 0d 0a 23 20  nnotation.....# 
02f0: 4d 53 59 53 2d 50 6f 72 74 61 62 6c 65 20 6e 65  MSYS-Portable ne
0300: 65 64 73 20 74 68 69 73 20 22 6d 61 67 69 63 22  eds this "magic"
0310: 20 63 6f 6d 6d 65 6e 74 3a 0d 0a 23 20 4d 53 59   comment:..# MSY
0320: 53 52 4f 4f 54 3d 43 3a 2f 4d 69 6e 47 57 2f 6d  SROOT=C:/MinGW/m
0330: 73 79 73 2f 31 2e 30 0d 0a 0d 0a 23 20 57 69 6e  sys/1.0....# Win
0340: 33 32 5f 50 61 74 68 09 09 09 09 4d 6f 75 6e 74  32_Path....Mount
0350: 5f 50 6f 69 6e 74 0d 0a 23 2d 2d 2d 2d 2d 2d 2d  _Point..#-------
0360: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0370: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 09 2d  --------------.-
0380: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 43 3a 2f 4d  ----------..C:/M
0390: 69 6e 47 57 09 09 09 09 2f 6d 69 6e 67 77 0d 0a  inGW..../mingw..
03a0: 43 3a 2f 63 68 69 63 6b 65 6e 2d 69 75 70 09 09  C:/chicken-iup..
03b0: 09 2f 63 68 69 63 6b 65 6e 2d 69 75 70 0d 0a 43  ./chicken-iup..C
03c0: 3a 2f 55 73 65 72 73 2f 49 45 55 73 65 72 2f 44  :/Users/IEUser/D
03d0: 6f 77 6e 6c 6f 61 64 73 2f 66 66 63 61 6c 6c 20  ownloads/ffcall 
03e0: 09 2f 66 66 63 61 6c 6c 0d 0a 43 3a 2f 55 73 65  ./ffcall..C:/Use
03f0: 72 73 2f 49 45 55 73 65 72 2f 44 6f 77 6e 6c 6f  rs/IEUser/Downlo
0400: 61 64 73 2f 63 68 69 63 6b 65 6e 2d 69 75 70 20  ads/chicken-iup 
0410: 09 2f 63 69 75 70 0d 0a 3c 2f 70 72 65 3e 0d 0a  ./ciup..</pre>..
0420: 0d 0a 2a 20 49 6e 20 6d 73 79 73 20 73 68 65 6c  ..* In msys shel
0430: 6c 2c 20 72 75 6e 20 6d 61 6b 65 0d 0a 0d 0a 2a  l, run make....*
0440: 20 41 73 73 75 6d 69 6e 67 20 62 75 69 6c 64 20   Assuming build 
0450: 72 61 6e 20 74 68 72 6f 75 67 68 20 73 75 63 63  ran through succ
0460: 65 73 73 66 75 6c 6c 79 2c 20 6f 70 65 6e 20 63  essfully, open c
0470: 68 69 63 6b 65 6e 2d 69 75 70 2e 69 73 73 20 66  hicken-iup.iss f
0480: 69 6c 65 20 69 6e 20 49 6e 6e 6f 20 53 65 74 75  ile in Inno Setu
0490: 70 2e 20 20 43 6c 69 63 6b 20 22 52 75 6e 22 2e  p.  Click "Run".
04a0: 20 20 54 68 69 73 20 77 69 6c 6c 20 63 72 65 61    This will crea
04b0: 74 65 20 74 68 65 20 69 6e 73 74 61 6c 6c 65 72  te the installer
04c0: 2e 20 20 0d 0a 0d 0a 2a 20 4e 6f 74 65 73 3a 20  .  ....* Notes: 
04d0: 52 65 6d 65 6d 62 65 72 20 74 68 61 74 20 57 69  Remember that Wi
04e0: 6e 64 6f 77 73 20 75 73 65 73 20 69 74 27 73 20  ndows uses it's 
04f0: 22 50 41 54 48 22 20 76 61 72 69 61 62 6c 65 20  "PATH" variable 
0500: 74 6f 20 6c 6f 61 64 20 6c 69 62 72 61 72 69 65  to load librarie
0510: 73 2e 20 20 53 6f 20 63 68 69 63 6b 65 6e 2d 69  s.  So chicken-i
0520: 75 70 2f 62 69 6e 20 61 6e 64 20 63 68 69 63 6b  up/bin and chick
0530: 65 6e 2d 69 75 70 2f 6c 69 62 20 6d 75 73 74 20  en-iup/lib must 
0540: 62 65 20 69 6e 20 74 68 65 20 70 61 74 68 2e 20  be in the path. 
0550: 20 54 68 65 20 69 6e 73 74 61 6c 6c 65 72 20 64   The installer d
0560: 6f 65 73 20 74 68 69 73 2c 20 62 75 74 20 69 66  oes this, but if
0570: 20 79 6f 75 20 74 72 79 20 74 6f 20 74 65 73 74   you try to test
0580: 20 62 65 66 6f 72 65 20 63 72 65 61 74 69 6e 67   before creating
0590: 20 74 68 65 20 69 6e 73 74 61 6c 6c 65 72 2c 20   the installer, 
05a0: 73 6f 6d 65 20 6f 66 20 74 68 65 20 6c 69 62 72  some of the libr
05b0: 61 72 69 65 73 20 77 69 6c 6c 20 6e 6f 74 20 77  aries will not w
05c0: 6f 72 6b 2e 20 20 59 6f 75 20 63 61 6e 20 65 69  ork.  You can ei
05d0: 74 68 65 72 20 73 65 74 20 74 68 65 6d 20 6d 61  ther set them ma
05e0: 6e 75 61 6c 6c 79 2c 20 6f 72 20 72 75 6e 20 74  nually, or run t
05f0: 68 65 20 69 6e 73 74 61 6c 6c 65 72 20 74 6f 20  he installer to 
0600: 74 65 73 74 20 69 74 20 6f 75 74 2e 20 20 41 6c  test it out.  Al
0610: 73 6f 2c 20 61 20 66 65 77 20 6f 66 20 74 68 65  so, a few of the
0620: 20 65 67 67 73 20 77 65 72 65 20 75 6e 61 62 6c   eggs were unabl
0630: 65 20 74 6f 20 62 65 20 74 68 65 20 6c 61 74 65  e to be the late
0640: 73 74 20 76 65 72 73 69 6f 6e 2e 20 20 49 27 6d  st version.  I'm
0650: 20 6e 6f 74 20 73 75 72 65 20 77 68 61 74 20 65   not sure what e
0660: 78 61 63 74 6c 79 20 74 68 65 79 20 63 68 61 6e  xactly they chan
0670: 67 65 64 2c 20 62 75 74 20 74 68 65 20 6c 61 74  ged, but the lat
0680: 65 73 74 20 76 65 72 73 69 6f 6e 20 6f 66 20 74  est version of t
0690: 68 65 20 69 75 70 20 65 67 67 20 77 61 73 20 74  he iup egg was t
06a0: 72 69 63 6b 79 2e 20 20 54 68 65 73 65 20 6d 61  ricky.  These ma
06b0: 79 20 62 65 20 61 62 6c 65 20 74 6f 20 62 65 20  y be able to be 
06c0: 66 69 78 65 64 20 77 69 74 68 20 73 6f 6d 65 20  fixed with some 
06d0: 6d 6f 72 65 20 77 6f 72 6b 2c 20 62 75 74 20 49  more work, but I
06e0: 20 64 69 64 6e 27 74 20 67 65 74 20 74 68 65 6d   didn't get them
06f0: 20 77 6f 72 6b 69 6e 67 2e 0d 0a 0d 0a 20 2a 20   working..... * 
0700: 52 75 6e 20 60 63 73 69 20 2d 52 20 69 75 70 20  Run `csi -R iup 
0710: 2d 65 20 27 28 6c 65 74 20 28 5b 64 6c 67 20 28  -e '(let ([dlg (
0720: 64 69 61 6c 6f 67 20 23 3a 74 69 74 6c 65 20 22  dialog #:title "
0730: 54 65 73 74 22 20 28 62 75 74 74 6f 6e 20 22 50  Test" (button "P
0740: 75 73 68 0d 0a 20 20 6d 65 21 22 20 23 3a 61 63  ush..  me!" #:ac
0750: 74 69 6f 6e 20 70 72 69 6e 74 29 29 5d 29 20 28  tion print))]) (
0760: 73 68 6f 77 20 64 6c 67 20 23 3a 6d 6f 64 61 6c  show dlg #:modal
0770: 3f 20 23 74 29 29 27 60 20 74 6f 20 76 65 72 69  ? #t))'` to veri
0780: 66 79 20 74 68 65 0d 0a 20 20 69 6e 73 74 61 6c  fy the..  instal
0790: 6c 61 74 69 6f 6e 20 77 6f 72 6b 73 0d 0a 0a 5a  lation works...Z
07a0: 20 66 32 64 61 37 63 66 38 35 65 32 31 32 66 33   f2da7cf85e212f3
07b0: 34 31 35 37 35 65 65 31 38 65 33 66 37 35 66 39  41575ee18e3f75f9
07c0: 30 0a                                            0.