Bug#798652: scilab: scilab doesn't work on ppc64el: could not find the Java configuration for the model <>

Erwan Prioul erwan at linux.vnet.ibm.com
Fri Sep 11 13:45:19 UTC 2015


Package: scilab
Version: 5.5.2-1
Severity: normal

While scilab is available on ppc64el, it doesn't actually work:
> $ /usr/bin/scilab
> Could not find the Java configuration for the model <ppc64le>. Please contact us on http://bugzilla.scilab.org
> /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory

I apply this patch to get rid of the error:
> --- scilab-5.5.2.orig/bin/scilab
> +++ scilab-5.5.2/bin/scilab
> @@ -528,7 +528,7 @@
>                          "ppc"|"powerpc")
>                              proc="ppc"
>                              ;;
> -                        "ppc64"|"ppc64el")
> +                        "ppc64"|"ppc64el"|"ppc64le")
>                              proc="ppc64"
>                              ;;
>                          "s390")

Unfortunately, we then get another error:
> $ /usr/bin/scilab
> Could not create a Scilab main class. Error:
> Exception in thread "main" java.lang.ExceptionInInitializerError
> 	at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120)
> 	at org.scilab.modules.gui.SwingView.<init>(Unknown Source)
> 	at org.scilab.modules.gui.SwingView.registerSwingView(Unknown Source)
> 	at org.scilab.modules.core.Scilab.<init>(Unknown Source)
> Caused by: java.lang.RuntimeException: Please port CPU detection to your platform (linux/ppc64)
> 	at jogamp.common.os.PlatformPropsImpl.getCPUTypeImpl(PlatformPropsImpl.java:304)
> 	at jogamp.common.os.PlatformPropsImpl.<clinit>(PlatformPropsImpl.java:134)
> 	... 4 more
> 
> Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).

Thanks,
Erwan.



More information about the debian-science-maintainers mailing list