We need a package called jgraphx-jre8
at version 3.7.4
.
@TheGoliath Could you add it to AUR?
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.000295 |
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) (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 .. 29 Next › Last »
petronny commented on 2020-05-15 06:20 (UTC)
petronny commented on 2020-05-15 06:18 (UTC)
@Xwang
The build process is searching for javah
.
It's only provided in jdk8 and removed in jdk10.
Xwang commented on 2020-05-13 22:29 (UTC)
I've compiled the jgraphx package and now I have the following error:
checking lucene-core... no configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage) ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... :: Unable to build scilab - makepkg exited with code: 4
issue_no1 commented on 2020-05-13 20:15 (UTC)
@Xwang: you need to install java 8 and/or enable the java version. learn more: https://wiki.archlinux.org/index.php/Java#Switching_between_JVM
for build of jgraphx 3.7.4
on manjaro I adjusted simply the pkgver
and the value of sha256sums
in the build script:
pkgname=jgraphx
pkgver=3.7.4
pkgrel=1
pkgdesc="Open source graph drawing component."
arch=('any')
url="https://github.com/jgraph/jgraphx"
license=('BSD')
depends=('java-runtime')
source=( "${pkgname}-v${pkgver}.tar.gz::https://github.com/jgraph/jgraphx/archive/v${pkgver}.tar.gz"
)
sha256sums=('e73f5ee1d8a380992206fa9fe19279c6ceff4c31172b188d268203888e65dfc3')
package() {
cd "${srcdir}/jgraphx-${pkgver}"
install -Dm644 "license.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
install -Dm644 "lib/jgraphx.jar" \
"${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
}
# vim:set ts=2 sw=2 et:
that compiled without problems
@bartus Thank you very much for this advice! jgraphx is now accepted by scilab build script.
But unfortunately it failed again to build scilab 6.1.0-2
.
Cause I assume the code is correct I don't know where to look at, again.
Here is a snippet, may someone knows more than me (thank you in advance!):
[...]
Making all in functions_manager
make[2]: Entering directory '/var/tmp/pamac-build-mes/scilab/src/scilab-6.1.0/modules/functions_manager'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-funcmanager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-funcmanager.Tpo -c -o src/cpp/libscifunctions_manager_la-funcmanager.lo `test -f 'src/cpp/funcmanager.cpp' || echo './'`src/cpp/funcmanager.cpp
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-dynamic_modules.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-dynamic_modules.Tpo -c -o src/cpp/libscifunctions_manager_la-dynamic_modules.lo `test -f 'src/cpp/dynamic_modules.cpp' || echo './'`src/cpp/dynamic_modules.cpp
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-functions_manager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-functions_manager.Tpo -c -o src/cpp/libscifunctions_manager_la-functions_manager.lo `test -f 'src/cpp/functions_manager.cpp' || echo './'`src/cpp/functions_manager.cpp
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-functions_manager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-functions_manager.Tpo -c src/cpp/functions_manager.cpp -fPIC -DPIC -o src/cpp/.libs/libscifunctions_manager_la-functions_manager.o
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-funcmanager.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-funcmanager.Tpo -c src/cpp/funcmanager.cpp -fPIC -DPIC -o src/cpp/.libs/libscifunctions_manager_la-funcmanager.o
libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I../../modules/ast/includes/ast/ -I../../modules/ast/includes/exps/ -I../../modules/ast/includes/operations/ -I../../modules/ast/includes/parse/ -I../../modules/ast/includes/symbol/ -I../../modules/ast/includes/system_env/ -I../../modules/ast/includes/types/ -I../../modules/ast/includes/analysis/ -I../../modules/dynamic_link/includes -I../../modules/api_scilab/includes/ -I../../modules/console/includes/ -I../../modules/core/includes/ -I../../modules/elementary_functions/includes/ -I../../modules/fileio/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -I../../modules/signal_processing/includes/ -I../../modules/string/includes/ -I../../modules/threads/includes/ -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DNDEBUG -g1 -O2 -fno-stack-protector -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT src/cpp/libscifunctions_manager_la-dynamic_modules.lo -MD -MP -MF src/cpp/.deps/libscifunctions_manager_la-dynamic_modules.Tpo -c src/cpp/dynamic_modules.cpp -fPIC -DPIC -o src/cpp/.libs/libscifunctions_manager_la-dynamic_modules.o
mv -f src/cpp/.deps/libscifunctions_manager_la-functions_manager.Tpo src/cpp/.deps/libscifunctions_manager_la-functions_manager.Plo
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/xmlerror.h:10,
from /usr/include/libxml2/libxml/xpath.h:26,
from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
67 | template<typename T>
| ^~~~~~~~
src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started here
21 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/xmlerror.h:10,
from /usr/include/libxml2/libxml/xpath.h:26,
from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/localpointer.h:190:1: error: template with C linkage
190 | template<typename T>
| ^~~~~~~~
src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started here
21 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/xmlerror.h:10,
from /usr/include/libxml2/libxml/xpath.h:26,
from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/localpointer.h:365:1: error: template with C linkage
365 | template<typename T>
| ^~~~~~~~
src/cpp/dynamic_modules.cpp:21:1: note: ‘extern "C"’ linkage started here
21 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/include/libxml2/libxml/xmlerror.h:10,
from /usr/include/libxml2/libxml/xpath.h:26,
from src/cpp/dynamic_modules.cpp:27:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function ‘void icu_67::swap(icu_67::LocalUConverterPointer&, icu_67::LocalUConverterPointer&)’
585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void icu_67::swap(icu_67::LocalUEnumerationPointer&, icu_67::LocalUEnumerationPointer&)’
68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: src/cpp/libscifunctions_manager_la-dynamic_modules.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f src/cpp/.deps/libscifunctions_manager_la-funcmanager.Tpo src/cpp/.deps/libscifunctions_manager_la-funcmanager.Plo
make[2]: Leaving directory '/var/tmp/pamac-build-mes/scilab/src/scilab-6.1.0/modules/functions_manager'
make[1]: *** [Makefile:844: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-mes/scilab/src/scilab-6.1.0/modules'
make: *** [Makefile:1608: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Xwang commented on 2020-05-12 16:30 (UTC)
@bartus what must be done to build jgraphx against jre=8 ?
bartus commented on 2020-05-11 15:48 (UTC) (edited on 2020-05-11 16:12 (UTC) by bartus)
@issue_no1: you have to build jgraphx
against jre=8
. Otherwise you get this error while running ./configure
:
/usr/lib/jvm/java-8-openjdk/bin/java conftestSharedChecker "jgraphx" "com.mxgraph.view.mxGraph" "/usr/share/java/jgraphx/jgraphx.jar:." "VERSION" "2.0.0.1" ""
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/mxgraph/view/mxGraph has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Last official jgraph
build whih jre8
support was 3.7.4
.
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