Package Details: scilab 6.0.1-4

Git Clone URL: https://aur.archlinux.org/scilab.git (read-only)
Package Base: scilab
Description: A scientific software package for numerical computations.
Upstream URL: https://www.scilab.org
Licenses: GPL2, BSD, custom:CeCILL
Submitter: td123
Maintainer: eolianoe
Last Packager: eolianoe
Votes: 69
Popularity: 0.172460
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

Potomac commented on 2018-06-27 01:53

scilab 6 has a bug related to jogl jar library, if mesa version is >= 17.2 then scilab will be unable to use graphic hardware acceleration, no graph plotting,

http://forum.jogamp.org/Mesa-17-2-0-renderer-driver-name-change-error-causes-GLProfile-not-mapped-initialization-error-td4038176.html

in the console we can read these error logs : javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0 at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:317) at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:625) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:539) at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:293) ... 2 more

the solution is to build scilab with a beta version of jogl (2.3.3), or to disable gpu hardware acceleration :

export LIBGL_ALWAYS_SOFTWARE=1

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 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

@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 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

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

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

All comments