Package Details: scilab 2024.0.0-1

Git Clone URL: https://aur.archlinux.org/scilab.git (read-only, click to copy)
Package Base: scilab
Description: A scientific software package for numerical computations
Upstream URL: https://www.scilab.org
Keywords: algorithm analysis data development gui mathematics model modelica numeric numerical science scientific sdk simulation visualization
Licenses: BSD-3-Clause, GPL-2.0-or-later, CeCILL-2.1
Submitter: td123
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 85
Popularity: 0.000295
First Submitted: 2011-12-07 20:36 (UTC)
Last Updated: 2024-04-02 23:25 (UTC)

Pinned Comments

carlosal1015 commented on 2024-04-02 23:27 (UTC)

Hi folks, now there are some issues with HDF5 latest API, let's await for a patch. We recommend use scilab-bin until this issue will be fixed.

https://gitlab.com/scilab/scilab/-/issues/17230

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 29 Next › Last »

eolianoe commented on 2018-05-14 18:21 (UTC)

@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 (UTC) (edited on 2018-05-13 23:58 (UTC) by goglecm)

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 https://github.com/scilab/scilab.git scilab_master

(5) cd scilab_master/scilab/

(6) svn --force checkout https://github.com/scilab/scilab-prerequirements.git/trunk/linux_x64/ .

(7) ./configure

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

  • this will make sure the symbolicExpression.ml* 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/optimisation.ml 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 (UTC)

@amenji solution not working for me.

Filipq commented on 2018-04-09 18:51 (UTC)

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 (UTC)

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

reuseman commented on 2018-03-17 09:50 (UTC)

I get this one:

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

eleftg commented on 2018-03-02 11:36 (UTC)

https://www.archlinux.org/packages/community/x86_64/ocaml-num/

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 (UTC)

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