-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.html
280 lines (206 loc) · 7.48 KB
/
build.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Mac OS X (vers 25 March 2009), see www.w3.org" />
<meta http-equiv="content-type" content=
"text/html; charset=us-ascii" />
<title>Qucs project: documentation</title>
<link href="qucsweb.css" rel="stylesheet" type="text/css" />
<!-- header and footer include scripts -->
<script src="headerfooter.js" type="text/javascript">
</script>
</head>
<body>
<!-- include the common web page header -->
<script type="text/javascript">
//<![CDATA[
header()
//]]>
</script>
<div id="main">
<hr />
<center>
[ <a href="download.html">packages</a> -
<a href="examples.html">examples</a> -
build instructions -
<a href="install.html">install instructions</a> ]
</center>
<h3><a name="build_req">Build Prerequisites</a></h3>
<ul>
<li>
<h4>Source Build Requirements</h4>
</li>
<li style="list-style: none; display: inline">
<ul>
<li>Linux, macOS, Windows, FreeBSD</li>
<li>Qt4 installation, version >= 4.6 (with
Qt3Support)</li>
<li>C++ compiler</li>
<li>Autoconf version 2.64 (at least)</li>
<li>GNU automake 1.7.0 (at least)</li>
<li>flex 2.5.31 (but at least 2.5.9)</li>
<li>GNU Bison 1.875d</li>
<li>GNU M4 (any version)</li>
<li>GNU gperf 3.0.1</li>
<li>ADMS 2.3.6</li>
</ul>
</li>
<li>
<h4>Documentation Build Requirements</h4>
</li>
<li style="list-style: none; display: inline">
<ul>
<li>Autoconf</li>
<li>Automake</li>
<li>LaTex installation.</li>
<li style="list-style: none; display: inline">
<ul>
<li>IEEEtran bibstyle</li>
<li>savesym</li>
<li>hyperref</li>
</ul>
</li>
<li>GNU Octave</li>
<li>epsTk 2.0.1 (at least)</li>
</ul>
</li>
</ul>
<h3><a name="build_tarball">Build Current Release From Source</a></h3>
<ul>
<li>
<h4>Get The Latest Source Tarball:
<a href=
"https://sourceforge.net/projects/qucs/files/qucs/">
Qucs Source</a>
</h4>
</li>
<li>
<h4>Updated build instructions for:
<a href= "https://github.com/Qucs/qucs/wiki/Build-Darwin">Darwin (Mac OSX)</a>,
<a href= "https://github.com/Qucs/qucs/wiki/Build-Linux">Linux </a>,
<a href= "https://github.com/Qucs/qucs/wiki/Build-Windows">Windows</a>
</h4>
</li>
</ul>
<h3><a name="build_git">Build Development Sources From Git
Repository</a></h3>
<ul>
<li>
<h4>Follow the instruction in:
<a href=
"https://github.com/Qucs/qucs/blob/master/README.md">
README.md</a>
</h4>
</li>
</ul>
<h3><a name="build_mac">Build Instructions For MacOSX</a></h3>
<p>It is recommended the use of a package manager to handle the instalation of the dependencies and build the tools.
<p>We recoment either
<a href="http://www.macports.org/">MacPorts</a> or
<a href="http://brew.sh/">Homebrew</a>. Please contact the package maintainer if it is not yet updated to the latest version of Qucs.
<p>Note that due to limitation in Qt4 your platform should be newer than Mac OS 10.5 64-bit.</p>
<p>
Follow the package manager instructions on how to get it set up and running.
the <a href="http://www.macports.org/">MacPorts</a> and
<a href="http://brew.sh/">Homebrew</a> package managers.</p>
<p>Note that there is a MacPorts <a href=
"https://trac.macports.org/browser/trunk/dports/science/qucs/Portfile">
Port</a>
and a Homebrew <a href=
"https://github.com/guitorri/homebrew-tap/blob/master/qucs.rb">
Formula</a> available to manage the build and install of Qucs.</p>
<ul>
<li><b>Building using MacPorts</b></li>
<li style="list-style: none">
<br />
To install Qucs, you need to install MacPorts (after Xcode and Command Line Tools, see below).<br />
<br />
<ol>
<li>
<i>Installing MacPorts and Qucs</i><br />
With MacPorts you can
install MacOS versions of many known open source
projects by using simple commands.<br />
<br />
Get it here: <a href=
"http://www.macports.org/">http://www.macports.org/</a><br />
<br />
Please follow the installation instructions to get Xcode and the Command Line Tools.
After its installation,
MacPorts needs to be updated to the most recent
version. Open a Terminal shell and type the following
commmand (you will be asked for your password):
<pre>
$ sudo port -d selfupdate
</pre>
Now it is time to get Qucs. In the shell, type this command:
<pre>
$ sudo port install qucs
</pre>
Users willing to install the ASCO version shipped with Qucs (instaed of the one available in MacPorts) can use the command:
<pre>
$ sudo port install qucs +shipped_asco
</pre>
MacPorts will fetch, decompress, compile and install a lot of
packages which are needed to install Qucs. Be patient, this will
take some time.
<br />
<br />
After installation Qucs will be placed into: <pre>/opt/local/bin</pre>
<br />
Symbolic links to the applications are created into: <pre>/Applications/MacPorts</pre>
<br />
</li>
</ol>You're done with MacPorts!<br />
<br />
</li>
</li> <!--MacPorts-->
</ul>
<ul>
<li><b>Building using Homebrew</b></li>
<li style="list-style: none">
<br />
To install Qucs, you need to install Homebrew (after Xcode and Command Line Tools, see instructions).<br />
<br />
<ol>
<li>
<i>Installing Homebrew and Qucs</i><br />
Follow the instruction to install Homebrew: <a href=
"http://brew.sh/">http://brew.sh/</a><br />
<br />
</li>
Update the homebrew formulas, add a homebrew tap containing the Qucs formula.
<pre>
$ brew update
$ brew tap guitorri/tap
</pre>
It is necessary to rebuild Qt4 with Qt3Support. The default prebuild Qt bottle does not include it.
This step might take ~20min depending on your machine.
<pre>
$ brew tap cartr/qt4
$ brew tap-pin cartr/qt4
$ brew install qt --with-qt3support
</pre>
Build and install Qucs.
<pre>
$ brew install qucs
</pre>
Homebrew can create symbolic links of installed packages into /Applications, run:
<pre>
$ brew linkapps
</pre>
</ol>
You're done with Homebrew!<br />
</li>
</ul>
<hr />
</div><!-- include the common web page header -->
<script type="text/javascript">
//<![CDATA[
footer()
//]]>
</script>
</body>
</html>