1
2
3
4
5
6
7
8
9
|
<title>Building and Installing Fossil</title>
<nowiki>
<p>This page describes how to build and install Fossil. The
whole process is designed to be very easy.</p>
<h2>0.0 Using A Pre-compiled Binary</h2>
<p>You can skip steps 1.0 and 2.0 below by downloading
|
<
|
1
2
3
4
5
6
7
8
|
<title>Building and Installing Fossil</title>
<p>This page describes how to build and install Fossil. The
whole process is designed to be very easy.</p>
<h2>0.0 Using A Pre-compiled Binary</h2>
<p>You can skip steps 1.0 and 2.0 below by downloading
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<li><p>Finally, click on the
"Zip Archive" link. This link will build a ZIP archive of the
complete source code and download it to your browser.
</ol>
<h2>2.0 Compiling</h2>
<p>Follow these steps to compile:</p>
<ol>
<li value="6">
<p>Create a directory to hold the source code. Then unzip the
ZIP archive you downloaded into that directory. You should be
in the top-level folder of that directory</p></li>
<li><p><b>(Optional:)</b>
Edit the Makefile to set it up like you want. You probably do not
need to do anything. Do not be intimidated: There are less than 10
variables in the makefile that can be changed. The whole Makefile
is only a few dozen lines long and most of those lines are comments.</p>
<li><p>Type "<b>make</b>"
</ol>
<h2>3.0 Installing</h2>
<ol>
<li value="9">
<p>The finished binary is named "fossil". Put this binary in a
directory that is somewhere on your PATH environment variable.
It does not matter where.</p>
<li>
<p><b>(Optional:)</b>
To uninstall, just delete the binary.</p>
</ol>
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<li><p>Finally, click on the
"Zip Archive" link. This link will build a ZIP archive of the
complete source code and download it to your browser.
</ol>
<h2>2.0 Compiling</h2>
<p>Follow these steps to compile on a unix platform
(Linux, *BSD, MacOS, etc):</p>
<ol>
<li value="6">
<p>Create a directory to hold the source code. Then unzip the
ZIP archive you downloaded into that directory. You should be
in the top-level folder of that directory</p></li>
<li><p><b>(Optional:)</b>
Edit the Makefile to set it up like you want. You probably do not
need to do anything. Do not be intimidated: There are less than 10
variables in the makefile that can be changed. The whole Makefile
is only a few dozen lines long and most of those lines are comments.</p>
<li><p>Type "<b>make</b>"
</ol>
<p>To build on windows, use an alternative makefile suitable for your
particular build environment. The alternative windows makefiles are
all found in the win/ subdirectory of the source tree. So, for example,
if you want build using the
[http://www.mingw.org/ | mingw/msys compiler package] for windows, then
run "<b>make -f win/Makefile.mingw</b>" instead of just "<b>make</b>"
in step 8 above.</p>
<h2>3.0 Installing</h2>
<ol>
<li value="9">
<p>The finished binary is named "fossil". Put this binary in a
directory that is somewhere on your PATH environment variable.
It does not matter where.</p>
<li>
<p><b>(Optional:)</b>
To uninstall, just delete the binary.</p>
</ol>
<h2>4.0 Additional Considerations</h2>
</nowiki>
* If the makefiles that come with Fossil do not work for
you, or for some other reason you want to know how to build
Fossil manually, then refer to the
[./makefile.wiki | Fossil Build Process] document which describes
in detail what the makefiles do behind the scenes.
|