[scilab-Users] scilab 5.1.1 compilation under Solaris 10

Jonathan Blanchard BlanchardJ at ieee.org
Fri Aug 21 16:13:12 CEST 2009


On Fri, Aug 21, 2009 at 4:44 AM, Langella
Raphael<raphael.langella at steria.cnes.fr> wrote:
>> OK, thanks. I tried that, but now I get this :
>>
>> An error occurred when Scilab tried to open a Canvas:
>> glXGetConfig failed: error code GLX_NO_EXTENSION
>>
>> So I guess it doesn't work with a remote cygwin-xfree
>> display. I'll try tomorrow with Exceed. Also, any idea about
>> the "make install" error with the macros?
>>
>
> So, here is the error with Exceed:
>
> java.lang.reflect.InvocationTargetException
>        at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
>        at
> javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
>        at org.scilab.modules.gui.bridge.tab.SwingScilabTab.draw(Unknown
> Source)
>        at org.scilab.modules.gui.tab.ScilabTabBridge.draw(Unknown
> Source)
>        at org.scilab.modules.gui.bridge.ScilabBridge.draw(Unknown
> Source)
>        at org.scilab.modules.gui.tab.ScilabTab.draw(Unknown Source)
>        at
> org.scilab.modules.gui.graphicWindow.ScilabRendererProperties.forceDispl
> ay(Unknown Source)
>        at
> org.scilab.modules.renderer.figureDrawing.DrawableFigureGL.drawCanvas(Un
> known Source)
> Caused by: javax.media.opengl.GLException: Error making context current
>        at
> com.sun.opengl.impl.x11.X11GLContext.makeCurrentImpl(X11GLContext.java:1
> 41)
>        at
> com.sun.opengl.impl.x11.X11OffscreenGLContext.makeCurrentImpl(X11Offscre
> enGLContext.java:74)
>        at
> com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
>        at
> com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
>        at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:661)
>        at javax.swing.JComponent.paint(JComponent.java:1027)
>        at javax.swing.JComponent.paintChildren(JComponent.java:864)
>        at javax.swing.JComponent.paint(JComponent.java:1036)
>        at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
>        at
> org.scilab.modules.gui.bridge.tab.SwingScilabAxes.paint(Unknown Source)
>        at javax.swing.JComponent.paintChildren(JComponent.java:864)
>        at javax.swing.JComponent.paint(JComponent.java:1036)
>        at javax.swing.JViewport.paint(JViewport.java:747)
>        at javax.swing.JComponent.paintChildren(JComponent.java:864)
>        at javax.swing.JComponent.paint(JComponent.java:1036)
>        at javax.swing.JComponent.paintChildren(JComponent.java:864)
>        at
> org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintChildren(Unknown
> Source)
>        at javax.swing.JComponent.paint(JComponent.java:1036)
>        at javax.swing.JComponent.paintChildren(JComponent.java:864)
>        at javax.swing.JComponent.paint(JComponent.java:1036)
>        at
> org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPor
> t.java:1976)
>        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
>        at
> javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.
> java:277)
>        at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
>        at
> javax.swing.JComponent._paintImmediately(JComponent.java:5070)
>        at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
>        at
> org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintImmediately(Unknow
> n Source)
>        at
> org.scilab.modules.gui.bridge.tab.SwingScilabTab$1.run(Unknown Source)
>        at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
>        at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.
> java:269)
>        at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.jav
> a:184)
>        at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
> java:174)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
>        at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0xfb61d87c, pid=3490, tid=33
> #
> # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing
> solaris-sparc)
> # Problematic frame:
> # C  [libX11.so.4+0x1d87c]  XQueryExtension+0x4
> #
> # An error report file with more information is saved as:
> # /nfs/Produits/tmp/rla/Sol9/scilab-5.1.1-first_build/hs_err_pid3490.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #
> Abort - core dumped
>

Just like that it's hard to say what is the problem exactly. But it's
graphic related, X and all are pretty outdated on Sol9 and might not
work at all. May I ask why you need Scilab on Sol9 specifically?

As a last resort try updating java to the latest version if possible
and maybe building with libmesa, an updated version is available from
Blastwave I think.

Jonathan Blanchard



More information about the users mailing list