Build from source: Difference between revisions

528 bytes added ,  10 January 2012
Added short introduction and a couple of sentences to the Build section
(→‎Configure: Added introductory sentences)
(Added short introduction and a couple of sentences to the Build section)
Line 8: Line 8:


To compile Octave, you will also need a recent version of GNU Make. You must have GNU Make to compile octave. Octave's Makefiles use features of GNU Make that are not present in other versions of make. GNU Make is very portable and easy to install.  
To compile Octave, you will also need a recent version of GNU Make. You must have GNU Make to compile octave. Octave's Makefiles use features of GNU Make that are not present in other versions of make. GNU Make is very portable and easy to install.  
=Introduction=
Building Octave can be as simple as downloading the source and running the following three commands in your Linux shell:
./configure
make
make install
However, Octave is a complex program with many dependencies. This page details each of the steps, some issues that may arise with each step and the dependencies that Octave either requires, or will use if available.


=Dependencies=
=Dependencies=
Line 165: Line 175:


=Build=
=Build=
After running configure simply run


  make
  make
Note that the compilation of Octave can take some time.


==Troubleshooting==  
==Troubleshooting==  
Line 207: Line 221:


=Install=
=Install=
Finally, to install Octave on your system run


  make install
  make install
Line 215: Line 231:
*[[Octave for Mac|Mac OS X]]
*[[Octave for Mac|Mac OS X]]
*[[Octave_for_GNU_Linux:_Binary_Octave_packages_for_GNU_Linux#Debian_Development_Sources|Debian]]
*[[Octave_for_GNU_Linux:_Binary_Octave_packages_for_GNU_Linux#Debian_Development_Sources|Debian]]


=Distributed building=
=Distributed building=
39

edits