Mercurial > hg > octave-nkf
annotate README.MacOS @ 12186:75f12ba604b4
README.MacOS: Modify instructions for MacPorts to deactivate rather than uninstall octave.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 27 Jan 2011 18:46:33 -0500 |
parents | 2ba904181687 |
children | c2d2f880dca2 |
rev | line source |
---|---|
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
1 1. Easy to install Binary Releases |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
2 ================================== |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
3 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
4 A MacOS bundle is available from sourceforge. |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
5 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
6 http://octave.sourceforge.net/index.html |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
7 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
8 There are also Octave packages available from both Fink and MacPorts. Each |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
9 of these package managers handle the details of compiling Octave from source. |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
10 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
11 http://www.finkproject.com |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
12 http://www.macports.org/ |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
13 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
14 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
15 2. Building from Source |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
16 ======================= |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
17 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
18 Stable releases, development snapshots as well as the current developers |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
19 sources are available. The sources for stable releases are available from |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
20 the links below. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
21 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
22 ftp://ftp.gnu.org/pub/gnu/octave/ |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
23 http://ftp.gnu.org/pub/gnu/octave/ |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
24 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
25 Development snapshots, intended for testing, are available from the link |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
26 below. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
27 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
28 ftp://alpha.gnu.org/gnu/octave |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
29 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
30 Links to the stable releases, snap shots, and instructions for obtaining |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
31 the current development sources using mercurial can be found on Octave's |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
32 web-site below. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
33 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
34 http://www.gnu.org/software/octave/download.html |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
35 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
36 Building on MacOS can vary significantly between versions. These |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
37 instructions document the procedure for MacOS 10.6.X. |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
38 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
39 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
40 2.1 Developer's Tools |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
41 --------------------- |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
42 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
43 Apple's Xcode Developer's Tools must be installed to build Ocave on MacOS X. |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
44 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
45 A fortran compilar is also required to build Octave. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
46 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
47 AT&T Research provides versions of gfortran which have been patched to work |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
48 with gcc tool set bundled with Xcode. |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
49 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
50 http://r.research.att.com/tools/ |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
51 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
52 Alternatively, the Fink and MacPorts package managers provide more recent |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
53 versions of gcc which include gfortan. Those may be used to build the sources |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
54 as well. However, care must be taken. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
55 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
56 * The same compiler must be used to build all the dependencies. This is |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
57 necessary to to avoid conflicts between the compiler libraries such as |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
58 libstdc++. For a successful build the first file in LDFLAGS must refer to |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
59 this library. For example, if building with gcc-4.5 obtained from MacPorts |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
60 LDFLAGS would begin as, |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
61 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
62 export LDFLAGS="/opt/local/lib/gcc45/libstdc++.6.dylib [...]" |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
63 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
64 * As of MacOS 10.6.6, the 64bit BLAS routines that are part of Apple's vecLib |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
65 (framework accelerate) are not functioning correctly. As a work around, an |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
66 alternative BLAS/LAPACK library, such as ATLAS, must be used. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
67 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
68 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
69 2.2 Manual Package Management |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
70 ----------------------------- |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
71 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
72 TODO - add instructions. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
73 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
74 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
75 2.3 Building With Dependencies Satisfied by Fink |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
76 ------------------------------------------------ |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
77 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
78 To install and setup the Fink package manager see the on line documentation. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
79 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
80 http://www.finkproject.org/ |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
81 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
82 Currently, Fink does not have a package available for Octave versions above |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
83 3.0.x. These instructions will allow the developers sources to be build and |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
84 run, but will not permit Octave to be installed in the usual Fink way. |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
85 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
86 TODO - when a Fink package is developed for Octave 3.4.x, modify these |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
87 instructions to model the MacPorts secion. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
88 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
89 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
90 2.3.1 Dependencies |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
91 ------------------ |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
92 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
93 To build Octave's sources the list of Fink packages below need to be installed. |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
94 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
95 aquaterm |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
96 arpack |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
97 autoconf (>= 2.6.0) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
98 automake (>= 1.11) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
99 fftw3 (>= 3.1.1) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
100 fftw3-shlibs (>= 3.1.1) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
101 flex >= 2.5.30 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
102 fltk-aqua-shlibs |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
103 glpk-dev |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
104 glpk-shlibs |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
105 gnuplot (>= 4.2.6) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
106 graphicsmagick (<= 1.3.7) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
107 graphicsmagick-shlibs (<= 1.3.7) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
108 hdf5 (>= 1.6.5) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
109 hdf5-shlibs (>= 1.6.5) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
110 libcurl4 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
111 libcurl4-shlibs |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
112 libncurses5 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
113 libncurses5-shlibs |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
114 libtool >= 2.2.2 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
115 ncurses |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
116 pcre |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
117 pcre-shlibs |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
118 qhull |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
119 qrupdate (**) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
120 readline5 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
121 readline5-shlibs |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
122 sed |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
123 suitesparse (= 3.1.0-1 ) |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
124 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
125 Some of Octave's dependencies are among the default packages for Fink. These |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
126 include the list below, and possibly others as well. |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
127 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
128 tetex |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
129 texinfo |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
130 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
131 (**) Fink does not yet have a package for qrupdate. However, one is |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
132 available in the tracker at the link below. |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
133 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
134 http://sourceforge.net/tracker/index.php?func=detail&aid=2861045&group_id=17203&atid=414256 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
135 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
136 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
137 2.3.2 Building With Dependencies Satisfied by Fink |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
138 -------------------------------------------------- |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
139 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
140 After installing each of the dependencies, the sources are compiled by |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
141 setting the proper environment variables and then following the standard build |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
142 sequence. The following is an example set of variables to for a 32-bit build |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
143 using gcc-4.2. When building from the sources obtained from the mercurial |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
144 archive, ./autogen.sh must be run prior to ./configure. |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
145 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
146 export FINK_PREFIX="/sw" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
147 export PREFIX="/usr/local/bin" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
148 |
11443
cbe3963daefd
Update README.MacOS CFLAGS recommendation to -O2.
Rik <octave@nomad.inbox5.com>
parents:
11410
diff
changeset
|
149 export OPTFLAGS="-O2 -g" |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
150 export LDFLAGS="-L$FINK_PREFIX/lib -L/usr/lib -m32" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
151 export CFLAGS="-I$FINK_PREFIX/include $OPTFLAGS -m32" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
152 export CXXFLAGS=$CFLAGS |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
153 export CPPFLAGS=$CXXFLAGS |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
154 export ACLOCAL_FLAGS="-I$FINK_PREFIX/share/aclocal" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
155 export PKG_CONFIG_PATH="$FINK_PREFIX/lib/pkgconfig" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
156 export PATH="$FINK_PREFIX/var/lib/fink/path-prefix-10.6/:$PATH" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
157 export MACOSX_DEPLOYMENT_TARGET=10.5 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
158 export PATH="$FINK_PREFIX/lib/flex/bin:$PATH" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
159 export CPPFLAGS="-I$FINK_PREFIX/lib/flex/include $CPPFLAGS" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
160 export LDFLAGS="-L$FINK_PREFIX/lib/flex/lib $LDFLAGS" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
161 export CC="gcc-4.2" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
162 export CPP="cpp-4.2" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
163 export CXX="g++-4.2" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
164 export F77="/usr/bin/gfortran-4.2" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
165 export FLIBS="-lgfortran -lgfortranbegin" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
166 export FFLAGS="-ff2c $OPTFLAGS -m32" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
167 export CPPFLAGS="$CPPFLAGS -I$FINK_PREFIX/include/freetype2 \ |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
168 -I$FINK_PREFIX/include/qhull \ |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
169 -I/usr/include" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
170 export CXXFLAGS="$CXXFLAGS -D_THREAD_SAFE -D_REENTRANT" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
171 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
172 ./configure --prefix=$PREFIX \ |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
173 --libexecdir='${prefix}/lib' \ |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
174 --with-blas="-Wl,-framework -Wl,vecLib" |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
175 make |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
176 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
177 Note: This approach to building Octave does not support "make install". |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
178 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
179 TODO - develop a Fink package for Octave 3.4.x. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
180 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
181 |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
182 2.4 Building With Dependencies Satisfied by MacPorts |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
183 ---------------------------------------------------- |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
184 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
185 To install and setup the MacPorts package manager see the online documentation |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
186 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
187 http://guide.macports.org/ |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
188 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
189 Using MacPorts, two approaches are described. The first describes how to build |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
190 and locally install Octave from a formal snapshot of the developer's sources or |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
191 from the developer's sources themselves. This is intended to the causual Octave |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
192 developer, or for users who want to live on the bleeding edge. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
193 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
194 The second describes an approach for building Octave which is intended for |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
195 active developers. In this case, MacPorts is used to satisfy Octave's |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
196 dependencies, but MacPorts does not build Octave. Futher a direct install of |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
197 Octave is not possible (i.e. cannot "make install"). |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
198 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
199 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
200 2.4.1 Building and Installing Octave |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
201 ------------------------------------ |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
202 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
203 With MacPorts building the developer's sources is convenient. MacPorts includes |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
204 a port file for octave-devel. To build and run the most recent development |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
205 snapshots, enter the commands below. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
206 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
207 sudo port selfupdate |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
208 sudo port install octave-devel |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
209 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
210 To build the developers sources in one's own way, or if MacPorts' version is |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
211 outdated, a custom port file can be added. This requires setting up a local |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
212 port file repository (link below). |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
213 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
214 http://guide.macports.org/#development.local-repositories |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
215 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
216 The octave-devel port file may be used as an initial starting point. The port |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
217 file is accessible from the web at the link below. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
218 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
219 http://trac.macports.org/browser/trunk/dports/math/octave-devel/Portfile |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
220 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
221 It is also available locally at the location below. The parametere ${prefix} is |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
222 corresponds to where MacPorts is install, which by default is "/opt/local". |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
223 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
224 ${prefix}/var/macports/sources/rsync.macports.org/release/ports/math/octave-devel/Portfile |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
225 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
226 The local source tarball must be placed in the location below, where ${name} |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
227 and ${distname} are each specified in the port file. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
228 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
229 ${prefix}/var/macports/distfiles/${name}/${disname}.tar.gz |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
230 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
231 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
232 2.4.2 Building for Active Development of Octave |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
233 ----------------------------------------------- |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
234 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
235 To satisfy Octave's dependencies, first install the octave-devel port. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
236 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
237 sudo port selfupdate |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
238 sudo port install octave-devel |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
239 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
240 Next run octave to determine the configure options needed to build Octave using |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
241 MacPorts. At Octave's prompt type the command below and make note of the result, |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
242 ${config_opts}. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
243 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
244 octave:1> octave_config_info.config_opts |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
245 |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
246 Now uninstall the Octave port. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
247 |
12186
75f12ba604b4
README.MacOS: Modify instructions for MacPorts to deactivate rather than uninstall octave.
Ben Abbott <bpabbott@mac.com>
parents:
12172
diff
changeset
|
248 sudo port deactivate octave-devel |
12172
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
249 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
250 This will remove Octave and leave its dependencies in place. Now Octave may be |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
251 built from the local mercurial archive by typing the commands below, where the |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
252 configure options mentioned above are substituted for the parameter |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
253 ${config_opts}. If the sources being built are from the mercurial archive, then |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
254 ./autogen.sh must be run prior to ./configure. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
255 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
256 ./configure ${config_opts} |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
257 make |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
258 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
259 Octave's intergrated tests may be run. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
260 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
261 make check |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
262 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
263 However, "make install" should not be run as it may damage or corrupt the |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
264 MacPorts installation. To run Octave, type the command below from the root of |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
265 the mercurial archive. |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
266 |
2ba904181687
README.MacOS: Modify organization, and update for MacPorts.
Ben Abbott <bpabbott@mac.com>
parents:
11582
diff
changeset
|
267 ./run-octave |
11386
fba7b5538b18
README.MacOS: New file with build instructions for Mac OS systems.
Rik <octave@nomad.inbox5.com>
parents:
diff
changeset
|
268 |
fba7b5538b18
README.MacOS: New file with build instructions for Mac OS systems.
Rik <octave@nomad.inbox5.com>
parents:
diff
changeset
|
269 |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
270 John W. Eaton |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
271 jwe@octave.org |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
272 |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
273 Ben Abbott |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
274 bpabbott@mac.com |
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11386
diff
changeset
|
275 |
11582
21dec063e89f
More updates to top-level README documentation files ahead of 3.4 release.
Rik <octave@nomad.inbox5.com>
parents:
11443
diff
changeset
|
276 Last updated: Sat, 28 Oct 2010 16:06:00 EDT |