ports/149660: Scilab crashing when run demos
Otacílio de Araújo Ramos Neto
otacilio.neto at ee.ufcg.edu.br
Sun Aug 15 03:53:19 UTC 2010
>Number: 149660
>Category: ports
>Synopsis: Scilab crashing when run demos
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 15 03:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Otacílio de Araújo Ramos Neto
>Release: FreeBSD 8.0-RELEASE i386
>Organization:
>Environment:
FreeBSD squitch 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Sun Aug 8 10:53:01 BRT 2010 ota at squitch:/usr/obj/usr/src/sys/SQUITCH i386
>Description:
I have compiled the port of Scilab in FreeBSD, and when I start te software it run ok. the problem occurs when I try execute the Scilabs demos-> Graphics the program crash.
Then terminal shows a java exception about jogl.
>How-To-Repeat:
execute the Scilabs demos-> Graphics the program crash
>Fix:
I have added this two lines to /usr/local/share/scilab/etc/librarypath.xml
<path value="/usr/local/share/java/classes/"/>
<path value="/usr/local/lib/"/>
Patch attached with submission follows:
===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/math/scilab.old/files/patch-etc-librarypath.xml /usr/ports/math/scilab/files/patch-etc-librarypath.xml
--- /usr/ports/math/scilab.old/files/patch-etc-librarypath.xml 1969-12-31 21:00:00.000000000 -0300
+++ /usr/ports/math/scilab/files/patch-etc-librarypath.xml 2010-08-15 00:00:58.000000000 -0300
@@ -0,0 +1,11 @@
+--- etc/librarypath.xml.orig 2010-04-20 06:59:27.000000000 -0300
++++ etc/librarypath.xml 2010-08-14 23:40:51.000000000 -0300
+@@ -41,4 +41,8 @@
+ <!-- Standard path for 64 bits -->
+ <path value="/usr/lib64/scilab/"/>
+
++<path value="/usr/local/share/java/classes/"/>
++
++<path value="/usr/local/lib/"/>
++
+ </librarypaths>
diff -ruN --exclude=CVS /usr/ports/math/scilab.old/patch.txt /usr/ports/math/scilab/patch.txt
--- /usr/ports/math/scilab.old/patch.txt 1969-12-31 21:00:00.000000000 -0300
+++ /usr/ports/math/scilab/patch.txt 2010-08-15 00:34:03.000000000 -0300
@@ -0,0 +1 @@
+===> Generating patch
===> Done
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list