1 | NOTES FOR SNOW LEOPARD USERS |
---|
2 | |
---|
3 | 1 - mkoctfile |
---|
4 | |
---|
5 | Since OSX 10.6 the Apple shipped version of gcc builds by default 64bit binaries |
---|
6 | As the libraries included with Octave.app version 3.2.3 are 32bit, you need to apply |
---|
7 | the following patch in order for mkoctfile to work: |
---|
8 | |
---|
9 | 1.1) open the folder /Applications in the finder |
---|
10 | 1.2) right-click on Octave.app and select "show package contents" |
---|
11 | 1.3) navigate to /Applications/Octave.app/Contents/Resources/bin |
---|
12 | 1.4) right-click on the file "mkoctfile" and select "Open with -> Other ... -> TextEdit.app" |
---|
13 | 1.5) right after the line: |
---|
14 | |
---|
15 | # along with this program; If not, see <http://www.gnu.org/licenses/>. |
---|
16 | |
---|
17 | add the lines |
---|
18 | |
---|
19 | CFLAGS="-m32 ${CFLAGS}" |
---|
20 | FFLAGS="-m32 ${FFLAGS}" |
---|
21 | CPPFLAGS="-m32 ${CPPFLAGS}" |
---|
22 | CXXFLAGS="-m32 ${CXXFLAGS}" |
---|
23 | LDFLAGS="-m32 ${LDFLAGS}" |
---|
24 | |
---|
25 | and save. |
---|
26 | |
---|
27 | 2 - Gnuplot.app |
---|
28 | |
---|
29 | An update to system libraries introduced with OSX 10.6.5 has broken the functionality |
---|
30 | of the Gnuplot.app included with the Octave.app distribution, in order to use Gnuplot.app |
---|
31 | on OSX 10.6.5 and later, you can use the fix described below: |
---|
32 | |
---|
33 | 2.1) open the folder /Applications in the finder |
---|
34 | 2.2) right-click on Gnuplot.app and select "show package contents" |
---|
35 | 2.3) navigate to /Applications/Gnuplot.app/Contents/Resources/bin |
---|
36 | 2.4) right-click on the file "gnuplot" and select "Open with -> Other ... -> TextEdit.app" |
---|
37 | 2.5) change the line: |
---|
38 | |
---|
39 | DYLD_LIBRARY_PATH="${ROOT}/lib:${DYLD_LIBRARY_PATH}" |
---|
40 | |
---|
41 | to |
---|
42 | |
---|
43 | DYLD_LIBRARY_PATH="${ROOT}/lib" |
---|
44 | |
---|
45 | and save. |
---|
46 | |
---|
47 | NOTES FOR LEOPARD USERS |
---|
48 | |
---|
49 | An update to system libraries introduced with OSX 10.5.8 has broken the functionality |
---|
50 | of the Gnuplot.app included with the Octave.app distribution, in order to use Gnuplot.app |
---|
51 | on OSX 10.5.8 and later, you can use the same fix described above for OSX 10.6.5. |
---|