661
edits
No edit summary |
Carandraug (talk | contribs) (→Compiling from source: update build instructions for new release) |
||
Line 25: | Line 25: | ||
=== Dependencies === | === Dependencies === | ||
{{Note|different Debian versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}} | {{Note|different Debian and Ubuntu versions may have slightly different package names but their differences should be pretty small, mostly limited to version numbers.}} | ||
==== The easy way ==== | ==== The easy way ==== | ||
The easy way to install ''most'' of the necessary dependencies is to {{Codeline|sudo apt-get build-dep octave}}. This will install all packages necessary to build and prepare a Debian package for the octave version available on your system repositories. However: | The easy way to install ''most'' of the necessary dependencies is to {{Codeline|sudo apt-get build-dep octave}}. This will install all packages necessary to build and prepare a Debian package for the octave version available on your system repositories. However: | ||
* will install | * will install unnecessary packages related to the building of a Debian package; | ||
* may miss some new dependencies; | * may miss some new dependencies; | ||
* may install packages that are no longer octave dependencies. | * may install packages that are no longer octave dependencies. | ||
Line 37: | Line 37: | ||
{{Warning|Debian repositories has several libraries for dealing with HDF data files. The recommended is {{Codeline|libhdf5-serial-dev}}. However, the {{Forge|msh|msh package}} requires [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}} | {{Warning|Debian repositories has several libraries for dealing with HDF data files. The recommended is {{Codeline|libhdf5-serial-dev}}. However, the {{Forge|msh|msh package}} requires [http://www.geuz.org/gmsh/ gmsh] which is incompatible with it.}} | ||
{{Warning|the GraphicsMagick++ library (libgraphicsmagick++-dev) on the Debian repositories was compiled with quantum 8 which limits reading images to 8 bit. The solution is to recompile [[GraphicsMagick]] with quantum | {{Warning|the GraphicsMagick++ library (libgraphicsmagick++-dev) on the Debian repositories was compiled with quantum 8 which limits reading images to 8 bit. The solution is to recompile [[GraphicsMagick]] with quantum | ||
32.}} | 16 or 32 before building Octave.}} | ||
{{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}} | {{Note|if only the native graphics toolkit will be used, gnuplot will not be necessary.}} | ||
Line 60: | Line 60: | ||
|- | |- | ||
| FreeType || libfreetype6-dev || libfreetype6-dev | | FreeType || libfreetype6-dev || libfreetype6-dev | ||
|- | |||
| gl2ps || libgl2ps-dev || libgl2ps-dev | |||
|- | |- | ||
| GLPK || libglpk-dev || libglpk-dev | | GLPK || libglpk-dev || libglpk-dev | ||
Line 70: | Line 72: | ||
|- | |- | ||
| HDF5 || libhdf5-serial-dev || libhdf5-serial-dev | | HDF5 || libhdf5-serial-dev || libhdf5-serial-dev | ||
|- | |||
| Java JDK || openjdk-7-jdk || openjdk-7-jdk | |||
|- | |||
| LLVM || libfftw3-dev || libfftw3-dev | |||
|- | |- | ||
| OpenGL || libgl-dev * || libgl-dev * | | OpenGL || libgl-dev * || libgl-dev * | ||
Line 76: | Line 82: | ||
|- | |- | ||
| QRUPDATE || libqrupdate-dev || libqrupdate-dev | | QRUPDATE || libqrupdate-dev || libqrupdate-dev | ||
|- | |||
| QScintilla || libqscintilla2-dev || libqscintilla2-dev | |||
|- | |||
| Qt || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 || libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 | |||
|- | |- | ||
| SuiteSparse || libsuitesparse-dev || libsuitesparse-dev | | SuiteSparse || libsuitesparse-dev || libsuitesparse-dev | ||
Line 87: | Line 97: | ||
==== Building development version ==== | ==== Building development version ==== | ||
If you are building development versions, you'll require some more packages as listed on {{Path|etc/HACKING}} and {{Path|INSTALL}}. Many of them will already be installed on your system. | If you are building development versions, you'll require some more packages as listed on {{Path|etc/HACKING}} and {{Path|INSTALL}}. Many of them will already be installed on your system. | ||
* development tools | * development tools | ||
:<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre> | :<pre>autoconf automake bison flex gperf gzip libtool make perl rsync tar</pre> | ||
* | * extra ependencies for the development version | ||
: | : ''None at the moment'' | ||
[[Category:Building]] | [[Category:Building]] | ||
[[Category:Installation]] | [[Category:Installation]] | ||
[[Category:Debian]] | [[Category:Debian]] |