I had some problems while triyng to plot.
They were solved by:
1) Appending the lines written by MatejSpindler's option 1 to the package() function
2) Running scilab with `LIBGL_ALWAYS_SOFTWARE=1 scilab'
Search Criteria
Package Details: scilab 2024.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: | 85 |
Popularity: | 0.000289 |
First Submitted: | 2011-12-07 20:36 (UTC) |
Last Updated: | 2024-04-02 23:25 (UTC) |
Dependencies (16)
- arpack (arpack-gitAUR)
- bwidgetAUR
- eigen (eigen-gitAUR)
- fftw (fftw-amdAUR)
- hdf5-openmpi
- libmatio (libmatio-gitAUR)
- suitesparse
- ant (ant-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR) (make)
- gcc-fortran (gccrs-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-gitAUR, 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 .. 20 21 22 23 24 25 26 27 28 29 Next › Last »
iurirs commented on 2013-07-26 20:45 (UTC)
nervencid commented on 2013-06-02 18:57 (UTC)
I got this error when try to install:
Problem when exporting Xcos schema /tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/xcos/help/en_US/solvers/../../../demos/Controller.xcos !
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.scilab.modules.helptools.image.XcosImageConverter.convertToPNG(Unknown Source)
at org.scilab.modules.helptools.image.XcosImageConverter.convertToImage(Unknown Source)
at org.scilab.modules.helptools.image.ImageConverter.getImageByFile(Unknown Source)
at org.scilab.modules.helptools.HTMLDocbookTagConverter.handleImagedata(Unknown Source)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.scilab.modules.helptools.DocbookTagConverter.handleDocbookTag(Unknown Source)
at org.scilab.modules.helptools.DocbookTagConverter.endElement(Unknown Source)
at com.icl.saxon.aelfred.SAXDriver.endElement(SAXDriver.java:792)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1042)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
at com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510)
at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163)
at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:328)
at org.scilab.modules.helptools.DocbookTagConverter.convert(Unknown Source)
at org.scilab.modules.helptools.SciDocMain.process(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.scilab.modules.xcos.Xcos
at org.scilab.modules.xcos.graph.XcosDiagram.installStylesheet(Unknown Source)
at org.scilab.modules.xcos.graph.XcosDiagram.<init>(Unknown Source)
at org.scilab.modules.xcos.utils.XcosDelegates.convertToPNG(Unknown Source)
... 39 more
Problem when exporting Xcos schema /tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/xcos/help/en_US/solvers/../../../demos/Kalman.xcos !
java.lang.reflect.InvocationTargetException
Warning: the macro loadmatfile is used in an example and is undocumented (load.xml).
Warning (should be fixed): invalid internal link to loadmatfile in file:/tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/m2sci/help/en_US/matfile2sci.xml
at line 53
Total files without example: 704
Total generated html files: 2618
An error occurred during the conversion:
java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
at java.util.Arrays.asList(Arrays.java:2828)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findThemeSubdir(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.lookupIcon(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIconHelper(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIconHelper(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIconHelper(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIcon(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIcon(Unknown Source)
at org.scilab.modules.helptools.SciDocMain.process(Unknown Source)
xmltoformat: /tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/helptools/javaHelp/scilab_en_US_help/
scilab_en_US_help.jar has not been generated.
make: *** [doc] Error 1
MatejSpindler commented on 2013-05-30 06:48 (UTC)
There are 2 options:
option 1:
library libgluegen2-rt.so is located in prerequirements-scilab-4.5.1-x86_64-src.tar.gz. So I added these lines to the end of package function in PKGBUILD.
cd $srcdir/${pkgname}-${pkgver}/bin
install -Dm644 libgluegen2-rt.so $pkgdir/usr/lib/scilab/libgluegen2-rt.so
install -Dm644 libjogl_cg.so $pkgdir/usr/lib/scilab/libjogl_cg.so
install -Dm644 libjogl_desktop.so $pkgdir/usr/lib/scilab/libjogl_desktop.so
install -Dm644 libnativewindow_awt.so $pkgdir/usr/lib/scilab/libnativewindow_awt.so
install -Dm644 libnativewindow_x11.so $pkgdir/usr/lib/scilab/libnativewindow_x11.so
install -Dm644 libnewt.so $pkgdir/usr/lib/scilab/libnewt.so
option 2:
jogl from AUR. Last time I checked scilab crashes with this library and I don't know if it installes libraries in a folder where scilab looks for. Probably we would need to edit paths in librarypath.xml.
haawda commented on 2013-05-29 19:37 (UTC)
MatejSpindler, how did you install that file?
MatejSpindler commented on 2013-05-29 14:04 (UTC)
@taotedice
I had similar problems. My problem was I didn't have libgluegen2-rt.so and it's dependencies installed.
taotedice commented on 2013-05-29 10:04 (UTC)
Thanks for the update. The package seems to compile witout error on my machine.
Scinotes, Help and Xcos are functional, while Demonstrations and ATOMS module manager are not.
The Scilab-5.4.1 binary package (downloaded from the Scilab web site) has complete functionality (all modules work) on my machine.
nervencid commented on 2013-05-28 00:12 (UTC)
Igot this error when compiling:
Problem when exporting Xcos schema /tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/xcos/help/en_US/solvers/../../../demos/Kalman.xcos !
java.lang.reflect.InvocationTargetException
Warning: the macro loadmatfile is used in an example and is undocumented (load.xml).
Warning (should be fixed): invalid internal link to loadmatfile in file:/tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/m2sci/help/en_US/matfile2sci.xml
at line 53
Total files without example: 704
Total generated html files: 2618
An error occurred during the conversion:
java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
at java.util.Arrays.asList(Arrays.java:2828)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findThemeSubdir(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.lookupIcon(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIconHelper(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIconHelper(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIconHelper(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIcon(Unknown Source)
at org.scilab.modules.gui.utils.ScilabSwingUtilities.findIcon(Unknown Source)
at org.scilab.modules.helptools.SciDocMain.process(Unknown Source)
xmltoformat: /tmp/yaourt-tmp-diegonimus/aur-scilab/src/scilab-5.4.1/modules/he
lptools/javaHelp/scilab_en_US_help/scilab_en_US_help.jar has not been gen
erated.
make: *** [doc] Error 1
taotedice commented on 2013-05-15 10:18 (UTC)
Correction: the graphics-type demonstrations will not run.
Example =>
-->exec('/usr/share/scilab/modules/graphics/demos/bezier/bezier3dtest.sce', -1)
!--error 4
Undefined variable: bezier3d
at line 6 of function bezier3dtest called by :
bezier3dtest();
at line 20 of exec file called by :
exec('/usr/share/scilab/modules/graphics/demos/bezier/bezier3dtest.sce', -1)
taotedice commented on 2013-05-15 10:07 (UTC)
The current version 5.4.1-4 builds and runs. The 'Scilab Demonstrations' button, accessible from the toolbar (gear icon) does not launch the demonstration gui. However, the demonstrations do run, when located individually.
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