Artifact
b21ae9a109cb7169d378f8bcba643776913a0e63:
Wiki page
[
chicken-iup-build] by
jmoon on
2017-09-21 04:57:51.
0000: 44 20 32 30 31 37 2d 30 39 2d 32 31 54 30 34 3a D 2017-09-21T04:
0010: 35 37 3a 35 31 2e 30 32 30 0a 4c 20 63 68 69 63 57:51.020.L chic
0020: 6b 65 6e 2d 69 75 70 2d 62 75 69 6c 64 0a 55 20 ken-iup-build.U
0030: 6a 6d 6f 6f 6e 0a 57 20 31 38 34 38 0a 32 30 31 jmoon.W 1848.201
0040: 37 20 6e 6f 74 65 73 20 6f 6e 20 62 75 69 6c 64 7 notes on build
0050: 69 6e 67 20 69 6e 73 74 61 6c 6c 65 72 20 6f 6e ing installer on
0060: 20 6d 69 6e 67 77 2e 20 0d 0a 42 75 69 6c 64 20 mingw. ..Build
0070: 77 61 73 20 74 65 73 74 65 64 20 6f 6e 20 57 69 was tested on Wi
0080: 6e 64 6f 77 73 20 37 20 56 4d 20 61 6e 64 20 57 ndows 7 VM and W
0090: 69 6e 64 6f 77 73 20 31 30 20 70 68 79 73 69 63 indows 10 physic
00a0: 61 6c 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 2e al installation.
00b0: 0d 0a 0d 0a 20 2a 20 49 6e 73 74 61 6c 6c 20 4f .... * Install O
00c0: 53 20 6f 66 20 63 68 6f 69 63 65 20 28 49 74 20 S of choice (It
00d0: 61 70 70 65 61 72 73 20 74 68 61 74 20 57 69 6e appears that Win
00e0: 64 6f 77 73 20 58 50 20 69 73 20 6c 69 6b 65 6c dows XP is likel
00f0: 79 20 6e 6f 20 6c 6f 6e 67 65 72 20 61 6e 20 6f y no longer an o
0100: 70 74 69 6f 6e 20 64 75 65 20 74 6f 20 6d 69 6e ption due to min
0110: 67 77 20 6e 6f 74 20 62 65 69 6e 67 20 61 62 6c gw not being abl
0120: 65 20 74 6f 20 64 6f 77 6e 6c 6f 61 64 20 70 61 e to download pa
0130: 63 6b 61 67 65 73 20 61 6e 79 6d 6f 72 65 29 0d ckages anymore).
0140: 0a 0d 0a 20 2a 20 49 6e 73 74 61 6c 6c 20 4d 69 ... * Install Mi
0150: 6e 67 77 20 28 6d 69 6e 67 77 2d 64 65 76 65 6c ngw (mingw-devel
0160: 6f 70 65 72 2d 74 6f 6f 6c 6b 69 74 20 6d 69 6e oper-toolkit min
0170: 67 77 33 32 2d 67 63 63 0d 0a 20 20 6d 73 79 73 gw32-gcc.. msys
0180: 2d 62 61 73 68 29 0d 0a 0d 0a 20 2a 20 49 6e 73 -bash).... * Ins
0190: 74 61 6c 6c 20 49 6e 6e 6f 20 53 65 74 75 70 0d tall Inno Setup.
01a0: 0a 0d 0a 20 2a 20 44 6f 77 6e 6c 6f 61 64 20 2f ... * Download /
01b0: 20 63 6c 6f 6e 65 20 63 68 69 63 6b 65 6e 2d 69 clone chicken-i
01c0: 75 70 20 66 6f 73 73 69 6c 0d 0a 0d 0a 20 2a 20 up fossil.... *
01d0: 47 65 74 20 69 6e 74 6f 20 22 6d 73 79 73 22 20 Get into "msys"
01e0: 28 63 3a 2f 4d 69 6e 47 57 2f 6d 73 79 73 2f 31 (c:/MinGW/msys/1
01f0: 2e 30 2f 6d 73 79 73 2c 20 66 6f 72 20 65 78 61 .0/msys, for exa
0200: 6d 70 6c 65 29 0d 0a 0d 0a 20 2a 20 41 64 64 20 mple).... * Add
0210: 65 6e 74 72 79 20 69 6e 74 6f 20 2f 65 74 63 2f entry into /etc/
0220: 66 73 74 61 62 2c 20 6d 69 6e 65 20 6c 6f 6f 6b fstab, mine look
0230: 65 64 20 6c 69 6b 65 20 66 6f 6c 6c 6f 77 73 3a ed like follows:
0240: 0d 0a 0d 0a 3c 63 6f 64 65 3e 0d 0a 23 20 2f 65 ....<code>..# /e
0250: 74 63 2f 66 73 74 61 62 20 2d 2d 20 6d 6f 75 6e tc/fstab -- moun
0260: 74 20 74 61 62 6c 65 20 63 6f 6e 66 69 67 75 72 t table configur
0270: 61 74 69 6f 6e 20 66 6f 72 20 4d 53 59 53 2e 0d ation for MSYS..
0280: 0a 23 20 50 6c 65 61 73 65 20 72 65 66 65 72 20 .# Please refer
0290: 74 6f 20 2f 65 74 63 2f 66 73 74 61 62 2e 73 61 to /etc/fstab.sa
02a0: 6d 70 6c 65 20 66 6f 72 20 65 78 70 6c 61 6e 61 mple for explana
02b0: 74 6f 72 79 20 61 6e 6e 6f 74 61 74 69 6f 6e 2e tory annotation.
02c0: 0d 0a 0d 0a 23 20 4d 53 59 53 2d 50 6f 72 74 61 ....# MSYS-Porta
02d0: 62 6c 65 20 6e 65 65 64 73 20 74 68 69 73 20 22 ble needs this "
02e0: 6d 61 67 69 63 22 20 63 6f 6d 6d 65 6e 74 3a 0d magic" comment:.
02f0: 0a 23 20 4d 53 59 53 52 4f 4f 54 3d 43 3a 2f 4d .# MSYSROOT=C:/M
0300: 69 6e 47 57 2f 6d 73 79 73 2f 31 2e 30 0d 0a 0d inGW/msys/1.0...
0310: 0a 23 20 57 69 6e 33 32 5f 50 61 74 68 09 09 09 .# Win32_Path...
0320: 09 4d 6f 75 6e 74 5f 50 6f 69 6e 74 0d 0a 23 2d .Mount_Point..#-
0330: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0340: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----------------
0350: 2d 2d 2d 2d 09 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d ----.-----------
0360: 0d 0a 43 3a 2f 4d 69 6e 47 57 09 09 09 09 2f 6d ..C:/MinGW..../m
0370: 69 6e 67 77 0d 0a 43 3a 2f 63 68 69 63 6b 65 6e ingw..C:/chicken
0380: 2d 69 75 70 09 09 09 2f 63 68 69 63 6b 65 6e 2d -iup.../chicken-
0390: 69 75 70 0d 0a 43 3a 2f 55 73 65 72 73 2f 49 45 iup..C:/Users/IE
03a0: 55 73 65 72 2f 44 6f 77 6e 6c 6f 61 64 73 2f 66 User/Downloads/f
03b0: 66 63 61 6c 6c 20 09 2f 66 66 63 61 6c 6c 0d 0a fcall ./ffcall..
03c0: 43 3a 2f 55 73 65 72 73 2f 49 45 55 73 65 72 2f C:/Users/IEUser/
03d0: 44 6f 77 6e 6c 6f 61 64 73 2f 63 68 69 63 6b 65 Downloads/chicke
03e0: 6e 2d 69 75 70 20 09 2f 63 69 75 70 0d 0a 3c 2f n-iup ./ciup..</
03f0: 63 6f 64 65 3e 0d 0a 0d 0a 2a 20 49 6e 20 6d 73 code>....* In ms
0400: 79 73 20 73 68 65 6c 6c 2c 20 72 75 6e 20 6d 61 ys shell, run ma
0410: 6b 65 0d 0a 0d 0a 2a 20 41 73 73 75 6d 69 6e 67 ke....* Assuming
0420: 20 62 75 69 6c 64 20 72 61 6e 20 74 68 72 6f 75 build ran throu
0430: 67 68 20 73 75 63 63 65 73 73 66 75 6c 6c 79 2c gh successfully,
0440: 20 6f 70 65 6e 20 63 68 69 63 6b 65 6e 2d 69 75 open chicken-iu
0450: 70 2e 69 73 73 20 66 69 6c 65 20 69 6e 20 49 6e p.iss file in In
0460: 6e 6f 20 53 65 74 75 70 2e 20 20 43 6c 69 63 6b no Setup. Click
0470: 20 22 52 75 6e 22 2e 20 20 54 68 69 73 20 77 69 "Run". This wi
0480: 6c 6c 20 63 72 65 61 74 65 20 74 68 65 20 69 6e ll create the in
0490: 73 74 61 6c 6c 65 72 2e 20 20 0d 0a 0d 0a 2a 20 staller. ....*
04a0: 4e 6f 74 65 73 3a 20 52 65 6d 65 6d 62 65 72 20 Notes: Remember
04b0: 74 68 61 74 20 57 69 6e 64 6f 77 73 20 75 73 65 that Windows use
04c0: 73 20 69 74 27 73 20 22 50 41 54 48 22 20 76 61 s it's "PATH" va
04d0: 72 69 61 62 6c 65 20 74 6f 20 6c 6f 61 64 20 6c riable to load l
04e0: 69 62 72 61 72 69 65 73 2e 20 20 53 6f 20 63 68 ibraries. So ch
04f0: 69 63 6b 65 6e 2d 69 75 70 2f 62 69 6e 20 61 6e icken-iup/bin an
0500: 64 20 63 68 69 63 6b 65 6e 2d 69 75 70 2f 6c 69 d chicken-iup/li
0510: 62 20 6d 75 73 74 20 62 65 20 69 6e 20 74 68 65 b must be in the
0520: 20 70 61 74 68 2e 20 20 54 68 65 20 69 6e 73 74 path. The inst
0530: 61 6c 6c 65 72 20 64 6f 65 73 20 74 68 69 73 2c aller does this,
0540: 20 62 75 74 20 69 66 20 79 6f 75 20 74 72 79 20 but if you try
0550: 74 6f 20 74 65 73 74 20 62 65 66 6f 72 65 20 63 to test before c
0560: 72 65 61 74 69 6e 67 20 74 68 65 20 69 6e 73 74 reating the inst
0570: 61 6c 6c 65 72 2c 20 73 6f 6d 65 20 6f 66 20 74 aller, some of t
0580: 68 65 20 6c 69 62 72 61 72 69 65 73 20 77 69 6c he libraries wil
0590: 6c 20 6e 6f 74 20 77 6f 72 6b 2e 20 20 59 6f 75 l not work. You
05a0: 20 63 61 6e 20 65 69 74 68 65 72 20 73 65 74 20 can either set
05b0: 74 68 65 6d 20 6d 61 6e 75 61 6c 6c 79 2c 20 6f them manually, o
05c0: 72 20 72 75 6e 20 74 68 65 20 69 6e 73 74 61 6c r run the instal
05d0: 6c 65 72 20 74 6f 20 74 65 73 74 20 69 74 20 6f ler to test it o
05e0: 75 74 2e 20 20 41 6c 73 6f 2c 20 61 20 66 65 77 ut. Also, a few
05f0: 20 6f 66 20 74 68 65 20 65 67 67 73 20 77 65 72 of the eggs wer
0600: 65 20 75 6e 61 62 6c 65 20 74 6f 20 62 65 20 74 e unable to be t
0610: 68 65 20 6c 61 74 65 73 74 20 76 65 72 73 69 6f he latest versio
0620: 6e 2e 20 20 49 27 6d 20 6e 6f 74 20 73 75 72 65 n. I'm not sure
0630: 20 77 68 61 74 20 65 78 61 63 74 6c 79 20 74 68 what exactly th
0640: 65 79 20 63 68 61 6e 67 65 64 2c 20 62 75 74 20 ey changed, but
0650: 74 68 65 20 6c 61 74 65 73 74 20 76 65 72 73 69 the latest versi
0660: 6f 6e 20 6f 66 20 74 68 65 20 69 75 70 20 65 67 on of the iup eg
0670: 67 20 77 61 73 20 74 72 69 63 6b 79 2e 20 20 54 g was tricky. T
0680: 68 65 73 65 20 6d 61 79 20 62 65 20 61 62 6c 65 hese may be able
0690: 20 74 6f 20 62 65 20 66 69 78 65 64 20 77 69 74 to be fixed wit
06a0: 68 20 73 6f 6d 65 20 6d 6f 72 65 20 77 6f 72 6b h some more work
06b0: 2c 20 62 75 74 20 49 20 64 69 64 6e 27 74 20 67 , but I didn't g
06c0: 65 74 20 74 68 65 6d 20 77 6f 72 6b 69 6e 67 2e et them working.
06d0: 0d 0a 0d 0a 20 2a 20 52 75 6e 20 60 63 73 69 20 .... * Run `csi
06e0: 2d 52 20 69 75 70 20 2d 65 20 27 28 6c 65 74 20 -R iup -e '(let
06f0: 28 5b 64 6c 67 20 28 64 69 61 6c 6f 67 20 23 3a ([dlg (dialog #:
0700: 74 69 74 6c 65 20 22 54 65 73 74 22 20 28 62 75 title "Test" (bu
0710: 74 74 6f 6e 20 22 50 75 73 68 0d 0a 20 20 6d 65 tton "Push.. me
0720: 21 22 20 23 3a 61 63 74 69 6f 6e 20 70 72 69 6e !" #:action prin
0730: 74 29 29 5d 29 20 28 73 68 6f 77 20 64 6c 67 20 t))]) (show dlg
0740: 23 3a 6d 6f 64 61 6c 3f 20 23 74 29 29 27 60 20 #:modal? #t))'`
0750: 74 6f 20 76 65 72 69 66 79 20 74 68 65 0d 0a 20 to verify the..
0760: 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 77 6f installation wo
0770: 72 6b 73 0d 0a 0a 5a 20 35 36 62 61 36 65 66 33 rks...Z 56ba6ef3
0780: 65 62 37 65 39 37 66 65 30 30 30 61 62 32 33 65 eb7e97fe000ab23e
0790: 39 39 31 33 32 32 39 66 0a 9913229f.