This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:compiling_octave [2011/12/07 15:18] hamish [Prerequisite] |
guide:compiling_octave [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Compiling Octave 3.4.3 from Source | + | ====== Compiling Octave 3.4.3 from Source ====== |
| - | This guide is written for the Sun Tsessbe Cluster. The reader is advise to read through the INSTALL file located in the Octave Source Folder before proceeding with this guide. Also it recommended | + | This guide is written for the Sun Tsessbe Cluster. The reader is advise to read through the INSTALL file located in the Octave Source Folder before proceeding with this guide. Also it recommended |
| export LD_LIBRARY_PATH=$HOME/ | export LD_LIBRARY_PATH=$HOME/ | ||
| export LD_LIBRARY_PATH=$HOME/ | export LD_LIBRARY_PATH=$HOME/ | ||
| Line 16: | Line 16: | ||
| - | ===== Prerequisite | + | ===== Prerequisites |
| Before you build Octave, you some libraries need to be built | Before you build Octave, you some libraries need to be built | ||
| Line 89: | Line 89: | ||
| # If all the tests are passed, install into you home directory | # If all the tests are passed, install into you home directory | ||
| $ make install | $ make install | ||
| - | | ||
| - | The tool is required, as if the default ld is used error of the following nature occur during the octave build | ||
| - | $ / | ||
| - | use a later version of ld should hopefully avoid this error... | ||
| If you have not already add the following line in your .bashrc file | If you have not already add the following line in your .bashrc file | ||
| Line 121: | Line 117: | ||
| $ mkdir BUILD | $ mkdir BUILD | ||
| $ cd BUILD | $ cd BUILD | ||
| - | $ ../ | + | $ ../ |
| $ cp ../AUTHORS ./ #this is a bug in the configuration script... | $ cp ../AUTHORS ./ #this is a bug in the configuration script... | ||
| - | |||
| - | Possible error | ||
| - | * if error regarding fftw3f or fftw3 are encounter, either use the ' | ||
| After configuration is complete, alot of warning about missing librarys are given | After configuration is complete, alot of warning about missing librarys are given | ||
| Line 151: | Line 144: | ||
| FAIL 11 | FAIL 11 | ||
| + | |||
| + | ===== Install ===== | ||
| + | |||
| + | $ make install | ||
| + | | ||
| + | Add the following to the end of your .bashrc file | ||
| + | |||
| + | # for Octave 3.4.3 installed in $HOME | ||
| + | export LD_LIBRARY_PATH=$HOME/ | ||
| + | | ||
| + | Log in and out, then | ||
| + | $ octave --version | ||
| + | GNU Octave, version 3.4.3 | ||
| + | Copyright (C) 2011 John W. Eaton and others. | ||