File
www/build.wiki
— part of check-in
[cf901e53]
at
2014-08-26 00:43:13
on branch trunk
— Spacing fix to the build docs.
(user:
mistachkin
size: 6973)
[more...]
0000: 3c 74 69 74 6c 65 3e 43 6f 6d 70 69 6c 69 6e 67 <title>Compiling
0010: 20 61 6e 64 20 49 6e 73 74 61 6c 6c 69 6e 67 20 and Installing
0020: 46 6f 73 73 69 6c 3c 2f 74 69 74 6c 65 3e 0a 0a Fossil</title>..
0030: 3c 68 32 3e 30 2e 30 20 55 73 69 6e 67 20 41 20 <h2>0.0 Using A
0040: 50 72 65 2d 63 6f 6d 70 69 6c 65 64 20 42 69 6e Pre-compiled Bin
0050: 61 72 79 3c 2f 68 32 3e 0a 0a 3c 70 3e 52 65 6c ary</h2>..<p>Rel
0060: 65 61 73 65 64 20 76 65 72 73 69 6f 6e 73 20 6f eased versions o
0070: 66 20 66 6f 73 73 69 6c 20 63 6f 6d 65 20 77 69 f fossil come wi
0080: 74 68 0a 3c 61 20 68 72 65 66 3d 22 68 74 74 70 th.<a href="http
0090: 3a 2f 2f 77 77 77 2e 66 6f 73 73 69 6c 2d 73 63 ://www.fossil-sc
00a0: 6d 2e 6f 72 67 2f 64 6f 77 6e 6c 6f 61 64 2e 68 m.org/download.h
00b0: 74 6d 6c 22 3e 70 72 65 2d 63 6f 6d 70 69 6c 65 tml">pre-compile
00c0: 64 20 62 69 6e 61 72 69 65 73 20 61 6e 64 0a 61 d binaries and.a
00d0: 20 73 6f 75 72 63 65 20 61 72 63 68 69 76 65 3c source archive<
00e0: 2f 61 3e 20 66 6f 72 20 74 68 61 74 20 72 65 6c /a> for that rel
00f0: 65 61 73 65 2e 20 59 6f 75 20 63 61 6e 20 74 68 ease. You can th
0100: 75 73 20 73 6b 69 70 20 74 68 65 20 66 6f 6c 6c us skip the foll
0110: 6f 77 69 6e 67 20 69 66 20 79 6f 75 0a 77 61 6e owing if you.wan
0120: 74 20 74 6f 20 72 75 6e 20 6f 72 20 62 75 69 6c t to run or buil
0130: 64 20 61 20 72 65 6c 65 61 73 65 20 76 65 72 73 d a release vers
0140: 69 6f 6e 20 6f 66 20 66 6f 73 73 69 6c 2e 20 4a ion of fossil. J
0150: 75 73 74 20 64 6f 77 6e 6c 6f 61 64 0a 74 68 65 ust download.the
0160: 20 61 70 70 72 6f 70 72 69 61 74 65 20 70 61 63 appropriate pac
0170: 6b 61 67 65 20 66 72 6f 6d 20 74 68 65 20 3c 61 kage from the <a
0180: 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 href="http://ww
0190: 77 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 w.fossil-scm.org
01a0: 2f 64 6f 77 6e 6c 6f 61 64 2e 68 74 6d 6c 22 3e /download.html">
01b0: 64 6f 77 6e 6c 6f 61 64 73 20 70 61 67 65 3c 2f downloads page</
01c0: 61 3e 0a 61 6e 64 20 70 75 74 20 69 74 20 6f 6e a>.and put it on
01d0: 20 79 6f 75 72 20 24 50 41 54 48 2e 0a 54 6f 20 your $PATH..To
01e0: 75 6e 69 6e 73 74 61 6c 6c 2c 20 73 69 6d 70 6c uninstall, simpl
01f0: 79 20 64 65 6c 65 74 65 20 74 68 65 20 62 69 6e y delete the bin
0200: 61 72 79 2e 0a 54 6f 20 75 70 67 72 61 64 65 20 ary..To upgrade
0210: 66 72 6f 6d 20 61 6e 20 6f 6c 64 65 72 20 72 65 from an older re
0220: 6c 65 61 73 65 2c 20 6a 75 73 74 20 6f 76 65 72 lease, just over
0230: 77 72 69 74 65 20 74 68 65 20 6f 6c 64 65 72 20 write the older
0240: 62 69 6e 61 72 79 20 77 69 74 68 0a 74 68 65 20 binary with.the
0250: 6e 65 77 65 72 20 6f 6e 65 2e 3c 2f 70 3e 0a 0a newer one.</p>..
0260: 3c 68 32 3e 30 2e 31 20 45 78 65 63 75 74 69 76 <h2>0.1 Executiv
0270: 65 20 53 75 6d 6d 61 72 79 3c 2f 68 32 3e 0a 0a e Summary</h2>..
0280: 3c 70 3e 42 75 69 6c 64 69 6e 67 20 61 6e 64 20 <p>Building and
0290: 69 6e 73 74 61 6c 6c 69 6e 67 20 69 73 20 76 65 installing is ve
02a0: 72 79 20 73 69 6d 70 6c 65 2e 20 20 54 68 72 65 ry simple. Thre
02b0: 65 20 73 74 65 70 73 3a 3c 2f 70 3e 0a 0a 3c 6f e steps:</p>..<o
02c0: 6c 3e 0a 3c 6c 69 3e 20 44 6f 77 6e 6c 6f 61 64 l>.<li> Download
02d0: 20 61 6e 64 20 75 6e 70 61 63 6b 20 61 20 73 6f and unpack a so
02e0: 75 72 63 65 20 74 61 72 62 61 6c 6c 20 6f 72 20 urce tarball or
02f0: 5a 49 50 2e 0a 3c 6c 69 3e 20 3c 62 3e 2e 2f 63 ZIP..<li> <b>./c
0300: 6f 6e 66 69 67 75 72 65 3b 20 6d 61 6b 65 3c 2f onfigure; make</
0310: 62 3e 0a 3c 6c 69 3e 20 4d 6f 76 65 20 74 68 65 b>.<li> Move the
0320: 20 72 65 73 75 6c 74 69 6e 67 20 22 66 6f 73 73 resulting "foss
0330: 69 6c 22 20 6f 72 20 22 66 6f 73 73 69 6c 2e 65 il" or "fossil.e
0340: 78 65 22 20 65 78 65 63 75 74 61 62 6c 65 20 74 xe" executable t
0350: 6f 20 73 6f 6d 65 70 6c 61 63 65 20 6f 6e 0a 79 o someplace on.y
0360: 6f 75 72 20 24 50 41 54 48 2e 0a 3c 2f 6f 6c 3e our $PATH..</ol>
0370: 0a 0a 3c 70 3e 3c 68 72 3e 0a 0a 3c 68 32 3e 31 ..<p><hr>..<h2>1
0380: 2e 30 20 4f 62 74 61 69 6e 69 6e 67 20 54 68 65 .0 Obtaining The
0390: 20 53 6f 75 72 63 65 20 43 6f 64 65 3c 2f 68 32 Source Code</h2
03a0: 3e 0a 0a 3c 70 3e 46 6f 73 73 69 6c 20 69 73 20 >..<p>Fossil is
03b0: 73 65 6c 66 2d 68 6f 73 74 69 6e 67 2c 20 73 6f self-hosting, so
03c0: 20 79 6f 75 20 63 61 6e 20 6f 62 74 61 69 6e 20 you can obtain
03d0: 61 20 5a 49 50 20 61 72 63 68 69 76 65 20 6f 72 a ZIP archive or
03e0: 20 74 61 72 62 61 6c 6c 0a 63 6f 6e 74 61 69 6e tarball.contain
03f0: 69 6e 67 20 61 20 73 6e 61 70 73 68 6f 74 20 6f ing a snapshot o
0400: 66 20 74 68 65 20 3c 65 6d 3e 6c 61 74 65 73 74 f the <em>latest
0410: 3c 2f 65 6d 3e 20 76 65 72 73 69 6f 6e 20 64 69 </em> version di
0420: 72 65 63 74 6c 79 20 66 72 6f 6d 20 0a 46 6f 73 rectly from .Fos
0430: 73 69 6c 27 73 20 6f 77 6e 20 66 6f 73 73 69 6c sil's own fossil
0440: 20 72 65 70 6f 73 69 74 6f 72 79 2e 20 41 64 64 repository. Add
0450: 69 74 69 6f 6e 61 6c 6c 79 2c 20 73 6f 75 72 63 itionally, sourc
0460: 65 20 61 72 63 68 69 76 65 73 20 6f 66 20 0a 3c e archives of .<
0470: 65 6d 3e 72 65 6c 65 61 73 65 64 3c 2f 65 6d 3e em>released</em>
0480: 20 76 65 72 73 69 6f 6e 73 20 6f 66 0a 66 6f 73 versions of.fos
0490: 73 69 6c 20 61 72 65 20 61 76 61 69 6c 61 62 6c sil are availabl
04a0: 65 20 66 72 6f 6d 20 74 68 65 20 3c 61 20 68 72 e from the <a hr
04b0: 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 66 ef="http://www.f
04c0: 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 64 6f ossil-scm.org/do
04d0: 77 6e 6c 6f 61 64 2e 68 74 6d 6c 22 3e 64 6f 77 wnload.html">dow
04e0: 6e 6c 6f 61 64 73 20 70 61 67 65 3c 2f 61 3e 2e nloads page</a>.
04f0: 0a 54 6f 20 6f 62 74 61 69 6e 20 61 20 64 65 76 .To obtain a dev
0500: 65 6c 6f 70 6d 65 6e 74 20 76 65 72 73 69 6f 6e elopment version
0510: 20 6f 66 20 66 6f 73 73 69 6c 2c 20 66 6f 6c 6c of fossil, foll
0520: 6f 77 20 74 68 65 73 65 20 73 74 65 70 73 3a 3c ow these steps:<
0530: 2f 70 3e 0a 0a 3c 6f 6c 3e 0a 3c 6c 69 3e 3c 70 /p>..<ol>.<li><p
0540: 3e 50 6f 69 6e 74 20 79 6f 75 72 20 77 65 62 20 >Point your web
0550: 62 72 6f 77 73 65 72 20 61 74 0a 3c 61 20 68 72 browser at.<a hr
0560: 65 66 3d 22 68 74 74 70 3a 2f 2f 77 77 77 2e 66 ef="http://www.f
0570: 6f 73 73 69 6c 2d 73 63 6d 2e 6f 72 67 2f 22 3e ossil-scm.org/">
0580: 0a 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6f 73 73 .http://www.foss
0590: 69 6c 2d 73 63 6d 2e 6f 72 67 2f 3c 2f 61 3e 2e il-scm.org/</a>.
05a0: 3c 2f 70 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c </p></li>..<li><
05b0: 70 3e 43 6c 69 63 6b 20 6f 6e 20 74 68 65 20 0a p>Click on the .
05c0: 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f 2f <a href="http://
05d0: 77 77 77 2e 66 6f 73 73 69 6c 2d 73 63 6d 2e 6f www.fossil-scm.o
05e0: 72 67 2f 66 6f 73 73 69 6c 2f 74 69 6d 65 6c 69 rg/fossil/timeli
05f0: 6e 65 22 3e 54 69 6d 65 6c 69 6e 65 3c 2f 61 3e ne">Timeline</a>
0600: 20 0a 6c 69 6e 6b 20 61 74 20 74 68 65 20 74 6f .link at the to
0610: 70 20 6f 66 20 74 68 65 20 70 61 67 65 2e 3c 2f p of the page.</
0620: 70 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e p></li>..<li><p>
0630: 53 65 6c 65 63 74 20 61 20 76 65 72 73 69 6f 6e Select a version
0640: 20 6f 66 20 6f 66 20 46 6f 73 73 69 6c 20 79 6f of of Fossil yo
0650: 75 20 77 61 6e 74 20 74 6f 20 64 6f 77 6e 6c 6f u want to downlo
0660: 61 64 2e 20 20 54 68 65 20 6c 61 74 65 73 74 0a ad. The latest.
0670: 76 65 72 73 69 6f 6e 20 6f 6e 20 74 68 65 20 74 version on the t
0680: 72 75 6e 6b 20 62 72 61 6e 63 68 20 69 73 20 75 runk branch is u
0690: 73 75 61 6c 6c 79 20 61 20 67 6f 6f 64 20 63 68 sually a good ch
06a0: 6f 69 63 65 2e 20 20 43 6c 69 63 6b 20 6f 6e 20 oice. Click on
06b0: 69 74 73 0a 6c 69 6e 6b 2e 3c 2f 70 3e 3c 2f 6c its.link.</p></l
06c0: 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e 46 69 6e 61 6c i>..<li><p>Final
06d0: 6c 79 2c 20 63 6c 69 63 6b 20 6f 6e 20 6f 6e 65 ly, click on one
06e0: 20 6f 66 20 74 68 65 0a 22 5a 69 70 20 41 72 63 of the."Zip Arc
06f0: 68 69 76 65 22 20 6f 72 20 22 54 61 72 62 61 6c hive" or "Tarbal
0700: 6c 22 20 6c 69 6e 6b 73 2c 20 61 63 63 6f 72 64 l" links, accord
0710: 69 6e 67 20 74 6f 20 79 6f 75 72 20 70 72 65 66 ing to your pref
0720: 65 72 65 6e 63 65 2e 0a 54 68 65 73 65 20 6c 69 erence..These li
0730: 6e 6b 20 77 69 6c 6c 20 62 75 69 6c 64 20 61 20 nk will build a
0740: 5a 49 50 20 61 72 63 68 69 76 65 20 6f 72 20 61 ZIP archive or a
0750: 20 67 7a 69 70 2d 63 6f 6d 70 72 65 73 73 65 64 gzip-compressed
0760: 20 74 61 72 62 61 6c 6c 20 6f 66 20 74 68 65 20 tarball of the
0770: 0a 63 6f 6d 70 6c 65 74 65 20 73 6f 75 72 63 65 .complete source
0780: 20 63 6f 64 65 20 61 6e 64 20 64 6f 77 6e 6c 6f code and downlo
0790: 61 64 20 69 74 20 74 6f 20 79 6f 75 72 20 62 72 ad it to your br
07a0: 6f 77 73 65 72 2e 0a 3c 2f 6f 6c 3e 0a 0a 3c 68 owser..</ol>..<h
07b0: 32 3e 41 73 69 64 65 3a 20 49 73 20 69 74 20 72 2>Aside: Is it r
07c0: 65 61 6c 6c 79 20 73 61 66 65 20 74 6f 20 75 73 eally safe to us
07d0: 65 20 61 6e 20 75 6e 72 65 6c 65 61 73 65 64 20 e an unreleased
07e0: 64 65 76 65 6c 6f 70 6d 65 6e 74 20 76 65 72 73 development vers
07f0: 69 6f 6e 20 6f 66 0a 74 68 65 20 46 6f 73 73 69 ion of.the Fossi
0800: 6c 20 73 6f 75 72 63 65 20 63 6f 64 65 3f 3c 2f l source code?</
0810: 68 32 3e 0a 0a 59 65 73 21 20 20 41 6e 79 20 63 h2>..Yes! Any c
0820: 68 65 63 6b 2d 69 6e 20 6f 6e 20 74 68 65 20 0a heck-in on the .
0830: 5b 2f 74 69 6d 65 6c 69 6e 65 3f 74 3d 74 72 75 [/timeline?t=tru
0840: 6e 6b 20 7c 20 74 72 75 6e 6b 20 62 72 61 6e 63 nk | trunk branc
0850: 68 5d 20 6f 66 20 74 68 65 20 46 6f 73 73 69 6c h] of the Fossil
0860: 0a 5b 68 74 74 70 3a 2f 2f 66 6f 73 73 69 6c 2d .[http://fossil-
0870: 73 63 6d 2e 6f 72 67 2f 66 6f 73 73 69 6c 2f 74 scm.org/fossil/t
0880: 69 6d 65 6c 69 6e 65 20 7c 20 46 6f 73 73 69 6c imeline | Fossil
0890: 20 73 65 6c 66 2d 68 6f 73 74 69 6e 67 20 72 65 self-hosting re
08a0: 70 6f 73 69 74 6f 72 79 5d 0a 77 69 6c 6c 20 77 pository].will w
08b0: 6f 72 6b 20 66 69 6e 65 2e 20 20 28 44 6f 64 67 ork fine. (Dodg
08c0: 79 20 63 6f 64 65 20 69 73 20 61 6c 77 61 79 73 y code is always
08d0: 20 6f 6e 20 61 20 62 72 61 6e 63 68 2e 29 20 20 on a branch.)
08e0: 49 6e 20 74 68 65 20 75 6e 6c 69 6b 65 6c 79 0a In the unlikely.
08f0: 65 76 65 6e 74 20 74 68 61 74 20 79 6f 75 20 70 event that you p
0900: 69 63 6b 20 61 20 76 65 72 73 69 6f 6e 20 77 69 ick a version wi
0910: 74 68 20 61 20 73 65 72 69 6f 75 73 20 62 75 67 th a serious bug
0920: 2c 20 69 74 20 73 74 69 6c 6c 20 77 6f 6e 27 74 , it still won't
0930: 0a 63 6c 6f 62 62 65 72 20 79 6f 75 72 20 66 69 .clobber your fi
0940: 6c 65 73 2e 20 20 46 6f 73 73 69 6c 20 75 73 65 les. Fossil use
0950: 73 20 73 65 76 65 72 61 6c 0a 5b 2e 2f 73 65 6c s several.[./sel
0960: 66 63 68 65 63 6b 2e 77 69 6b 69 20 7c 20 73 65 fcheck.wiki | se
0970: 6c 66 2d 63 68 65 63 6b 73 5d 20 70 72 69 6f 72 lf-checks] prior
0980: 20 74 6f 20 63 6f 6d 6d 69 74 74 69 6e 67 20 61 to committing a
0990: 6e 79 0a 72 65 70 6f 73 69 74 6f 72 79 20 63 68 ny.repository ch
09a0: 61 6e 67 65 20 74 68 61 74 20 70 72 65 76 65 6e ange that preven
09b0: 74 20 6c 6f 73 73 2d 6f 66 2d 77 6f 72 6b 20 64 t loss-of-work d
09c0: 75 65 20 74 6f 20 62 75 67 73 2e 0a 0a 54 68 65 ue to bugs...The
09d0: 20 46 6f 73 73 69 6c 20 5b 2e 2f 73 65 6c 66 68 Fossil [./selfh
09e0: 6f 73 74 2e 77 69 6b 69 20 7c 20 73 65 6c 66 2d ost.wiki | self-
09f0: 68 6f 73 74 69 6e 67 20 72 65 70 6f 73 69 74 6f hosting reposito
0a00: 72 69 65 73 5d 2c 20 65 73 70 65 63 69 61 6c 6c ries], especiall
0a10: 79 0a 74 68 65 20 6f 6e 65 20 61 74 20 5b 68 74 y.the one at [ht
0a20: 74 70 3a 2f 2f 77 77 77 2e 66 6f 73 73 69 6c 2d tp://www.fossil-
0a30: 73 63 6d 2e 6f 72 67 2f 66 6f 73 73 69 6c 5d 2c scm.org/fossil],
0a40: 20 75 73 75 61 6c 6c 79 20 72 75 6e 20 61 20 76 usually run a v
0a50: 65 72 73 69 6f 6e 0a 6f 66 20 74 72 75 6e 6b 20 ersion.of trunk
0a60: 74 68 61 74 20 69 73 20 6c 65 73 73 20 74 68 61 that is less tha
0a70: 6e 20 61 20 77 65 65 6b 20 6f 72 20 74 77 6f 20 n a week or two
0a80: 6f 6c 64 2e 20 20 4c 6f 6f 6b 20 61 74 20 74 68 old. Look at th
0a90: 65 20 62 6f 74 74 6f 6d 0a 72 69 67 68 74 2d 68 e bottom.right-h
0aa0: 61 6e 64 20 63 6f 72 6e 65 72 20 6f 66 20 74 68 and corner of th
0ab0: 69 73 20 73 63 72 65 65 6e 20 28 74 6f 20 74 68 is screen (to th
0ac0: 65 20 72 69 67 68 74 20 6f 66 20 22 54 68 69 73 e right of "This
0ad0: 20 70 61 67 65 20 77 61 73 0a 67 65 6e 65 72 61 page was.genera
0ae0: 74 65 64 20 69 6e 2e 2e 2e 22 29 20 74 6f 20 73 ted in...") to s
0af0: 65 65 20 65 78 61 63 74 6c 79 20 77 68 69 63 68 ee exactly which
0b00: 20 76 65 72 73 69 6f 6e 20 6f 66 20 46 6f 73 73 version of Foss
0b10: 69 6c 20 69 73 0a 72 65 6e 64 65 72 69 6e 67 20 il is.rendering
0b20: 74 68 69 73 20 70 61 67 65 2e 20 20 49 74 20 69 this page. It i
0b30: 73 20 61 6c 77 61 79 73 20 73 61 66 65 20 74 6f s always safe to
0b40: 20 75 73 65 20 77 68 61 74 65 76 65 72 20 76 65 use whatever ve
0b50: 72 73 69 6f 6e 0a 6f 66 20 74 68 65 20 46 6f 73 rsion.of the Fos
0b60: 73 69 6c 20 63 6f 64 65 20 79 6f 75 20 66 69 6e sil code you fin
0b70: 64 20 72 75 6e 6e 69 6e 67 20 6f 6e 20 74 68 65 d running on the
0b80: 20 6d 61 69 6e 20 46 6f 73 73 69 6c 20 77 65 62 main Fossil web
0b90: 73 69 74 65 2e 0a 0a 3c 68 32 3e 32 2e 30 20 43 site...<h2>2.0 C
0ba0: 6f 6d 70 69 6c 69 6e 67 3c 2f 68 32 3e 0a 0a 3c ompiling</h2>..<
0bb0: 6f 6c 3e 0a 3c 6c 69 20 76 61 6c 75 65 3d 22 35 ol>.<li value="5
0bc0: 22 3e 0a 3c 70 3e 55 6e 70 61 63 6b 20 74 68 65 ">.<p>Unpack the
0bd0: 20 5a 49 50 20 6f 72 20 74 61 72 62 61 6c 6c 20 ZIP or tarball
0be0: 79 6f 75 20 64 6f 77 6e 6c 6f 61 64 65 64 20 74 you downloaded t
0bf0: 68 65 6e 0a 3c 62 3e 63 64 3c 2f 62 3e 20 69 6e hen.<b>cd</b> in
0c00: 74 6f 20 74 68 65 20 64 69 72 65 63 74 6f 72 79 to the directory
0c10: 20 63 72 65 61 74 65 64 2e 3c 2f 70 3e 3c 2f 6c created.</p></l
0c20: 69 3e 0a 0a 3c 6c 69 3e 3c 69 3e 28 4f 70 74 69 i>..<li><i>(Opti
0c30: 6f 6e 61 6c 2c 20 75 6e 69 78 20 6f 6e 6c 79 29 onal, unix only)
0c40: 3c 2f 69 3e 0a 52 75 6e 20 3c 62 3e 2e 2f 63 6f </i>.Run <b>./co
0c50: 6e 66 69 67 75 72 65 3c 2f 62 3e 20 74 6f 20 63 nfigure</b> to c
0c60: 6f 6e 73 74 72 75 63 74 20 61 20 6d 61 6b 65 66 onstruct a makef
0c70: 69 6c 65 2e 0a 0a 3c 6f 6c 20 74 79 70 65 3d 22 ile...<ol type="
0c80: 61 22 3e 0a 3c 6c 69 3e 3c 70 3e 0a 49 66 20 79 a">.<li><p>.If y
0c90: 6f 75 20 64 6f 20 6e 6f 74 20 68 61 76 65 20 74 ou do not have t
0ca0: 68 65 20 4f 70 65 6e 53 53 4c 20 6c 69 62 72 61 he OpenSSL libra
0cb0: 72 79 20 69 6e 73 74 61 6c 6c 65 64 20 6f 6e 20 ry installed on
0cc0: 79 6f 75 72 20 73 79 73 74 65 6d 2c 20 74 68 65 your system, the
0cd0: 6e 0a 61 64 64 20 3c 62 3e 2d 2d 77 69 74 68 2d n.add <b>--with-
0ce0: 6f 70 65 6e 73 73 6c 3d 6e 6f 6e 65 3c 2f 62 3e openssl=none</b>
0cf0: 20 74 6f 20 6f 6d 69 74 20 74 68 65 20 68 74 74 to omit the htt
0d00: 70 73 20 66 75 6e 63 74 69 6f 6e 61 6c 69 74 79 ps functionality
0d10: 2e 0a 0a 3c 6c 69 3e 3c 70 3e 0a 54 6f 20 62 75 ...<li><p>.To bu
0d20: 69 6c 64 20 61 20 73 74 61 74 69 63 61 6c 6c 79 ild a statically
0d30: 20 6c 69 6e 6b 65 64 20 62 69 6e 61 72 79 20 28 linked binary (
0d40: 73 75 69 74 61 62 6c 65 20 66 6f 72 20 75 73 65 suitable for use
0d50: 20 69 6e 73 69 64 65 20 61 20 63 68 72 6f 6f 74 inside a chroot
0d60: 0a 6a 61 69 6c 29 20 61 64 64 20 74 68 65 20 3c .jail) add the <
0d70: 62 3e 2d 2d 73 74 61 74 69 63 3c 2f 62 3e 20 6f b>--static</b> o
0d80: 70 74 69 6f 6e 2e 0a 0a 3c 6c 69 3e 3c 70 3e 0a ption...<li><p>.
0d90: 4f 74 68 65 72 20 63 6f 6e 66 69 67 75 72 61 74 Other configurat
0da0: 69 6f 6e 20 6f 70 74 69 6f 6e 73 20 63 61 6e 20 ion options can
0db0: 62 65 20 73 65 65 6e 20 62 79 20 72 75 6e 6e 69 be seen by runni
0dc0: 6e 67 0a 3c 62 3e 2e 2f 63 6f 6e 66 69 67 75 72 ng.<b>./configur
0dd0: 65 20 2d 2d 68 65 6c 70 3c 2f 62 3e 0a 3c 2f 6f e --help</b>.</o
0de0: 6c 3e 0a 0a 3c 6c 69 3e 3c 70 3e 52 75 6e 20 22 l>..<li><p>Run "
0df0: 3c 62 3e 6d 61 6b 65 3c 2f 62 3e 22 20 74 6f 20 <b>make</b>" to
0e00: 62 75 69 6c 64 20 74 68 65 20 22 66 6f 73 73 69 build the "fossi
0e10: 6c 22 20 6f 72 20 22 66 6f 73 73 69 6c 2e 65 78 l" or "fossil.ex
0e20: 65 22 20 65 78 65 63 75 74 61 62 6c 65 2e 0a 54 e" executable..T
0e30: 68 65 20 64 65 74 61 69 6c 73 20 64 65 70 65 6e he details depen
0e40: 64 20 6f 6e 20 79 6f 75 72 20 70 6c 61 74 66 6f d on your platfo
0e50: 72 6d 20 61 6e 64 20 63 6f 6d 70 69 6c 65 72 2e rm and compiler.
0e60: 0a 0a 3c 6f 6c 20 74 79 70 65 3d 22 61 22 3e 0a ..<ol type="a">.
0e70: 3c 6c 69 3e 3c 70 3e 3c 69 3e 55 6e 69 78 3c 2f <li><p><i>Unix</
0e80: 69 3e 20 e2 86 92 20 74 68 65 20 63 6f 6e 66 69 i> → the confi
0e90: 67 75 72 65 2d 67 65 6e 65 72 61 74 65 64 20 4d gure-generated M
0ea0: 61 6b 65 66 69 6c 65 20 73 68 6f 75 6c 64 20 77 akefile should w
0eb0: 6f 72 6b 20 6f 6e 0a 61 6c 6c 20 75 6e 69 78 20 ork on.all unix
0ec0: 61 6e 64 20 75 6e 69 78 2d 6c 69 6b 65 20 73 79 and unix-like sy
0ed0: 73 74 65 6d 73 2e 20 20 53 69 6d 70 6c 79 20 74 stems. Simply t
0ee0: 79 70 65 20 22 3c 62 3e 6d 61 6b 65 3c 2f 62 3e ype "<b>make</b>
0ef0: 22 2e 0a 0a 3c 6c 69 3e 3c 70 3e 3c 69 3e 55 6e "...<li><p><i>Un
0f00: 69 78 20 77 69 74 68 6f 75 74 20 72 75 6e 6e 69 ix without runni
0f10: 6e 67 20 22 63 6f 6e 66 69 67 75 72 65 22 3c 2f ng "configure"</
0f20: 69 3e 20 e2 86 92 20 69 66 20 79 6f 75 20 70 72 i> → if you pr
0f30: 65 66 65 72 20 74 6f 20 61 76 6f 69 64 20 72 75 efer to avoid ru
0f40: 6e 6e 69 6e 67 20 63 6f 6e 66 69 67 75 72 65 2c nning configure,
0f50: 20 79 6f 75 0a 63 61 6e 20 61 6c 73 6f 20 75 73 you.can also us
0f60: 65 3a 20 3c 62 3e 6d 61 6b 65 20 2d 66 20 4d 61 e: <b>make -f Ma
0f70: 6b 65 66 69 6c 65 2e 63 6c 61 73 73 69 63 3c 2f kefile.classic</
0f80: 62 3e 2e 20 20 59 6f 75 20 6d 61 79 20 77 61 6e b>. You may wan
0f90: 74 20 74 6f 20 6d 61 6b 65 20 6d 69 6e 6f 72 0a t to make minor.
0fa0: 65 64 69 74 73 20 74 6f 20 4d 61 6b 65 66 69 6c edits to Makefil
0fb0: 65 2e 63 6c 61 73 73 69 63 20 74 6f 20 63 6f 6e e.classic to con
0fc0: 66 69 67 75 72 65 20 74 68 65 20 62 75 69 6c 64 figure the build
0fd0: 20 66 6f 72 20 79 6f 75 72 20 73 79 73 74 65 6d for your system
0fe0: 2e 0a 0a 3c 6c 69 3e 3c 70 3e 3c 69 3e 4d 69 6e ...<li><p><i>Min
0ff0: 47 57 2f 4d 69 6e 47 57 2d 77 36 34 3c 2f 69 3e GW/MinGW-w64</i>
1000: 20 e2 86 92 20 55 73 65 20 74 68 65 20 6d 69 6e → Use the min
1010: 67 77 20 6d 61 6b 65 66 69 6c 65 3a 0a 22 3c 62 gw makefile:."<b
1020: 3e 6d 61 6b 65 20 2d 66 20 77 69 6e 2f 4d 61 6b >make -f win/Mak
1030: 65 66 69 6c 65 2e 6d 69 6e 67 77 3c 2f 62 3e 22 efile.mingw</b>"
1040: 2e 20 4f 6e 20 61 20 57 69 6e 64 6f 77 73 20 62 . On a Windows b
1050: 6f 78 20 79 6f 75 20 77 69 6c 6c 0a 6e 65 65 64 ox you will.need
1060: 20 65 69 74 68 65 72 20 43 79 67 77 69 6e 20 6f either Cygwin o
1070: 72 20 4d 73 79 73 20 61 73 20 62 75 69 6c 64 20 r Msys as build
1080: 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 20 4f 6e 20 environment. On
1090: 43 79 67 77 69 6e 2c 20 4c 69 6e 75 78 0a 6f 72 Cygwin, Linux.or
10a0: 20 44 61 72 77 69 6e 20 79 6f 75 20 6d 61 79 20 Darwin you may
10b0: 77 61 6e 74 20 74 6f 20 6d 61 6b 65 20 6d 69 6e want to make min
10c0: 6f 72 20 65 64 69 74 73 20 74 6f 20 77 69 6e 2f or edits to win/
10d0: 4d 61 6b 65 66 69 6c 65 2e 6d 69 6e 67 77 0a 74 Makefile.mingw.t
10e0: 6f 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 20 o configure the
10f0: 63 72 6f 73 73 2d 63 6f 6d 70 69 6c 65 20 65 6e cross-compile en
1100: 76 69 72 6f 6e 6d 65 6e 74 2e 0a 0a 3c 6c 69 3e vironment...<li>
1110: 3c 70 3e 3c 69 3e 4d 53 56 43 3c 2f 69 3e 20 e2 <p><i>MSVC</i> â
1120: 86 92 20 55 73 65 20 74 68 65 20 4d 53 56 43 20 †’ Use the MSVC
1130: 6d 61 6b 65 66 69 6c 65 2e 20 20 46 69 72 73 74 makefile. First
1140: 0a 63 68 61 6e 67 65 20 74 6f 20 74 68 65 20 22 .change to the "
1150: 77 69 6e 2f 22 20 73 75 62 64 69 72 65 63 74 6f win/" subdirecto
1160: 72 79 20 28 22 3c 62 3e 63 64 20 77 69 6e 3c 2f ry ("<b>cd win</
1170: 62 3e 22 29 20 74 68 65 6e 20 72 75 6e 0a 22 3c b>") then run."<
1180: 62 3e 6e 6d 61 6b 65 20 2f 66 20 4d 61 6b 65 66 b>nmake /f Makef
1190: 69 6c 65 2e 6d 73 63 3c 2f 62 3e 22 2e 3c 62 72 ile.msc</b>".<br
11a0: 3e 3c 62 72 3e 41 6c 74 65 72 6e 61 74 69 76 65 ><br>Alternative
11b0: 6c 79 2c 20 74 68 65 20 62 61 74 63 68 0a 66 69 ly, the batch.fi
11c0: 6c 65 20 22 3c 62 3e 77 69 6e 5c 62 75 69 6c 64 le "<b>win\build
11d0: 6d 73 76 63 2e 62 61 74 3c 2f 62 3e 22 20 6d 61 msvc.bat</b>" ma
11e0: 79 20 62 65 20 75 73 65 64 20 61 6e 64 20 69 74 y be used and it
11f0: 20 77 69 6c 6c 20 61 74 74 65 6d 70 74 20 74 6f will attempt to
1200: 0a 64 65 74 65 63 74 20 61 6e 64 20 75 73 65 20 .detect and use
1210: 74 68 65 20 6c 61 74 65 73 74 20 69 6e 73 74 61 the latest insta
1220: 6c 6c 65 64 20 76 65 72 73 69 6f 6e 20 6f 66 20 lled version of
1230: 4d 53 56 43 2e 3c 62 72 3e 3c 62 72 3e 54 6f 20 MSVC.<br><br>To
1240: 65 6e 61 62 6c 65 0a 74 68 65 20 6f 70 74 69 6f enable.the optio
1250: 6e 61 6c 20 3c 61 20 68 72 65 66 3d 22 68 74 74 nal <a href="htt
1260: 70 73 3a 2f 2f 77 77 77 2e 6f 70 65 6e 73 73 6c ps://www.openssl
1270: 2e 6f 72 67 2f 22 3e 4f 70 65 6e 53 53 4c 3c 2f .org/">OpenSSL</
1280: 61 3e 20 73 75 70 70 6f 72 74 2c 0a 66 69 72 73 a> support,.firs
1290: 74 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 73 t <a href="https
12a0: 3a 2f 2f 77 77 77 2e 6f 70 65 6e 73 73 6c 2e 6f ://www.openssl.o
12b0: 72 67 2f 73 6f 75 72 63 65 2f 22 3e 64 6f 77 6e rg/source/">down
12c0: 6c 6f 61 64 20 74 68 65 20 6f 66 66 69 63 69 61 load the officia
12d0: 6c 0a 73 6f 75 72 63 65 20 63 6f 64 65 20 66 6f l.source code fo
12e0: 72 20 4f 70 65 6e 53 53 4c 3c 2f 61 3e 20 61 6e r OpenSSL</a> an
12f0: 64 20 65 78 74 72 61 63 74 20 69 74 20 74 6f 20 d extract it to
1300: 61 6e 20 61 70 70 72 6f 70 72 69 61 74 65 6c 79 an appropriately
1310: 20 6e 61 6d 65 64 0a 22 3c 62 3e 6f 70 65 6e 73 named."<b>opens
1320: 73 6c 2d 58 2e 59 2e 5a 41 3c 2f 62 3e 22 20 73 sl-X.Y.ZA</b>" s
1330: 75 62 64 69 72 65 63 74 6f 72 79 20 77 69 74 68 ubdirectory with
1340: 69 6e 20 74 68 65 20 6c 6f 63 61 6c 0a 5b 2f 74 in the local.[/t
1350: 72 65 65 3f 63 69 3d 74 72 75 6e 6b 26 6e 61 6d ree?ci=trunk&nam
1360: 65 3d 63 6f 6d 70 61 74 20 7c 20 63 6f 6d 70 61 e=compat | compa
1370: 74 5d 20 64 69 72 65 63 74 6f 72 79 20 28 65 2e t] directory (e.
1380: 67 2e 0a 22 3c 62 3e 63 6f 6d 70 61 74 2f 6f 70 g.."<b>compat/op
1390: 65 6e 73 73 6c 2d 31 2e 30 2e 31 69 3c 2f 62 3e enssl-1.0.1i</b>
13a0: 22 29 2c 20 74 68 65 6e 20 6d 61 6b 65 20 73 75 "), then make su
13b0: 72 65 20 74 68 61 74 20 73 6f 6d 65 20 72 65 63 re that some rec
13c0: 65 6e 74 0a 3c 61 20 68 72 65 66 3d 22 68 74 74 ent.<a href="htt
13d0: 70 3a 2f 2f 77 77 77 2e 70 65 72 6c 2e 6f 72 67 p://www.perl.org
13e0: 2f 22 3e 50 65 72 6c 3c 2f 61 3e 20 62 69 6e 61 /">Perl</a> bina
13f0: 72 69 65 73 20 61 72 65 20 69 6e 73 74 61 6c 6c ries are install
1400: 65 64 20 6c 6f 63 61 6c 6c 79 2c 0a 61 6e 64 20 ed locally,.and
1410: 66 69 6e 61 6c 6c 79 20 72 75 6e 20 6f 6e 65 20 finally run one
1420: 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 of the following
1430: 20 63 6f 6d 6d 61 6e 64 73 3a 0a 3c 62 6c 6f 63 commands:.<bloc
1440: 6b 71 75 6f 74 65 3e 3c 70 72 65 3e 0a 6e 6d 61 kquote><pre>.nma
1450: 6b 65 20 2f 66 20 4d 61 6b 65 66 69 6c 65 2e 6d ke /f Makefile.m
1460: 73 63 20 46 4f 53 53 49 4c 5f 45 4e 41 42 4c 45 sc FOSSIL_ENABLE
1470: 5f 53 53 4c 3d 31 20 50 45 52 4c 44 49 52 3d 43 _SSL=1 PERLDIR=C
1480: 3a 5c 66 75 6c 6c 5c 70 61 74 68 5c 74 6f 5c 50 :\full\path\to\P
1490: 65 72 6c 5c 62 69 6e 0a 3c 2f 70 72 65 3e 3c 2f erl\bin.</pre></
14a0: 62 6c 6f 63 6b 71 75 6f 74 65 3e 0a 3c 62 6c 6f blockquote>.<blo
14b0: 63 6b 71 75 6f 74 65 3e 3c 70 72 65 3e 0a 62 75 ckquote><pre>.bu
14c0: 69 6c 64 6d 73 76 63 2e 62 61 74 20 46 4f 53 53 ildmsvc.bat FOSS
14d0: 49 4c 5f 45 4e 41 42 4c 45 5f 53 53 4c 3d 31 20 IL_ENABLE_SSL=1
14e0: 50 45 52 4c 44 49 52 3d 43 3a 5c 66 75 6c 6c 5c PERLDIR=C:\full\
14f0: 70 61 74 68 5c 74 6f 5c 50 65 72 6c 5c 62 69 6e path\to\Perl\bin
1500: 0a 3c 2f 70 72 65 3e 3c 2f 62 6c 6f 63 6b 71 75 .</pre></blockqu
1510: 6f 74 65 3e 0a 0a 3c 6c 69 3e 3c 70 3e 3c 69 3e ote>..<li><p><i>
1520: 43 79 67 77 69 6e 3c 2f 69 3e 20 e2 86 92 20 54 Cygwin</i> → T
1530: 68 65 20 73 61 6d 65 20 61 73 20 6f 74 68 65 72 he same as other
1540: 20 75 6e 69 78 2d 6c 69 6b 65 20 73 79 73 74 65 unix-like syste
1550: 6d 73 2e 20 49 74 20 69 73 0a 72 65 63 6f 6d 6d ms. It is.recomm
1560: 65 6e 64 65 64 20 74 6f 20 63 6f 6e 66 69 67 75 ended to configu
1570: 72 65 20 75 73 69 6e 67 3a 20 22 3c 62 3e 63 6f re using: "<b>co
1580: 6e 66 69 67 75 72 65 20 2d 2d 64 69 73 61 62 6c nfigure --disabl
1590: 65 2d 69 6e 74 65 72 6e 61 6c 2d 73 71 6c 69 74 e-internal-sqlit
15a0: 65 3c 2f 62 3e 22 2c 0a 6d 61 6b 69 6e 67 20 73 e</b>",.making s
15b0: 75 72 65 20 79 6f 75 20 68 61 76 65 20 74 68 65 ure you have the
15c0: 20 22 6c 69 62 73 71 6c 69 74 65 33 2d 64 65 76 "libsqlite3-dev
15d0: 65 6c 22 20 2c 20 22 7a 6c 69 62 2d 64 65 76 65 el" , "zlib-deve
15e0: 6c 22 20 61 6e 64 0a 22 6f 70 65 6e 73 73 6c 2d l" and."openssl-
15f0: 64 65 76 65 6c 22 20 70 61 63 6b 61 67 65 73 20 devel" packages
1600: 69 6e 73 74 61 6c 6c 65 64 20 66 69 72 73 74 2e installed first.
1610: 0a 3c 2f 6f 6c 3e 0a 3c 2f 6f 6c 3e 0a 0a 3c 68 .</ol>.</ol>..<h
1620: 32 3e 33 2e 30 20 49 6e 73 74 61 6c 6c 69 6e 67 2>3.0 Installing
1630: 3c 2f 68 32 3e 0a 0a 3c 6f 6c 3e 0a 3c 6c 69 20 </h2>..<ol>.<li
1640: 76 61 6c 75 65 3d 22 38 22 3e 0a 3c 70 3e 54 68 value="8">.<p>Th
1650: 65 20 66 69 6e 69 73 68 65 64 20 62 69 6e 61 72 e finished binar
1660: 79 20 69 73 20 6e 61 6d 65 64 20 22 66 6f 73 73 y is named "foss
1670: 69 6c 22 20 28 6f 72 20 22 66 6f 73 73 69 6c 2e il" (or "fossil.
1680: 65 78 65 22 20 6f 6e 20 77 69 6e 64 6f 77 73 29 exe" on windows)
1690: 2e 20 20 0a 50 75 74 20 74 68 69 73 20 62 69 6e . .Put this bin
16a0: 61 72 79 20 69 6e 20 61 20 0a 64 69 72 65 63 74 ary in a .direct
16b0: 6f 72 79 20 74 68 61 74 20 69 73 20 73 6f 6d 65 ory that is some
16c0: 77 68 65 72 65 20 6f 6e 20 79 6f 75 72 20 50 41 where on your PA
16d0: 54 48 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 TH environment v
16e0: 61 72 69 61 62 6c 65 2e 0a 49 74 20 64 6f 65 73 ariable..It does
16f0: 20 6e 6f 74 20 6d 61 74 74 65 72 20 77 68 65 72 not matter wher
1700: 65 2e 3c 2f 70 3e 0a 0a 3c 6c 69 3e 0a 3c 70 3e e.</p>..<li>.<p>
1710: 3c 62 3e 28 4f 70 74 69 6f 6e 61 6c 3a 29 3c 2f <b>(Optional:)</
1720: 62 3e 0a 54 6f 20 75 6e 69 6e 73 74 61 6c 6c 2c b>.To uninstall,
1730: 20 6a 75 73 74 20 64 65 6c 65 74 65 20 74 68 65 just delete the
1740: 20 62 69 6e 61 72 79 2e 3c 2f 70 3e 0a 3c 2f 6f binary.</p>.</o
1750: 6c 3e 0a 0a 3c 68 32 3e 34 2e 30 20 41 64 64 69 l>..<h2>4.0 Addi
1760: 74 69 6f 6e 61 6c 20 43 6f 6e 73 69 64 65 72 61 tional Considera
1770: 74 69 6f 6e 73 3c 2f 68 32 3e 0a 0a 3c 75 6c 3e tions</h2>..<ul>
1780: 0a 3c 6c 69 3e 3c 70 3e 0a 20 20 49 66 20 74 68 .<li><p>. If th
1790: 65 20 6d 61 6b 65 66 69 6c 65 73 20 74 68 61 74 e makefiles that
17a0: 20 63 6f 6d 65 20 77 69 74 68 20 46 6f 73 73 69 come with Fossi
17b0: 6c 20 64 6f 20 6e 6f 74 20 77 6f 72 6b 20 66 6f l do not work fo
17c0: 72 0a 20 20 79 6f 75 2c 20 6f 72 20 66 6f 72 20 r. you, or for
17d0: 73 6f 6d 65 20 6f 74 68 65 72 20 72 65 61 73 6f some other reaso
17e0: 6e 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 6b 6e n you want to kn
17f0: 6f 77 20 68 6f 77 20 74 6f 20 62 75 69 6c 64 0a ow how to build.
1800: 20 20 46 6f 73 73 69 6c 20 6d 61 6e 75 61 6c 6c Fossil manuall
1810: 79 2c 20 74 68 65 6e 20 72 65 66 65 72 20 74 6f y, then refer to
1820: 20 74 68 65 0a 20 20 5b 2e 2f 6d 61 6b 65 66 69 the. [./makefi
1830: 6c 65 2e 77 69 6b 69 20 7c 20 46 6f 73 73 69 6c le.wiki | Fossil
1840: 20 42 75 69 6c 64 20 50 72 6f 63 65 73 73 5d 20 Build Process]
1850: 64 6f 63 75 6d 65 6e 74 20 77 68 69 63 68 20 64 document which d
1860: 65 73 63 72 69 62 65 73 0a 20 20 69 6e 20 64 65 escribes. in de
1870: 74 61 69 6c 20 77 68 61 74 20 74 68 65 20 6d 61 tail what the ma
1880: 6b 65 66 69 6c 65 73 20 64 6f 20 62 65 68 69 6e kefiles do behin
1890: 64 20 74 68 65 20 73 63 65 6e 65 73 2e 0a 0a 3c d the scenes...<
18a0: 6c 69 3e 3c 70 3e 0a 20 20 54 68 65 20 66 6f 73 li><p>. The fos
18b0: 73 69 6c 20 65 78 65 63 75 74 61 62 6c 65 20 69 sil executable i
18c0: 73 20 73 65 6c 66 2d 63 6f 6e 74 61 69 6e 65 64 s self-contained
18d0: 20 61 6e 64 20 73 74 61 6e 64 2d 61 6c 6f 6e 65 and stand-alone
18e0: 20 61 6e 64 20 75 73 75 61 6c 6c 79 20 0a 20 20 and usually .
18f0: 72 65 71 75 69 72 65 73 20 6e 6f 20 73 70 65 63 requires no spec
1900: 69 61 6c 20 6c 69 62 72 61 72 69 65 73 20 6f 72 ial libraries or
1910: 20 6f 74 68 65 72 20 73 6f 66 74 77 61 72 65 20 other software
1920: 74 6f 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 2e to be installed.
1930: 20 20 48 6f 77 65 76 65 72 2c 20 0a 20 20 74 68 However, . th
1940: 65 20 22 2d 2d 74 6b 22 20 6f 70 74 69 6f 6e 20 e "--tk" option
1950: 74 6f 20 74 68 65 20 5b 2f 68 65 6c 70 2f 64 69 to the [/help/di
1960: 66 66 7c 64 69 66 66 20 63 6f 6d 6d 61 6e 64 5d ff|diff command]
1970: 20 72 65 71 75 69 72 65 73 20 74 68 61 74 20 54 requires that T
1980: 63 6c 2f 54 6b 0a 20 20 62 65 20 69 6e 73 74 61 cl/Tk. be insta
1990: 6c 6c 65 64 20 6f 6e 20 74 68 65 20 6c 6f 63 61 lled on the loca
19a0: 6c 20 6d 61 63 68 69 6e 65 2e 20 20 59 6f 75 20 l machine. You
19b0: 63 61 6e 20 67 65 74 20 54 63 6c 2f 54 6b 20 66 can get Tcl/Tk f
19c0: 72 6f 6d 20 0a 20 20 5b 68 74 74 70 3a 2f 2f 77 rom . [http://w
19d0: 77 77 2e 61 63 74 69 76 65 73 74 61 74 65 2e 63 ww.activestate.c
19e0: 6f 6d 2f 61 63 74 69 76 65 74 63 6c 7c 41 63 74 om/activetcl|Act
19f0: 69 76 65 53 74 61 74 65 5d 2e 0a 0a 3c 6c 69 3e iveState]...<li>
1a00: 3c 70 3e 0a 20 20 54 6f 20 62 75 69 6c 64 20 6f <p>. To build o
1a10: 6e 20 6f 6c 64 65 72 20 4d 61 63 73 20 28 63 69 n older Macs (ci
1a20: 72 63 61 20 32 30 30 32 2c 20 4d 61 63 4f 53 20 rca 2002, MacOS
1a30: 31 30 2e 32 29 20 65 64 69 74 20 74 68 65 20 4d 10.2) edit the M
1a40: 61 6b 65 66 69 6c 65 0a 20 20 67 65 6e 65 72 61 akefile. genera
1a50: 74 65 64 20 62 79 20 63 6f 6e 66 69 67 75 72 65 ted by configure
1a60: 20 74 6f 20 61 64 64 20 74 68 65 20 66 6f 6c 6c to add the foll
1a70: 6f 77 69 6e 67 20 6c 69 6e 65 73 3a 0a 20 20 3c owing lines:. <
1a80: 62 6c 6f 63 6b 71 75 6f 74 65 3e 3c 70 72 65 3e blockquote><pre>
1a90: 0a 20 20 54 43 43 20 2b 3d 20 2d 44 53 51 4c 49 . TCC += -DSQLI
1aa0: 54 45 5f 57 49 54 48 4f 55 54 5f 5a 4f 4e 45 4d TE_WITHOUT_ZONEM
1ab0: 41 4c 4c 4f 43 0a 20 20 54 43 43 20 2b 3d 20 2d ALLOC. TCC += -
1ac0: 44 5f 42 53 44 5f 53 4f 55 52 43 45 0a 20 20 54 D_BSD_SOURCE. T
1ad0: 43 43 20 2b 3d 20 2d 44 57 49 54 48 4f 55 54 5f CC += -DWITHOUT_
1ae0: 49 43 4f 4e 56 0a 20 20 54 43 43 20 2b 3d 20 2d ICONV. TCC += -
1af0: 44 73 6f 63 6b 65 74 6c 65 6e 5f 74 3d 69 6e 74 Dsocketlen_t=int
1b00: 0a 20 20 54 43 43 20 2b 3d 20 2d 44 53 51 4c 49 . TCC += -DSQLI
1b10: 54 45 5f 4d 41 58 5f 4d 4d 41 50 5f 53 49 5a 45 TE_MAX_MMAP_SIZE
1b20: 3d 30 0a 3c 2f 70 72 65 3e 3c 2f 62 6c 6f 63 6b =0.</pre></block
1b30: 71 75 6f 74 65 3e 0a 3c 2f 75 6c 3e 0a quote>.</ul>.