Artifact
54159a1fafbf8adde67fd4518a660c4a0970d0c1773c1172597506c82f92bfa5:
Wiki page
[Release Build How-To] by
drh
2018-05-04 13:39:05.
0000: 44 20 32 30 31 38 2d 30 35 2d 30 34 54 31 33 3a D 2018-05-04T13:
0010: 33 39 3a 30 35 2e 32 36 33 0a 4c 20 52 65 6c 65 39:05.263.L Rele
0020: 61 73 65 5c 73 42 75 69 6c 64 5c 73 48 6f 77 2d ase\sBuild\sHow-
0030: 54 6f 0a 50 20 64 63 62 63 64 36 62 30 66 39 62 To.P dcbcd6b0f9b
0040: 30 63 35 64 39 64 64 38 32 61 63 63 66 31 38 64 0c5d9dd82accf18d
0050: 61 33 64 39 36 62 30 64 35 33 37 65 35 35 37 31 a3d96b0d537e5571
0060: 34 63 61 64 38 66 64 64 34 39 65 65 62 35 32 61 4cad8fdd49eeb52a
0070: 31 31 66 66 62 0a 55 20 64 72 68 0a 57 20 32 30 11ffb.U drh.W 20
0080: 38 32 0a 3c 68 31 3e 4e 6f 74 65 73 20 6f 6e 20 82.<h1>Notes on
0090: 68 6f 77 20 62 75 69 6c 64 20 61 6e 64 20 75 70 how build and up
00a0: 6c 6f 61 64 20 74 68 65 20 70 72 65 63 6f 6d 70 load the precomp
00b0: 69 6c 65 64 20 62 69 6e 61 72 69 65 73 3c 2f 68 iled binaries</h
00c0: 31 3e 0d 0a 0d 0a 3c 68 32 3e 44 6f 77 6e 6c 6f 1>....<h2>Downlo
00d0: 61 64 20 50 61 67 65 3c 2f 68 32 3e 0d 0a 3c 75 ad Page</h2>..<u
00e0: 6c 3e 0d 0a 3c 6c 69 3e 52 75 6e 20 22 66 6f 73 l>..<li>Run "fos
00f0: 73 69 6c 20 75 76 20 65 64 69 74 20 64 6f 77 6e sil uv edit down
0100: 6c 6f 61 64 2e 68 74 6d 6c 22 20 74 6f 20 6d 6f load.html" to mo
0110: 64 69 66 79 20 74 68 65 20 22 72 65 6c 65 61 73 dify the "releas
0120: 65 73 22 20 76 61 72 69 61 62 6c 65 0d 0a 20 20 es" variable..
0130: 20 20 69 6e 20 74 68 65 20 6a 61 76 61 73 63 72 in the javascr
0140: 69 70 74 20 74 6f 20 61 64 64 20 74 68 65 20 6e ipt to add the n
0150: 65 77 20 72 65 6c 65 61 73 65 20 6e 75 6d 62 65 ew release numbe
0160: 72 20 61 6e 64 20 74 69 74 6c 65 20 61 6e 64 20 r and title and
0170: 76 61 72 69 6f 75 73 0d 0a 20 20 20 20 68 79 70 various.. hyp
0180: 65 72 6c 69 6e 6b 73 2e 0d 0a 3c 6c 69 3e 52 75 erlinks...<li>Ru
0190: 6e 20 22 66 6f 73 73 69 6c 20 75 76 20 73 79 6e n "fossil uv syn
01a0: 63 22 20 74 6f 20 70 72 6f 70 61 67 61 74 65 20 c" to propagate
01b0: 74 68 65 20 63 68 61 6e 67 65 73 20 66 72 6f 6d the changes from
01c0: 20 74 68 65 20 70 72 65 76 69 6f 75 73 20 73 74 the previous st
01d0: 65 70 2e 0d 0a 3c 2f 75 6c 3e 0d 0a 0d 0a 3c 68 ep...</ul>....<h
01e0: 32 3e 4c 69 6e 75 78 3c 2f 68 32 3e 0d 0a 3c 75 2>Linux</h2>..<u
01f0: 6c 3e 0d 0a 3c 6c 69 3e 4f 6e 20 74 68 65 20 6d l>..<li>On the m
0200: 61 63 68 69 6e 65 20 6e 61 6d 65 64 20 22 62 65 achine named "be
0210: 6c 6c 61 22 2c 20 63 64 20 74 6f 20 7e 2f 66 6f lla", cd to ~/fo
0220: 73 73 69 6c 2f 73 74 61 74 69 63 3c 2f 6c 69 3e ssil/static</li>
0230: 0d 0a 3c 6c 69 3e 72 6d 20 2d 72 66 20 2a 3c 2f ..<li>rm -rf *</
0240: 6c 69 3e 0d 0a 3c 6c 69 3e 2e 2e 2f 6d 31 2f 63 li>..<li>../m1/c
0250: 6f 6e 66 69 67 75 72 65 20 2d 2d 73 74 61 74 69 onfigure --stati
0260: 63 20 2d 2d 64 69 73 61 62 6c 65 2d 66 75 73 65 c --disable-fuse
0270: 66 73 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 23 20 45 fs</li>..<li># E
0280: 64 69 74 20 74 68 65 20 4d 61 6b 65 66 69 6c 65 dit the Makefile
0290: 20 74 6f 20 6d 6f 76 65 20 2d 6c 64 6c 20 74 6f to move -ldl to
02a0: 20 74 68 65 20 65 6e 64 0d 0a 3c 6c 69 3e 6d 61 the end..<li>ma
02b0: 6b 65 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 73 74 72 ke</li>..<li>str
02c0: 69 70 20 66 6f 73 73 69 6c 3c 2f 6c 69 3e 0d 0a ip fossil</li>..
02d0: 3c 6c 69 3e 74 61 72 20 63 7a 66 20 66 6f 73 73 <li>tar czf foss
02e0: 69 6c 2d 6c 69 6e 75 78 2d 78 36 34 2d 24 56 45 il-linux-x64-$VE
02f0: 52 53 49 4f 4e 2e 74 61 72 2e 67 7a 20 66 6f 73 RSION.tar.gz fos
0300: 73 69 6c 0d 0a 3c 70 3e 3c 62 3e 4f 52 3a 3c 2f sil..<p><b>OR:</
0310: 62 3e 0d 0a 3c 6c 69 3e 4c 6f 67 20 69 6e 74 6f b>..<li>Log into
0320: 20 77 77 77 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e www.fossil-scm.
0330: 6f 72 67 0d 0a 3c 6c 69 3e 63 64 20 74 6f 20 2f org..<li>cd to /
0340: 68 6f 6d 65 2f 77 77 77 2f 66 6f 73 73 69 6c 2f home/www/fossil/
0350: 62 31 0d 0a 3c 6c 69 3e 52 75 6e 20 74 68 65 20 b1..<li>Run the
0360: 73 63 72 69 70 74 20 2e 2f 72 65 62 75 69 6c 64 script ./rebuild
0370: 2e 73 68 0d 0a 3c 6c 69 3e 4c 6f 67 6f 75 74 0d .sh..<li>Logout.
0380: 0a 3c 6c 69 3e 44 6f 77 6e 6c 6f 61 64 20 74 68 .<li>Download th
0390: 65 20 66 69 6c 65 20 77 77 77 2e 66 6f 73 73 69 e file www.fossi
03a0: 6c 2d 73 63 6d 2e 6f 72 67 3a 2f 68 6f 6d 65 2f l-scm.org:/home/
03b0: 77 77 77 2f 75 73 72 2f 6c 6f 63 61 6c 2f 66 6f www/usr/local/fo
03c0: 73 73 69 6c 0d 0a 3c 6c 69 3e 74 61 72 20 63 7a ssil..<li>tar cz
03d0: 66 20 66 6f 73 73 69 6c 2d 6c 69 6e 75 78 2d 78 f fossil-linux-x
03e0: 36 34 2d 24 56 45 52 53 49 4f 4e 2e 74 61 72 2e 64-$VERSION.tar.
03f0: 67 7a 20 66 6f 73 73 69 6c 0d 0a 3c 2f 75 6c 3e gz fossil..</ul>
0400: 0d 0a 0d 0a 3c 68 32 3e 57 69 6e 64 6f 77 73 3c ....<h2>Windows<
0410: 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e /h2>..<ul>..<li>
0420: 55 73 65 20 4d 69 6e 47 57 20 69 6e 73 74 65 61 Use MinGW instea
0430: 64 20 6f 66 20 4d 53 56 43 20 66 6f 72 20 77 69 d of MSVC for wi
0440: 6e 64 6f 77 73 20 62 75 69 6c 64 73 20 73 69 6e ndows builds sin
0450: 63 65 20 74 68 65 20 72 65 73 75 6c 74 69 6e 67 ce the resulting
0460: 20 62 69 6e 61 72 79 20 68 61 73 0d 0a 66 65 77 binary has..few
0470: 65 72 20 6b 65 72 6e 65 6c 2e 64 6c 6c 20 64 65 er kernel.dll de
0480: 70 65 6e 64 65 6e 63 69 65 73 20 61 6e 64 20 77 pendencies and w
0490: 6f 72 6b 73 20 77 69 74 68 20 6f 6c 64 65 72 20 orks with older
04a0: 76 65 72 73 69 6f 6e 73 20 6f 66 20 77 69 6e 64 versions of wind
04b0: 6f 77 73 20 73 75 63 68 20 61 73 0d 0a 58 50 2e ows such as..XP.
04c0: 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 4f 6e 20 74 68 </li>..<li>On th
04d0: 65 20 4c 65 6e 6f 76 6f 20 59 6f 67 61 20 28 57 e Lenovo Yoga (W
04e0: 69 6e 64 6f 77 73 31 30 29 20 69 6e 20 61 20 4d indows10) in a M
04f0: 69 6e 47 57 20 73 68 65 6c 6c 20 69 6e 20 7e 2f inGW shell in ~/
0500: 66 6f 73 73 69 6c 2f 6d 31 3c 2f 6c 69 3e 0d 0a fossil/m1</li>..
0510: 3c 6c 69 3e 66 6f 73 73 69 6c 20 63 6c 65 61 6e <li>fossil clean
0520: 20 2d 78 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 6d 61 -x</li>..<li>ma
0530: 6b 65 20 2d 66 20 77 69 6e 2f 6d 61 6b 65 66 69 ke -f win/makefi
0540: 6c 65 2e 6d 69 6e 67 77 20 46 4f 53 53 49 4c 5f le.mingw FOSSIL_
0550: 45 4e 41 42 4c 45 5f 53 53 4c 3d 31 0d 0a 4f 50 ENABLE_SSL=1..OP
0560: 45 4e 53 53 4c 44 49 52 3d 2e 2e 2f 2e 2e 2f 6f ENSSLDIR=../../o
0570: 70 65 6e 73 73 6c 2d 31 2e 30 2e 30 6c 3c 2f 6c penssl-1.0.0l</l
0580: 69 3e 0d 0a 3c 6c 69 3e 3c 62 3e 4f 52 3a 3c 2f i>..<li><b>OR:</
0590: 62 3e 20 74 63 6c 73 68 20 2e 2e 2f 6d 6b 66 6f b> tclsh ../mkfo
05a0: 73 73 69 6c 2e 74 63 6c 0d 0a 3c 6c 69 3e 7a 69 ssil.tcl..<li>zi
05b0: 70 20 66 6f 73 73 69 6c 2d 77 33 32 2d 24 56 45 p fossil-w32-$VE
05c0: 52 53 49 4f 4e 2e 7a 69 70 20 66 6f 73 73 69 6c RSION.zip fossil
05d0: 2e 65 78 65 0d 0a 3c 6c 69 3e 56 69 73 69 74 20 .exe..<li>Visit
05e0: 5b 68 74 74 70 73 3a 2f 2f 73 75 62 6d 69 74 2e [https://submit.
05f0: 73 79 6d 61 6e 74 65 63 2e 63 6f 6d 2f 77 68 69 symantec.com/whi
0600: 74 65 6c 69 73 74 2f 69 73 76 2f 5d 20 74 6f 20 telist/isv/] to
0610: 73 75 62 6d 69 74 20 74 68 65 20 6e 65 77 0d 0a submit the new..
0620: 20 20 20 20 62 69 6e 61 72 79 20 66 6f 72 20 77 binary for w
0630: 68 69 74 65 6c 69 73 74 69 6e 67 2e 0d 0a 3c 2f hitelisting...</
0640: 75 6c 3e 0d 0a 0d 0a 3c 68 32 3e 4d 61 63 3c 2f ul>....<h2>Mac</
0650: 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c 69 3e 4f h2>..<ul>..<li>O
0660: 6e 20 32 30 31 35 20 4d 61 63 50 72 6f 20 69 6e n 2015 MacPro in
0670: 20 74 68 65 20 7e 2f 66 6f 73 73 69 6c 2f 6d 31 the ~/fossil/m1
0680: 20 64 69 72 65 63 74 6f 72 79 3c 2f 6c 69 3e 0d directory</li>.
0690: 0a 3c 6c 69 3e 66 6f 73 73 69 6c 20 63 6c 65 61 .<li>fossil clea
06a0: 6e 20 2d 66 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 2e n -f</li>..<li>.
06b0: 2f 63 6f 6e 66 69 67 75 72 65 3c 2f 6c 69 3e 0d /configure</li>.
06c0: 0a 3c 6c 69 3e 23 20 45 64 69 74 20 74 68 65 20 .<li># Edit the
06d0: 4d 61 6b 65 66 69 6c 65 20 74 6f 20 73 70 65 63 Makefile to spec
06e0: 69 66 79 20 2f 75 73 72 2f 6c 6f 63 61 6c 2f 6f ify /usr/local/o
06f0: 70 74 2f 6f 70 65 6e 73 73 6c 2f 6c 69 62 2f 6c pt/openssl/lib/l
0700: 69 62 63 72 79 70 74 6f 2e 61 20 0d 0a 61 6e 64 ibcrypto.a ..and
0710: 20 2f 75 73 72 2f 6c 6f 63 61 6c 2f 6f 70 74 2f /usr/local/opt/
0720: 6f 70 65 6e 73 73 6c 2f 6c 69 62 2f 6c 69 62 73 openssl/lib/libs
0730: 73 6c 2e 61 20 69 6e 20 70 6c 61 63 65 20 6f 66 sl.a in place of
0740: 0d 0a 20 20 20 20 2d 6c 63 72 79 70 74 6f 20 61 .. -lcrypto a
0750: 6e 64 20 2d 6c 73 73 6c 2c 20 61 6e 64 20 74 6f nd -lssl, and to
0760: 20 61 64 64 20 2d 6c 69 63 6f 6e 76 20 61 74 20 add -liconv at
0770: 74 68 65 20 65 6e 64 0d 0a 3c 6c 69 3e 6d 61 6b the end..<li>mak
0780: 65 3c 2f 6c 69 3e 0d 0a 3c 6c 69 3e 23 20 56 65 e</li>..<li># Ve
0790: 72 69 66 79 20 64 65 70 65 6e 64 65 6e 63 69 65 rify dependencie
07a0: 73 20 75 73 69 6e 67 3a 20 20 6f 74 6f 6f 6c 20 s using: otool
07b0: 2d 4c 20 2e 2f 66 6f 73 73 69 6c 0d 0a 3c 6c 69 -L ./fossil..<li
07c0: 3e 73 74 72 69 70 20 66 6f 73 73 69 6c 3c 2f 6c >strip fossil</l
07d0: 69 3e 0d 0a 3c 6c 69 3e 74 61 72 20 63 7a 66 20 i>..<li>tar czf
07e0: 66 6f 73 73 69 6c 2d 6d 61 63 6f 73 78 2d 24 56 fossil-macosx-$V
07f0: 45 52 53 49 4f 4e 2e 74 61 72 2e 67 7a 20 66 6f ERSION.tar.gz fo
0800: 73 73 69 6c 0d 0a 3c 2f 75 6c 3e 0d 0a 0d 0a 3c ssil..</ul>....<
0810: 68 32 3e 53 6f 75 72 63 65 20 54 61 72 62 61 6c h2>Source Tarbal
0820: 6c 3c 2f 68 32 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 6c l</h2>..<ul>..<l
0830: 69 3e 66 6f 73 73 69 6c 20 74 61 72 62 61 6c 6c i>fossil tarball
0840: 20 2d 2d 6e 61 6d 65 20 66 6f 73 73 69 6c 2d 24 --name fossil-$
0850: 56 45 52 53 49 4f 4e 20 76 65 72 73 69 6f 6e 2d VERSION version-
0860: 24 56 45 52 53 49 4f 4e 0d 0a 66 6f 73 73 69 6c $VERSION..fossil
0870: 2d 73 72 63 2d 24 56 45 52 53 49 4f 4e 2e 74 61 -src-$VERSION.ta
0880: 72 2e 67 7a 3c 62 72 3e 0d 0a 3c 2f 6c 69 3e 0d r.gz<br>..</li>.
0890: 0a 3c 2f 75 6c 3e 0d 0a 3c 75 6c 3e 0d 0a 3c 2f .</ul>..<ul>..</
08a0: 75 6c 3e 0d 0a 0a 5a 20 32 66 66 39 34 32 64 38 ul>...Z 2ff942d8
08b0: 63 64 62 32 64 36 30 30 35 66 64 64 61 35 64 63 cdb2d6005fdda5dc
08c0: 38 39 36 34 62 63 64 34 0a 8964bcd4.