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
Search Criteria
Package Details: scilab 2025.0.0-1
Package Actions
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: | 86 |
Popularity: | 0.017081 |
First Submitted: | 2011-12-07 20:36 (UTC) |
Last Updated: | 2024-10-26 02:56 (UTC) |
Dependencies (16)
- arpack (arpack-gitAUR)
- bwidgetAUR
- eigen (eigen-gitAUR)
- fftw
- hdf5-openmpi
- libmatio (libmatio-gitAUR)
- suitesparse
- ant (ant-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- ocaml-num (make)
- pcre (make)
- pkgconf (pkgconf-gitAUR) (make)
- time (time-gitAUR) (make)
- tk (tk-fossilAUR) (make)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 29 Next › Last »
eolianoe commented on 2018-05-16 22:08 (UTC)
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
Pinned Comments
carlosal1015 commented on 2024-11-17 18:01 (UTC)
Open issue https://gitlab.com/scilab/scilab/-/issues/16429