Updated hint
[linux_from_scratch_hints.git] / scilab.txt
blob050a188731b2eb105161c72acbc7f5ceeaec0a2e
1 AUTHOR: Daniel Baumann <daniel.baumann@panthera-systems.net>
3 DATE: 2004-09-19
5 LICENSE: GNU General Public License
7 SYNOPSIS: How to install Scilab on LFS.
9 PRIMARY URI: http://archive.daniel-baumann.ch/linux-from-scratch/hints/scilab/
11 DESCRIPTION:
12 How to install Scilab on your LFS-system.
14 PREREQUISITES:
15 A complete LFS-system with an X Window System, g77, Tcl, Tk and Xaw3d (instructions included in the hint).
17 HINT:
18 --------------------------------------------------------------------------------
20 Scilab 3.0
21 ==========
24 1. Introduction to Scilab
25 =========================
27 Scilab is a numerical computation system similiar to Matlab or Simulink. Scilab
28 includes hundreds of mathematical functions, and programs from various languages
29 (such as C or Fortran) can be added interactively. It has sophisticated data
30 structures (including lists, polynomials, rational functions, and linear
31 systems), an interpreter, and a high-level programming language. Scilab has been
32 designed to be an open system where the user can define new data types and
33 operations on these data types by using overloading. A number of toolboxes are
34 available with the system.
37 1.1. Package information
38 ========================
40   * Download (HTTP): http://scilabsoft.inria.fr/download/stable/scilab-3.0.src.tar.gz
42   * Download (FTP): ftp://ftp.inria.fr/INRIA/Scilab/distributions/scilab-3.0.src.tar.gz
44   * Download size: 11 MB
46   * MD5 Sum: d6fc5fe12519f99ccdd492c4ba96935a
48   * Estimated Disk space required: 145 MB
50   * Estimated build time: 2.3 SBU
53 1.2. Scilab depencies
54 =====================
56 Required:
58   * X Window System (see BLFS for instructions)
60   * g77 (see BLFS for instructions)
62   * Tcl (see BLFS for instructions)
64   * Tk (see BLFS for instructions)
66   * Xaw3d
68     Download (FTP): ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-1.5E.tar.gz
70     Install Xaw3d by running the following commands:
72    __________________________________________________________________________
73   |                                                                          |
74   |  cd xc/lib/Xaw3d                                                         |
75   |  mkdir X11; cd X11; ln -fs .. Xaw3d; cd ..                               |
76   |  sed -i -e 's/XCOMM EXTRA_INCLUDES = -I\./EXTRA_INCLUDES = -I\./' \      |
77   |     > Imakefile                                                          |
78   |  xmkmf; make depend; make; make install                                  |
79   |__________________________________________________________________________|
82 2. Installation of Scilab
83 =========================
85 Install Scilab by running the following commands:
87    __________________________________________________________________________
88   |                                                                          |
89   |  ./configure --prefix=/usr --with-gnu &&                                 |
90   |  make all &&                                                             |
91   |  make install                                                            |
92   |__________________________________________________________________________|
94 To test the result, issue: cd tests && make tests.
97 3. Configuring Scilab
98 =====================
101 3.1 Config files
102 ================
104 ~/.scilab_settings
107 4. Contents
108 ===========
110 The Scilab package contains intersci, intersci-n, scilab.
113 5. Description
114 ==============
116   * scilab
118     scilab is the Scilab program.
120 --------------------------------------------------------------------------------
122 CHANGELOG:
123 [2004-09-19]
124   * Formal changes.
125 [2004-07-17]
126   * Initial revision.