Editing Talk:Build from source
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 123: | Line 123: | ||
It is very recommended that you build Octave in a separate directory tree from the sources. | 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 convenience we recommend a subdirectory to the main octave directory. | ||
For example, after you finished running the bootstrap script (takes a few | 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: | following commands to create a build tree, configure, and build Octave: | ||
Line 130: | Line 130: | ||
$ ../configure | $ ../configure | ||
Running configure will take about half a minute. After it's finished, and if you are satisfied with | |||
the result, just run make | |||
Running configure will take about half a minute. After it's finished, and if you are satisfied with the result, just run make | |||
$ make | $ make | ||
Building octave will take something on the scale of hours, | Building octave will take something on the scale of hours, | ||
the exact | 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. | 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: | The [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html manual] lists the following as required packages: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 153: | Line 153: | ||
|} | |} | ||
Beyond these, there are several more optional dependencies that configure will complain about, look in the [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html manual] for the complete list | Beyond these, there are several more optional dependencies that configure will complain about, look in the [http://www.gnu.org/software/octave/doc/interpreter/External-Packages.html manual] for the complete list. | ||
===Run make=== | ===Run make=== | ||