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

Sylvestre Ledru sylvestre at debian.org
Fri Sep 11 14:40:40 UTC 2015


Jogl has to be updated too. I think there is a familiar patch for another arch. 

Le 11 septembre 2015 15:45:19 GMT+02:00, Erwan Prioul <erwan at linux.vnet.ibm.com> a écrit :
>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.
>
>-- 
>debian-science-maintainers mailing list
>debian-science-maintainers at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

-- 
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150911/e51ff3ea/attachment.html>


More information about the debian-science-maintainers mailing list