Editing Talk:Build from source
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 104: | Line 104: | ||
$ ./bootstrap | $ ./bootstrap | ||
Running this script will result in the | Running this script will result in the createion of the configure script. | ||
The bootstrap script comes from gnulib, but is kept in the Octave source archive. | The bootstrap script comes from gnulib, but is kept in the Octave source archive. | ||
It should be updated from the gnulib sources as necessary. | It should be updated from the gnulib sources as necessary. | ||
Line 161: | Line 161: | ||
$ make CFLAGS=-O CXXFLAGS=-O LDFLAGS= | $ make CFLAGS=-O CXXFLAGS=-O LDFLAGS= | ||
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. | 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 | Once you have successfully compiled Octave, run | ||
$ make install | $ 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’). | 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. | |||