Talk:Build from source: Difference between revisions

Jump to navigation Jump to search
(pasted in from HACKING and shortened)
Line 121: Line 121:


===Configure the build===
===Configure the build===
It is very recommended that you build Octave in a separate directory tree from the sources. 
For convenience we recommend a subdirectory to the main octave directory.
For example, after you finished running the bootstrap script (takes a few secondds), run the
following commands to create a build tree, configure, and build Octave:
$ mkdir octave_build_directory
$ cd octave_build_directory
$ ../configure
Running configure will take about half a minute. After it's finished, and if you are satisfied with
the result, just run make
$ make
Building octave will take something on the scale of hours,
the exact ammount depending on if the programmers or cpu engineers are ahead in the eternal race of performance versus cruft.
The best thing to do is to leave it over lunch, or possibly overnight if it's late. You probably should sleep more anyway Jonathan.


====Build dependencies====
====Build dependencies====
The [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html manual] lists the following as required packages:
BLAS
Basic Linear Algebra Subroutine library (http://www.netlib.org/blas). Accelerated BLAS libraries such as ATLAS (http://math-atlas.sourceforge.net) are recommeded for better performance.
LAPACK
Linear Algebra Package (http://www.netlib.org/lapack).
PCRE
The Perl Compatible Regular Expression library (http://www.pcre.org).
The following external package is optional but strongly recommended:
GNU Readline
Command-line editing library (www.gnu.org/s/readline).


===Run make===
===Run make===
19

edits

Navigation menu