Contents
Dependencies of Scilab 5.X
Mandatory (or almost)
Building
By default, Scilab is compiled by using the compiler available on the system. The operational team is mainly testing Scilab with GNU compiler but Scilab can be compiled with Sun (cc or F77) or Intel (icc & ifc) compilers.
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse/Opensuse |
Fedora/Redhat |
gcc |
>= 4.0 |
C Compiler |
gcc |
gcc |
gcc |
gcc |
|
g++ |
>= 4.0 |
C++ Compiler |
g++ |
gcc-c++ |
gcc-c++ |
gcc-c++ |
|
gfortran |
>= 4.2.X or >= 4.3.3 |
Fortran Compiler |
http://gcc.gnu.org/fortran/ or http://www.gnu.org/software/fortran/fortran.html |
gfortran |
gcc-gfortran |
gcc-fortran |
gcc-gfortran |
Java is also needed (see the GUI/Console chapter).
The version 4.2 (at least) of gfortran is needed because of this bug. Versions 4.3.{0,1,2} contain that bug.
From version 2.9, clang can be also used to compile Scilab
Core
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse/Opensuse |
Fedora/Redhat |
Fink |
XML library |
>= 2 |
XML parsing |
libxml2-dev libxml2 |
libxml2-devel libxml2 |
libxml2-devel |
libxml2-devel |
libxml2-shlibs |
|
PCRE library |
>= 7.6 |
Regular Expression |
libpcre3 libpcre3-dev |
pcre-devel |
pcre-devel |
pcre-devel |
pcre-shlibs |
|
Readline library |
?? |
Basic console |
?? |
libreadline-dev |
readline-devel |
ncurses-devel |
ncurses-devel |
ncurses-shlibs |
HDF5 |
>= 1.8.X |
Hierarchical Data Format 5 (From Scilab 5.2) |
libhdf5-serial-dev libhdf5-serial-1.8.3 |
not available - compile from sources |
|
hdf5-devel |
hdf5 |
|
CURL |
>= 7 from Scilab 5.5.0 |
Remote file access |
libcurl3-openssl-dev or libcurl4-openssl-dev |
|
|
|
|
Version >= 7.6 of PCRE are recommended because previous versions accepted bad syntax like (?(1)a|b) and our tests are processing this case.
Numerical libraries
BLAS
BLAS (Basic Linear Algebra Subprograms) is an application programming interface (API). There are many implementations of this API. The operational team supports the generic one which has the same name (BLAS or refblas). The other supported BLAS implementation is Atlas, MKL or Openblas.
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse |
Fedora/Redhat |
refblas - netlib |
>= 1.2 |
Basic Linear Algebra Subroutines |
libblas3gf libblas-dev |
blas |
|
blas-devel |
|
OR atlas |
>= 3.8 |
Automatically Tuned Linear Algebra Software |
libatlas3gf-base libatlas-dev |
atlas |
|
atlas atlas-devel |
Please notice that Atlas 3.8.0 has a bug causing wrong answer for row-major GEMM C=A*A' or A'A (See bug 3624, bug 3640)
Atlas 3.8.2 has a bug causing a crash (See bug 3767, bug 3827)
Atlas 3.9.4 fixes all these problems (used on Windows).
Other implementations will be searched on the system (MKL lib, PhiPACK, CXML, Sun Performance library, SCSL, SGIMATH, IBM ESSL ...) but the operational team has not (and probably won't) tested them in depth.
Lapack
Like with Blas, the Lapack library will be searched on the system. If it is not available, the embedded lapack sources will be used.
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse |
Fedora/Redhat |
lapack |
>= 3.2.2 |
Library of Linear Algebra Routines |
liblapack3gf liblapack-dev |
lapack |
|
lapack-devel |
Lapack has various bugs in version prior to 3.2.2 (examples: 7754, 7485, 6477, etc).
arpack
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse |
Fedora/Redhat |
arpack/arpack-ng |
>= 3.0.0 |
Fortran77 subroutines to solve large scale eigenvalue problems |
libarpack2 libarpack2-dev |
libarpack |
|
arpack arpack-devel |
Please note that Scilab is using (and by the way maintaining) the fork of arpack called arpack-ng.
GUI/Console
Using the options :
- --without-javasci
- --without-gui
those packages are not mandatory and Scilab is usable using the parameter -nwni (light Scilab)
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse/Opensuse |
Fedora/Redhat |
Ant |
>= 1.7.0 |
Java Compilation |
ant |
ant |
ant |
ant |
|
Java |
>= 1.6.0 |
Java |
openjdk-6-jdk |
java-1.6.0-openjdk |
java-1_6_0-sun-devel java-1_6_0-sun |
java-1.6.0-openjdk |
|
Flexdock |
>= 0.5.1 |
Java docking system |
libflexdock-java |
flexdock |
|
flexdock |
|
JOGL |
>= 1.1.1-rc8 |
Java Open GL |
libjogl-java |
jogl |
|
jogl |
|
Scirenderer |
>= 0.4.4 |
Java 2D and 3D scientific rendering |
libscirenderer-java |
|
|
|
|
Jrosetta |
>= 1.0.1 |
Java Console |
libjrosetta-java |
jrosetta |
|
jrosetta |
|
commons-logging |
>= 1.0 |
Logging (dependency of Xcos) |
libcommons-logging-java |
jakarta-commons-logging |
|
apache-commons-logging |
|
Jhall |
>= 2.0 |
Java Help Extension |
http://java.sun.com/products/javahelp/ https://javahelp.dev.java.net/ |
javahelp2 |
javahelp2 |
|
javahelp2 |
JLaTeXMath |
>= 0.6 |
Java LaTeX processing (From Scilab 5.2) |
libjlatexmath-java |
|
|
jlatexmath jlatexmath-fop |
|
jgraphx |
>= 1.2.0.7 for Scilab 5.2.1 |
Graph drawing component (From Scilab 5.2.0). |
libjgraphx-java |
|
|
jgraphx |
|
fop |
>= 0.95 |
XML to PDF Translator |
fop |
fop |
|
fop |
|
jeuclid-core |
>= 3.1.X |
A complete MathML rendering solution |
libjeuclid-core-java |
jeuclid-core |
|
jeuclid |
|
batik |
>= 1.7 |
xml.apache.org SVG Library |
libbatik-java |
batik |
|
batik |
|
xmlgraphics-commons |
>= 1.3.X |
Reusable components used by Batik and FOP |
libxmlgraphics-commons-java |
xmlgraphics-commons |
|
xmlgraphics-commons |
fop, batik, xmlgraphics-commons and jeuclid-core are also needed for the documentation build process.
TCL/TK features
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse/Opensuse |
Fedora/Redhat |
TCL |
>= 8.4.0 |
TCL language |
tcl8.4 tcl8.4-dev |
tcl tcl-devel |
tcl tcl-devel |
tcl tcl-devel |
|
TK |
>= 8.4.0 |
TK features |
tk8.4 tk8.4-dev |
tk tk-devel |
tk tk-devel |
tk tk-devel |
|
xlibs |
?? |
Xlib header (mandatory for tk) |
|
xlibs-dev |
X11-devel |
xorg-x11-libX11-devel |
libX11-devel |
Modelica
Mandatory to build Scicos
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse/Opensuse |
Fedora/Redhat |
Fink |
ocaml |
>= 3.X.X |
Objective Caml Compiler |
ocaml-nox |
ocaml |
|
ocaml |
ocaml |
Documentation
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse |
Fedora/Redhat |
Java Help |
>= 2.0.X |
Help browser |
http://java.sun.com/products/javahelp/ https://javahelp.dev.java.net/ |
javahelp2 |
javahelp2 |
|
javahelp2 |
Documentation build
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Suse/Opensuse |
Fedora/Redhat |
Fink |
saxon |
?? |
The Saxon XSLT Processor |
libsaxon-java |
saxon |
|
saxon |
|
|
docbook |
?? |
Docbook |
docbook , docbook-xsl, docbook-utils, docbook-xml, docbook-dsssl |
?? |
|
?? |
|
The version 1.71.X of docbook-xsl is not working (at least under Mac OS X) with Scilab's doc build process.
Optional
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Opensuse/Suse |
Fedora/Redhat |
Fink |
Gettext |
>= 0.17 |
Localization |
gettext |
gettext |
|
gettext |
gettext |
|
PVM |
>= 3.4.X |
Parallel Virtual Machine |
pvm pvm-dev |
pvm pvm-devel |
pvm |
pvm |
|
|
libxml2 utils |
?? |
Utils provided for XML syntax check |
libxml2utils or libxml2-utils |
xml2-utils |
|
N/A (provided by libxml2) |
|
|
FFTW |
?? |
Fast Fourier Transform |
fftw3 fftw3-dev |
libfftw3 fftw-devel |
|
fftw-devel |
fftw3 |
|
MATIO |
1.3.3 |
Read/write Matlab binary files |
libmatio libmatio-dev |
libmatio0 |
|
matio-devel |
libmatio-shlibs |
|
umfpack |
3.1.0 |
Sparse computations |
libsuitesparse-dev libsuitesparse-3.1.0 or libumfpack on old |
libumfpack5 umfpack-devel |
|
suitesparse-devel |
suitesparse |
|
JHDF |
>= 2.5 |
Hierarchical Data Format 5 - Java API (For Scilab 5.2 and 5.3) |
libjhdf5-java |
not available - compile from sources |
|
|
|
Recompile Scilab from scratch
Name |
Version |
Provides |
Official URL |
Debian/Ubuntu |
Mandriva |
Opensuse/Suse |
Fedora/Redhat |
Swig |
>= 1.3.31 |
Wrapper Java => C/C++ |
swig |
swig |
|
swig |
|
Giws |
>= 1.2.1 |
Wrapper C/C++ => Java |
N/A |
|
|
|
|
autoconf |
>=2.67 |
Generates the famous ./configure |
autoconf |
autoconf |
|
autoconf |
|
automake |
>=1.11 |
Generates the Makefile.in |
automake |
automake |
|
automake |
|
libtool |
>= 2.2.6 |
Manages library creation |
libtool |
libtool |
|
libtool |