-
Notifications
You must be signed in to change notification settings - Fork 7
/
hercmaci.html
170 lines (153 loc) · 5.25 KB
/
hercmaci.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN" "html.dtd">
<HTML>
<head>
<title>Hercules Version 4: Installation and Operation</title>
<link rel="stylesheet" type="text/css" href="hercules2.css">
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="icon" href="images/favicon.ico" />
<style>
li.spaced:not(:last-child) {
margin-bottom: 5px;
}
</style>
</head>
<body>
<div id="header">
<table class="hdr">
<tr>
<td rowspan="2" class="hdrlogo">
<a href="index.html"><img src="images/hercpic-rblk-256.gif" alt="logo" class="hdrlogo" /></a>
</td>
<td class="hdr">
<h1 class="hdr">Hercules Version 4: Installation and Operation</h1>
</td>
</tr>
<tr>
<td class="hdr">
<h2 class="hdr">Installation on macOS systems</h2>
</td>
</tr>
</table>
<hr />
</div>
<div id="content">
<h4>Building from source - macOS</h4>
<ol>
<li class="spaced">
Install <b>Xcode</b> from the
<a href="http://itunes.apple.com/app/xcode/id497799835">
Mac App Store</a>.
</li>
<li class="spaced">
Install <b>Homebrew</b> using the procedure described
at <a href="http://brew.sh/">http://brew.sh/</a>
</li>
<li class="spaced">
Use these commands to install pre-requisite software:
<ol style="list-style-type:lower-alpha">
<li><code>brew install autoconf</code></li>
<li><code>brew install automake</code></li>
<li><code>brew install gnu-sed</code></li>
<li><code>automake --add-missing</code></li>
</ol>
</li>
<li class="spaced">
Download the
<a href="https://github.com/hercules-390/hyperion/archive/master.zip">source code .ZIP file</a>
from Github.
<p>
<em>Note:</em> By downloading this file you agree to the terms
of the <a href="herclic.html">Q Public Licence</a>.
</p>
<li class="spaced">
Use these commands to unzip the distribution file:
<ol style="list-style-type:none">
<li><code>unzip hyperion-master.zip</code></li>
<li><code>cd hyperion-master</code></li>
</ol>
</li>
<li class="spaced">
Verify you have all of the correct versions of all of the
required packages installed:
<ol style="list-style-type:none">
<li><code>./util/bldlvlck</code></li>
</ol>
</li>
<li class="spaced">
Build the ./configure script (required):
<ol style="list-style-type:none">
<li><code>sh ./autogen.sh</code></li>
</ol>
<p>
Most projects that are built from source do so from the official
distribution tarball which comes with its own pre-built ./configure
scipt.
When you are building Hercules directly from the repository source
code however, you will need to create (or recreate) it yourself.
</p>
<p>
Also note you will need to re-run <code>autogen.sh</code>
each time the "configure.ac" or "makefile.am" files change. This
means if you do a "git pull" to update your source with changes
that were recently made to the repository, you <i>may</i> need
to recreate your configure script again if either configure.ac
<i>or</i> makefile.am was updated.
</p>
<p>
Thus the safest course of action is to <i>always</i> run autogen.sh
immediately before running ./configure. (see next step below)
</p>
</li>
<li class="spaced">
Configure Hercules for your system
<ol style="list-style-type:none">
<li><code>./configure</code></li>
</ol>
<p>
By default, the configure script will attempt to guess appropriate
compiler optimization flags for your system. If its guesses
turn out to be wrong, you can disable all optimization by
passing the <code><nobr>--disable-optimization</nobr></code> option to
configure, or specify your own optimization flags with
<code><nobr>--enable-optimization=FLAGS</nobr></code>. For additional configuration
options, run: <code>./configure <nobr>--help=short</nobr></code>.
</p>
</li>
<li class="spaced">
Build the executables:
<ol style="list-style-type:none">
<li><code>make</code></li>
</ol>
<p>
<code>make</code>
</p>
</li>
<li class="spaced">(
Optional) Install the programs: as root:
<p>
<code>make install</code>
</p>
</li>
</ol>
<em>Important:</em>
You must use at least version 3.00 of the gcc compiler and the glibc2 library.
Refer to the <a href="hercfaq.html#3.04">
Hercules Frequently-Asked Questions</a> page for required
compiler and other software levels.<br /><br />
<p>
<br /><br />
<hr>
<h3 class="skiplogo" id="support">Technical Support</h3>
<P>
For technical support, please see our <a href="hercsupp.html">Technical Support</a> web page.
<br /><br />
<hr>
<br />
<center>
<a href="index.html"><img src="images/back.gif" border=0 alt="back"></a>
</center>
<br />
</center>
</div>
</body>
</HTML>