Octave for Debian systems: Difference between revisions

Line 27: Line 27:
== Compiling from source ==
== Compiling from source ==


The ''only'' tricky part is to install the dependencies. Once that is solved, installing from source should be as easy as {{Codeline|./configure && make && make install}}. See the manual for the [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html configure options].
The ''only'' tricky part is to install the dependencies. Once that is solved, installing from source should be as easy as {{Codeline|./configure && make && make install}}. See the manual for the [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html configure options]. One common configuration difficulty is to get [https://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html 64-bit support], which requires the linked libraries to support 64-bit index variables. You can omit most of these except BLAS which returns a fatal error. This can be remedied by using compiling [http://www.openblas.net/ OpenBLAS] (with edits to Makefile.rule so that BINARY=64 INTERFACE64=1). Then <code>./configure LD_LIBRARY_PATH=/opt/OpenBLAS/lib CPPFLAGS=-I/opt/OpenBLAS/include LDFLAGS=-L/opt/OpenBLAS/lib --enable-64 && make && make install</code>.


=== Install dependencies ===
=== Install dependencies ===
Anonymous user