19
edits
Line 156: | Line 156: | ||
===Run make=== | ===Run make=== | ||
You will need a recent version of GNU Make as Octave relies on certain features not generally available in all versions of make. Octave requires approximately 1.4 GB of disk storage to unpack and compile from source (significantly less, 400 MB, if you don't compile with debugging symbols). To compile without debugging symbols try the command | |||
$ make CFLAGS=-O CXXFLAGS=-O LDFLAGS= | |||
instead of just make. If you encounter errors while compiling Octave, first search the web to see if there is a workaround or solution for your problem. If not, see [http://www.gnu.org/software/octave/doc/interpreter/Reporting-Bugs.html Trouble], for information about how to report bugs. | |||
Once you have successfully compiled Octave, run | |||
$ make install | |||
This will install a copy of Octave, its libraries, and its documentation in the destination directory. As distributed, Octave is installed in the following directories. In the table below, prefix defaults to /usr/local, version stands for the current version number of the interpreter, and arch is the type of computer on which Octave is installed (for example, ‘i586-unknown-gnu’). | |||
prefix/bin | |||
Octave and other binaries that people will want to run directly. | |||
prefix/lib/octave-version | |||
Libraries like libcruft.a and liboctave.a. | |||
prefix/octave-version/include/octave | |||
Include files distributed with Octave. | |||
prefix/share | |||
Architecture-independent data files. | |||
prefix/share/man/man1 | |||
Unix-style man pages describing Octave. | |||
prefix/share/info | |||
Info files describing Octave. | |||
prefix/share/octave/version/m | |||
Function files distributed with Octave. This includes the Octave version, so that multiple versions of Octave may be installed at the same time. | |||
prefix/libexec/octave/version/exec/arch | |||
Executables to be run by Octave rather than the user. | |||
prefix/lib/octave/version/oct/arch | |||
Object files that will be dynamically loaded. | |||
prefix/share/octave/version/imagelib | |||
Image files that are distributed with Octave. |
edits