Octave for Debian systems: Difference between revisions

Jump to navigation Jump to search
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]. A common 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 variables. You can omit most of these except BLAS which gives a fatal error. This can be remedied by 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>.
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 [http://www.gnu.org/software/octave/doc/interpreter/Running-Configure-and-Make.html configure options].


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

Navigation menu