Editing Building
Jump to navigation
Jump to search
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 1: | Line 1: | ||
General information about building the Octave source for different operating systems. | |||
We try to keep build instructions up to date in the source tree. Please clone using [[Mercurial]] or download it to see the README. | |||
There are also instructions in the [http://www.gnu.org/software/octave/doc/interpreter/Installation.html manual]. | |||
* [[Octave for Debian systems]]. | |||
* [[Octave for Arch Linux]]. | |||
* [[Building for Macintosh platform]] | |||
* [[Building on Cygwin platform]] | |||
== Dependencies == | ==Dependencies== | ||
{| class"wikitable" | |||
|- | |||
| Critical | |||
| width="50pt" style="background:red" | | |||
|- | |||
| Recommended | |||
| style="background:yellow" | | |||
|- | |||
| Not critical | |||
| style="background:green" | | |||
|} | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Task | ||
! | ! Name | ||
! Usage | |||
! License / Copyright | ! License / Copyright | ||
! Version | |||
! [[Debian]] | |||
! [[Arch Linux]] | |||
! Level | |||
! Recent CVE ? | |||
|- | |||
| rowspan="8"| Build tools | |||
| | | [http://gcc.gnu.org C++, C, and Fortran compilers] | ||
| | |||
| [ | |||
| Compiling the source code | | Compiling the source code | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
|-style="background: | | | ||
| [ | | {{codeline|build-essential}} | ||
| | |||
| style="background:red" | | |||
| none | |||
|- | |||
| [http://www.gnu.org/software/make GNU Make] | |||
| Makefile processor | | Makefile processor | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | | | ||
| | | {{codeline|make}} | ||
| | | | ||
| | | style="background:red" | | ||
| | | none | ||
| Unix utilities | |- | ||
| AWK, sed, and other Unix utilities | |||
| Miscellaneous tasks | | Miscellaneous tasks | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|awk}}, {{codeline|sed}}, ... | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.gnu.org/software/bison Bison] | ||
| Parser generator | | Parser generator | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|bison}} | |||
| | |||
| style="background:green" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.gnu.org/software/flex Flex] | ||
| Lexical analyzer | | Lexical analyzer | ||
| The Flex project | | The Flex project | ||
|} | | | ||
| {{codeline|flex}} | |||
| | |||
| style="background:green" | | |||
| none | |||
|- | |- | ||
| [http://www.gnu.org/software/autoconf Autoconf] | |||
| Software configuration | |||
| [http://www. | |||
| | |||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|autoconf}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.gnu.org/software/automake Automake] | ||
| | | Makefile generator | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|automake}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.gnu.org/software/libtool Libtool] | ||
| | | Dependency of automake | ||
| | | Free Software Foundation | ||
|} | | | ||
| {{codeline|libtool}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| rowspan="19"| External tools | |||
| [http://www.netlib.org/blas BLAS] | |||
| | |||
| [ | |||
| Basic Linear Algebra Subroutine library | | Basic Linear Algebra Subroutine library | ||
| Free - proper attribution request | | Free - proper attribution request | ||
|-style="background: | | | ||
| [ | | {{codeline|libatlas-base-dev}} | ||
| | |||
| style="background:red" | | |||
| none | |||
|- | |||
| [http://www.netlib.org/lapack LAPACK] | |||
| Linear Algebra Package | | Linear Algebra Package | ||
| Free - proper attribution request | | Free - proper attribution request | ||
|-style="background: | | | ||
| [ | | {{codeline|liblapack-dev}} | ||
| | |||
| style="background:red" | | |||
| none | |||
|- | |||
| [http://www.pcre.org PCRE] | |||
| Perl Compatible Regular Expression library | | Perl Compatible Regular Expression library | ||
| Free | | Free | ||
|-style="background: | | | ||
| [ | | {{codeline|libpcre3-dev}} | ||
| | |||
| style="background:red" | | |||
| none | |||
|- | |||
| [http://www.gnu.org/s/readline GNU Readline] | |||
| Command-line editing library | | Command-line editing library | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|libreadline-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|- | |- | ||
| [ | | [http://forge.scilab.org/index.php/p/arpack-ng ARPACK] | ||
| Solution of large-scale eigenvalue problems | | Solution of large-scale eigenvalue problems | ||
| BSD like - various authors | | BSD like - various authors | ||
| | |||
| {{codeline|libarpack2-dev}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://curl.haxx.se cURL] | ||
| Library for transferring data with URL syntax | | Library for transferring data with URL syntax | ||
| Free Software -- main author | | Free Software -- main author | ||
| > 7.32.00 | |||
| {{codeline|curl}} | |||
| | |||
| style="background:red" | | |||
| [http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4545 CVE-2013-4545] | |||
|- | |- | ||
| [http://www.fftw.org FFTW3] | | [http://www.fftw.org FFTW3] | ||
| Library for computing discrete Fourier transforms | | Library for computing discrete Fourier transforms | ||
| MIT -- GNU GPL v2.0 | | MIT -- GNU GPL v2.0 | ||
| | |||
| {{codeline|libfftw3-dev}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.fltk.org FLTK] | ||
| Portable GUI toolkit | | Portable GUI toolkit | ||
| GNU GPL v2.0 with static linking exception | | GNU GPL v2.0 with static linking exception | ||
| | |||
| {{codeline|libfltk1.3-dev}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.freedesktop.org/wiki/Software/fontconfig fontconfig] | ||
| Library for configuring and customizing font access | | Library for configuring and customizing font access | ||
| Provided "as is" -- various authors | | Provided "as is" -- various authors | ||
| | |||
| {{codeline|fontconfig}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.freetype.org FreeType] | ||
| Portable font engine | | Portable font engine | ||
| compatible with GNU GPL v3.0 | | compatible with GNU GPL v3.0 | ||
| | |||
| {{codeline|libfreetype6-dev}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.gnu.org/software/glpk GLPK] | ||
| GNU Linear Programming Kit | | GNU Linear Programming Kit | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|libglpk-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|- | |- | ||
| [http://www.gnuplot.info gnuplot] | | [http://www.gnuplot.info gnuplot] | ||
| Interactive graphics program | | Interactive graphics program | ||
| Provided "as is" -- various authors | | Provided "as is" -- various authors | ||
| | |||
| {{codeline|gnuplot}} | |||
| | |||
| style="background:red" | | |||
| none | |||
|- | |- | ||
| | | [http://www.graphicsmagick.org GraphicsMagick++] | ||
| Image processing library | | Image processing library | ||
| various -- integrates many third-party libs | | various -- integrates many third-party libs | ||
| > 1.3.18 | |||
| {{codeline|libgraphicsmagick++1-dev}} | |||
| | |||
| style="background:yellow" | | |||
| [http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4589 CVE-2013-4589] | |||
|- | |- | ||
| [ | | [http://www.hdfgroup.org/HDF5 HDF5] | ||
| Library for manipulating portable data files | | Library for manipulating portable data files | ||
| BSD - like | | BSD - like | ||
| | |||
| {{codeline|libhdf5-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|- | |- | ||
| | | [http://www.opengl.org OpenGL] | ||
| API for portable 2D and 3D graphics | | API for portable 2D and 3D graphics | ||
| Free specs -- license is driver dependent | | Free specs -- license is driver dependent | ||
|- | | | ||
| | | {{codeline|libgl-dev}} | ||
| | | | ||
| | | style="background:red" | | ||
| none | |||
|- | |- | ||
| [http://www.qhull.org Qhull] | | [http://www.qhull.org Qhull] | ||
| Computational geometry library | | Computational geometry library | ||
| Free software -- specific | | Free software -- specific | ||
| | |||
| {{codeline|libqhull-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|- | |- | ||
| [http://sourceforge.net/projects/qrupdate QRUPDATE] | | [http://sourceforge.net/projects/qrupdate QRUPDATE] | ||
| QR factorization updating library | | QR factorization updating library | ||
| GNU GPL v3.0 | | GNU GPL v3.0 | ||
| | |||
| {{codeline|libqrupdate-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|- | |- | ||
| [ | | [http://www.cise.ufl.edu/research/sparse/SuiteSparse SuiteSparse] | ||
| Sparse matrix factorization library | | Sparse matrix factorization library | ||
| Main author | | Main author | ||
| | |||
| {{codeline|libsuitesparse-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|- | |- | ||
| [ | | [http://zlib.net zlib] | ||
| Data compression library | | Data compression library | ||
| Provided "as is" -- various authors | | Provided "as is" -- various authors | ||
| | |||
| {{codeline|zlib1g-dev}} | |||
| | |||
| style="background:yellow" | | |||
| none | |||
|} | |} | ||
==Security concerns== | |||
* CVE-2013-4545 (cURL): solved by version 7.34.00. Upgrade dependencies. | |||
* CVE-2013-4589 (graphicsmagick): the actual version (1.3.18, released March 9th, 2013), is affected. Awaiting a new release. | |||
[[Category:Building]] | [[Category:Building]] |