Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 03:34:51 GMT
From:      Otacílio de Araújo Ramos Neto <otacilio.neto@ee.ufcg.edu.br>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149659: Scilab crashing when run demos
Message-ID:  <201008150334.o7F3YpbK001601@www.freebsd.org>
Resent-Message-ID: <201008150341.o7F3f7eK045326@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         149659
>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:40: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@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:
try execute the Scilabs demos-> Graphics the program crash
>Fix:
I have added this two lines to /usr/local/share/scilab/etc/librarypath.xm

<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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008150334.o7F3YpbK001601>