Package Details: scilab 6.0.1-4

Git Clone URL: (read-only)
Package Base: scilab
Description: A scientific software package for numerical computations.
Upstream URL:
Licenses: GPL2, BSD, custom:CeCILL
Submitter: td123
Maintainer: eolianoe
Last Packager: eolianoe
Votes: 69
Popularity: 0.540936
First Submitted: 2011-12-07 20:36
Last Updated: 2018-05-16 22:07

Dependencies (36)

Sources (11)

Pinned Comments

eolianoe commented on 2017-05-03 12:22

In order order to update (and/or build), you may need to uninstall scilab then build it and finally reinstall it to avoid conflicts between the two versions.

For now, scilab fails to run when launched from outside a terminal.

Latest Comments

petronny commented on 2018-05-17 16:24

Can't build with java-enviroment>8. First, I get configure: error: Cannot find javah And I can fix it by export JAVAH=/usr/bin/javah. And then, I get some gramma errors.

Changing java-runtime>=8 and java-enviroment>=8 to java-runtime=8 and java-enviroment=8 works fine.

eolianoe commented on 2018-05-16 22:08

all issues should be fixed in 6.0.1-4, the change will also be made in the scilab-git package by the end of the week. Thanks again @goglecm for the clues

eolianoe commented on 2018-05-14 18:21

@goglecm: many thanks for your hard work!! I'll merge your change in the current PKGBUILD and in the scilab-git package trying to follow the current steps.

goglecm commented on 2018-05-13 23:56

This may not be the most professional solution but I've managed to successfully build it from source after around 6h. Bear in mind there are quite a few steps here.

(1) * install the ocaml-num and svn packages

(2) mkdir ~/scilab

(3) cd scilab

  • here is where you'll build everything. If you change the location of this folder everything will stop working as scilab uses absolute paths for some weird reason

(4) git clone -b master --depth=1 scilab_master

(5) cd scilab_master/scilab/

(6) svn --force checkout .

(7) ./configure

(8) cp /usr/lib/ocaml/num/num* ./modules/scicos/src/

  • this will make sure the* files are compiled correctly

(9) ln -s /usr/lib/ocaml/num/libnums.a /usr/lib/libnums.a

  • this will make the linker happy when the scicos module compiles

(10) go in file ./modules/scicos/src/modelica_compiler/ and add the following line

let sss = Bytes.make 16 '0' in

after line 165, which is (let s = String.make 16 '0' in)

also modify the line that follows from (String.blit sm 2 s 0 (String.length sm - 2);) to (String.blit sm 2 sss 0 (String.length sm - 2);)

ignore the round brackets

(11) make

  • it took about 1.5-2h on my 8 core cpu

(12) DO NOT sudo make install. Scilab will start complaining about its libraries. No not attempt to fix it as you'll break your system.

(13) To start scilab make sure you are in the ~/scilab/scilab_master/scilab/ directory. From here use ./bin/scilab or ./bin/scilab-adv-cli or ./bin/scilab-cli

(14) Use the templates from ./desktop to create shortcuts

I might have missed a step or two as it took me quite a bit of trial and error to work around the issues, so if you encounter any issues please let me know.

jfcandidofilho commented on 2018-04-18 19:17

@amenji solution not working for me.

Filipq commented on 2018-04-09 18:51

It is not compiling even with ocaml-num installed. I get this: ocamlc -I ./src/modelica_compiler -I ./src/xml2modelica -c src/modelica_compiler/symbolicExpression.mli File "src/modelica_compiler/symbolicExpression.mli", line 27, characters 5-8: Error: Unbound module Num make[3]: [Makefile:3781: src/modelica_compiler/symbolicExpression.cmi] Błąd 2 make[3]: Opuszczenie katalogu '/usr/local/src/scilabgit/scilab_master/scilab/modules/scicos' make[2]: [Makefile:3808: modelicac] Błąd 2 make[2]: Opuszczenie katalogu '/usr/local/src/scilabgit/scilab_master/scilab/modules/scicos' make[1]: [Makefile:839: all-recursive] Błąd 1 make[1]: Opuszczenie katalogu '/usr/local/src/scilabgit/scilab_master/scilab/modules' make: [Makefile:1588: all-recursive] Błąd 1

amenji commented on 2018-04-05 02:28

@reuseman: Just symlink the from /usr/lib/scilab to /usr/share/scilab/modules/.libs/ Do the same for other missing libraries.

reuseman commented on 2018-03-17 09:50

I get this one:

An error has been detected while loading /usr/share/scilab//modules/functions/.libs/ /usr/share/scilab//modules/functions/.libs/ cannot open shared object file: No such file or directory

eleftg commented on 2018-03-02 11:36

ocaml-num exists and it could probably help overcoming the compilation issues with ocaml 4.06.0

Xwang commented on 2018-02-15 20:07

It does not compile: File "src/modelica_compiler/symbolicExpression.mli", line 27, characters 5-8: Error: Unbound module Num make[3]: *** [Makefile:3769: src/modelica_compiler/symbolicExpression.cmi] Error 2 rm src/modelica_compiler/parser.mli src/modelica_compiler/linenum.mli src/modelica_compiler/lexer.mli

All comments