Bug 149659 - math/scilab crashing when run demos
Summary: math/scilab crashing when run demos
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 04:40 UTC by Otacílio de Araújo Ramos Neto
Modified: 2010-09-04 13:40 UTC (History)
0 users

See Also:


Attachments
file.txt (1019 bytes, text/plain)
2010-08-15 04:40 UTC, Otacílio de Araújo Ramos Neto
no flags Details
scilab-jogl-path.diff (2.00 KB, patch)
2010-08-19 07:25 UTC, Robert Farmer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Otacílio de Araújo Ramos Neto 2010-08-15 04:40:01 UTC
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.

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:
How-To-Repeat: try execute the Scilabs demos-> Graphics the program crash
Comment 1 Robert Farmer 2010-08-19 07:25:41 UTC
Thanks for fixing this issue. I've tweaked the solution slightly to
not hardcode /usr/local.

If gnats doesn't like my attachment, patch is at:
http://www.predatorlabs.net/dl/patches/scilab-jogl-path.diff

-- 
Rob Farmer
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2010-09-03 19:42:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-09-04 13:32:04 UTC
makc        2010-09-04 12:31:51 UTC

  FreeBSD ports repository

  Modified files:
    math/scilab          Makefile distinfo pkg-plist 
  Added files:
    math/scilab/files    patch-etc-librarypath.xml 
  Log:
  Use old version of jgraphx to fix build
  Fix crash when running demos [1]
  
  PR:             ports/149659 [1]
  Submitted by:   Otacílio de Araújo Ramos Neto <otacilio.neto at ee.ufcg.edu.br> [1], maintainer
  Approved by:    Rob Farmer (maintainer)
  
  Revision  Changes    Path
  1.70      +18 -5     ports/math/scilab/Makefile
  1.18      +3 -0      ports/math/scilab/distinfo
  1.1       +21 -0     ports/math/scilab/files/patch-etc-librarypath.xml (new)
  1.20      +1 -0      ports/math/scilab/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2010-09-04 13:32:23 UTC
State Changed
From-To: open->closed

Committed. Thanks!