Difference between revisions of "Building"

From Octave
Jump to navigation Jump to search
Line 29: Line 29:
 
! Name
 
! Name
 
! Usage
 
! Usage
 +
! Version
 
! Debian
 
! Debian
 
! Level
 
! Level
Line 36: Line 37:
 
| C++, C, and Fortran compilers
 
| C++, C, and Fortran compilers
 
| Compiling the source code
 
| Compiling the source code
 +
|
 
| {{codeline|build-essential}}
 
| {{codeline|build-essential}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 42: Line 44:
 
| [http://www.gnu.org/software/make GNU Make]
 
| [http://www.gnu.org/software/make GNU Make]
 
| Makefile processor
 
| Makefile processor
 +
|
 
| {{codeline|make}}
 
| {{codeline|make}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 48: Line 51:
 
| AWK, sed, and other Unix utilities
 
| AWK, sed, and other Unix utilities
 
| Miscellaneous tasks
 
| Miscellaneous tasks
 +
|
 
| {{codeline|awk}}, {{codeline|sed}}, ...
 
| {{codeline|awk}}, {{codeline|sed}}, ...
 
| style="background:red" |  
 
| style="background:red" |  
Line 54: Line 58:
 
| [http://www.gnu.org/software/bison Bison]
 
| [http://www.gnu.org/software/bison Bison]
 
| Parser generator
 
| Parser generator
 +
|
 
| {{codeline|bison}}
 
| {{codeline|bison}}
 
| style="background:green" |  
 
| style="background:green" |  
Line 60: Line 65:
 
| [http://www.gnu.org/software/flex Flex]
 
| [http://www.gnu.org/software/flex Flex]
 
| Lexical analyzer
 
| Lexical analyzer
 +
|
 
| {{codeline|flex}}
 
| {{codeline|flex}}
 
| style="background:green" |  
 
| style="background:green" |  
Line 66: Line 72:
 
| [http://www.gnu.org/software/autoconf Autoconf]
 
| [http://www.gnu.org/software/autoconf Autoconf]
 
| Software configuration
 
| Software configuration
 +
|
 
| {{codeline|autoconf}}
 
| {{codeline|autoconf}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 72: Line 79:
 
| [http://www.gnu.org/software/automake Automake]
 
| [http://www.gnu.org/software/automake Automake]
 
| Makefile generator
 
| Makefile generator
 +
|
 
| {{codeline|automake}}
 
| {{codeline|automake}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 78: Line 86:
 
| [http://www.gnu.org/software/libtool Libtool]
 
| [http://www.gnu.org/software/libtool Libtool]
 
| Dependency of automake
 
| Dependency of automake
 +
|
 
| {{codeline|libtool}}
 
| {{codeline|libtool}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 85: Line 94:
 
| [http://www.netlib.org/blas BLAS]
 
| [http://www.netlib.org/blas BLAS]
 
| Basic Linear Algebra Subroutine library
 
| Basic Linear Algebra Subroutine library
 +
|
 
| {{codeline|libatlas-base-dev}}
 
| {{codeline|libatlas-base-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 91: Line 101:
 
| [http://www.netlib.org/lapack LAPACK]
 
| [http://www.netlib.org/lapack LAPACK]
 
| Linear Algebra Package
 
| Linear Algebra Package
 +
|
 
| {{codeline|liblapack-dev}}
 
| {{codeline|liblapack-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 97: Line 108:
 
| [http://www.pcre.org PCRE]
 
| [http://www.pcre.org PCRE]
 
| Perl Compatible Regular Expression library
 
| Perl Compatible Regular Expression library
 +
|
 
| {{codeline|libpcre3-dev}}
 
| {{codeline|libpcre3-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 103: Line 115:
 
| [http://www.gnu.org/s/readline GNU Readline]
 
| [http://www.gnu.org/s/readline GNU Readline]
 
| Command-line editing library
 
| Command-line editing library
 +
|
 
| {{codeline|libreadline-dev}}
 
| {{codeline|libreadline-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 108: Line 121:
 
|-
 
|-
 
| [http://forge.scilab.org/index.php/p/arpack-ng ARPACK]
 
| [http://forge.scilab.org/index.php/p/arpack-ng ARPACK]
| Solution of large-scale eigenvalue problems  
+
| Solution of large-scale eigenvalue problems
 +
|
 
| {{codeline|libarpack2-dev}}
 
| {{codeline|libarpack2-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 115: Line 129:
 
| [http://curl.haxx.se cURL]
 
| [http://curl.haxx.se cURL]
 
| Library for transferring data with URL syntax
 
| Library for transferring data with URL syntax
 +
|
 
| {{codeline|curl}}
 
| {{codeline|curl}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 121: Line 136:
 
| [http://www.fftw.org FFTW3]
 
| [http://www.fftw.org FFTW3]
 
| Library for computing discrete Fourier transforms
 
| Library for computing discrete Fourier transforms
 +
|
 
| {{codeline|libfftw3-dev}}
 
| {{codeline|libfftw3-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 127: Line 143:
 
| [http://www.fltk.org FLTK]
 
| [http://www.fltk.org FLTK]
 
| Portable GUI toolkit
 
| Portable GUI toolkit
 +
|
 
| {{codeline|libfltk1.3-dev}}
 
| {{codeline|libfltk1.3-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 132: Line 149:
 
|-
 
|-
 
| [http://www.freedesktop.org/wiki/Software/fontconfig fontconfig]
 
| [http://www.freedesktop.org/wiki/Software/fontconfig fontconfig]
| Library for configuring and customizing font access  
+
| Library for configuring and customizing font access
 +
|
 
| {{codeline|fontconfig}}
 
| {{codeline|fontconfig}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 139: Line 157:
 
| [http://www.freetype.org FreeType]
 
| [http://www.freetype.org FreeType]
 
| Portable font engine
 
| Portable font engine
 +
|
 
| {{codeline|libfreetype6-dev}}
 
| {{codeline|libfreetype6-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 145: Line 164:
 
| [http://www.gnu.org/software/glpk GLPK]
 
| [http://www.gnu.org/software/glpk GLPK]
 
| GNU Linear Programming Kit
 
| GNU Linear Programming Kit
 +
|
 
| {{codeline|libglpk-dev}}
 
| {{codeline|libglpk-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 151: Line 171:
 
| [http://www.gnuplot.info gnuplot]
 
| [http://www.gnuplot.info gnuplot]
 
| Interactive graphics program
 
| Interactive graphics program
 +
|
 
| {{codeline|gnuplot}}
 
| {{codeline|gnuplot}}
 
| style="background:red" |  
 
| style="background:red" |  
Line 157: Line 178:
 
| [http://www.graphicsmagick.org GraphicsMagick++]
 
| [http://www.graphicsmagick.org GraphicsMagick++]
 
| Image processing library
 
| Image processing library
 +
|
 
| {{codeline|libgraphicsmagick++1-dev}}
 
| {{codeline|libgraphicsmagick++1-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 163: Line 185:
 
| [http://www.hdfgroup.org/HDF5 HDF5]
 
| [http://www.hdfgroup.org/HDF5 HDF5]
 
| Library for manipulating portable data files
 
| Library for manipulating portable data files
 +
|
 
| {{codeline|libhdf5-dev}}
 
| {{codeline|libhdf5-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 169: Line 192:
 
| [http://www.opengl.org OpenGL]
 
| [http://www.opengl.org OpenGL]
 
| API for portable 2D and 3D graphics
 
| API for portable 2D and 3D graphics
| -
+
|
 +
| {{codeline|libgl-dev}}
 
| style="background:red" |  
 
| style="background:red" |  
 
| none
 
| none
Line 175: Line 199:
 
| [http://www.qhull.org Qhull]
 
| [http://www.qhull.org Qhull]
 
| Computational geometry library
 
| Computational geometry library
 +
|
 
| {{codeline|libqhull-dev}}
 
| {{codeline|libqhull-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 181: Line 206:
 
| [http://sourceforge.net/projects/qrupdate QRUPDATE]
 
| [http://sourceforge.net/projects/qrupdate QRUPDATE]
 
| QR factorization updating library
 
| QR factorization updating library
 +
|
 
| {{codeline|libqrupdate-dev}}
 
| {{codeline|libqrupdate-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 187: Line 213:
 
| [http://www.cise.ufl.edu/research/sparse/SuiteSparse SuiteSparse]
 
| [http://www.cise.ufl.edu/research/sparse/SuiteSparse SuiteSparse]
 
| Sparse matrix factorization library
 
| Sparse matrix factorization library
 +
|
 
| {{codeline|libsuitesparse-dev}}
 
| {{codeline|libsuitesparse-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  
Line 193: Line 220:
 
| [http://zlib.net zlib]
 
| [http://zlib.net zlib]
 
| Data compression library
 
| Data compression library
 +
|
 
| {{codeline|zlib1g-dev}}
 
| {{codeline|zlib1g-dev}}
 
| style="background:yellow" |  
 
| style="background:yellow" |  

Revision as of 00:00, 19 December 2013

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 manual.

Dependencies

Critical  
Recommended  
Not critical  
Task Name Usage Version Debian Level Recent CVE ?
Build tools C++, C, and Fortran compilers Compiling the source code build-essential   none
GNU Make Makefile processor make   none
AWK, sed, and other Unix utilities Miscellaneous tasks awk, sed, ...   none
Bison Parser generator bison   none
Flex Lexical analyzer flex   none
Autoconf Software configuration autoconf   none
Automake Makefile generator automake   none
Libtool Dependency of automake libtool   none
External tools BLAS Basic Linear Algebra Subroutine library libatlas-base-dev   none
LAPACK Linear Algebra Package liblapack-dev   none
PCRE Perl Compatible Regular Expression library libpcre3-dev   none
GNU Readline Command-line editing library libreadline-dev   none
ARPACK Solution of large-scale eigenvalue problems libarpack2-dev   none
cURL Library for transferring data with URL syntax curl   CVE-2013-4545
FFTW3 Library for computing discrete Fourier transforms libfftw3-dev   none
FLTK Portable GUI toolkit libfltk1.3-dev   none
fontconfig Library for configuring and customizing font access fontconfig   none
FreeType Portable font engine libfreetype6-dev   none
GLPK GNU Linear Programming Kit libglpk-dev   none
gnuplot Interactive graphics program gnuplot   none
GraphicsMagick++ Image processing library libgraphicsmagick++1-dev   CVE-2013-4589
HDF5 Library for manipulating portable data files libhdf5-dev   none
OpenGL API for portable 2D and 3D graphics libgl-dev   none
Qhull Computational geometry library libqhull-dev   none
QRUPDATE QR factorization updating library libqrupdate-dev   none
SuiteSparse Sparse matrix factorization library libsuitesparse-dev   none
zlib Data compression library zlib1g-dev   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.