Build Scilab-5.2.0 :: starting in graphic mode
Vergnes Nicolas
nicolas.vergnes at steria.cnes.fr
Wed Dec 23 17:43:47 CET 2009
Hi
I use scilab on a linux server x86_64 with RHE4 64b and using it in
remote session on my Windows Desktop with puttyssh+cygwin Xorg server .
- With the precompiled scilab-5.2.0 32bits I can now mix uicontrols and
plot() with the alert message, but it works. With scilab-5.1.1 it
wasn't.
- The precompiled scilab-5.2.0 64bits dont working, when I launch scilab
on my shell nothing appends , no msg, no exit , nothing.
- I'm trying to build scilab 64b from sources and I have the same
comportment than precompiled scilab-5.2.0 64bits.
My environnement :
I build scilab and all dependancies in the $SCI520 directory except for
atlas.
Non standard location for gcc 4.3 , jdk 1.5 , ant 1.7 and antlr, the
environment is correctly configured for them.
I build all dependancies in the $SCI520 directory except atlas, in order
: pcre-8.00, tcl 8.5.8, tk 8.5.8, matio-1.3.3, hdf5-1.6.10,
hdf-java-2.5, ocaml-3.11.1, fftw-3.2.2, atlas-3.9.20, lapack-3.2.1
And for scilab-5.2.0 :
I decompress scilab-5.2.0 sources and prerequirements-x86_64 archives
And I remove the <src_scilab>/bin/libjhdf5.so
I modify 2 files ( see "Build Scilab-5.2.0 :: Conflict with 2 includes"
)
$... configure .... && make -j3 & make install
After make install I move "thirdparty" directory in
$SCI520/share/scilab/
And I copy <scilab_src>/bin/ libgluegen-rt.so libjogl.so
libjogl_awt.so libjogl_cg.so on a directory in LD_LIBRARY_PATH.
I think I need to build libgluegen-rt.so libjogl.so libjogl_awt.so and
libjogl_cg.so to see if scilab starts better..
$ ldd on them :
libjawt.so => not found
libCg.so => not found
libCgGL.so => not found
I dont know these libraries and they are not in the system.
antlr is in classpath but not identified ( because the filename is
ant-antlr.jar ? )
$ make check is actually running and is ok until now except for atoms (
behind proxy )
$SCI520/bin/scilab -nogui works
$SCI520/bin/scilab does nothing
If I CTRL+C few seconds after the launching : no message
If I CTRL+C after some minutes there is always this message :
Could not create a Scilab main class. Error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at
org.flexdock.docking.props.RootDockablePropertySet.<clinit>(RootDockable
PropertySet.java:17)
at
org.flexdock.docking.props.ScopedDockablePropertySet.<clinit>(ScopedDock
ablePropertySet.java:18)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.flexdock.docking.props.PropertyManager.class$(PropertyManager.java:2
8)
at
org.flexdock.docking.props.PropertyManager.<clinit>(PropertyManager.java
:32)
at
org.flexdock.docking.defaults.DefaultDockingPort.getDockingProperties(De
faultDockingPort.java:1851)
at
org.flexdock.docking.defaults.DefaultDockingPort.<init>(DefaultDockingPo
rt.java:306)
at
org.flexdock.docking.defaults.DefaultDockingPort.<init>(DefaultDockingPo
rt.java:287)
at
org.scilab.modules.gui.bridge.window.SwingScilabWindow.<init>(Unknown
Source)
at
org.scilab.modules.gui.window.ScilabWindowBridge.createWindow(Unknown
Source)
at
org.scilab.modules.gui.bridge.ScilabBridge.createWindow(Unknown Source)
at org.scilab.modules.gui.window.ScilabWindow.<init>(Unknown
Source)
at
org.scilab.modules.gui.window.ScilabWindow.createWindow(Unknown Source)
at org.scilab.modules.jvm.Scilab.<init>(Unknown Source)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.lang.Shutdown.add(Shutdown.java:81)
at java.lang.Runtime.addShutdownHook(Runtime.java:190)
at
org.flexdock.docking.DockingManager.init(DockingManager.java:231)
at
org.flexdock.docking.DockingManager.<clinit>(DockingManager.java:147)
... 15 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).
If somebody have an idea ...
thank you
Nicolas Vergnes
Configure result ==
Host system type : x86_64-unknown-linux-gnu
Option Value
------------------------------------------------------------------------
-
Shared libraries....... --enable-shared=yes yes
Static libraries....... --enable-static=no no
GNU ld................. --with-gnu-ld=yes yes
Enable debug .......... --enable-debug=no no
Enable debug C......... --enable-debug-C=no no
Enable debug C++....... --enable-debug-CXX=no no
Enable debug Java...... --enable-debug-java=
Enable debug Fortran... --enable-debug-fortran=no no
Enable stop on warning. --enable-stop-on-warning=
Compiler Configuration:
Intel (--with-intelcompilers) .... =
GNU gcc (--with-gcc) ............. =
GNU Fortran 77 (--with-g77) ...... =
GNU Fortran 95 (--with-gfortran) . = yes
Options:
Use PVM (--without-pvm) .......................... = no
PVM include (--with-pvm-include) ................. =
PVM library (--with-pvm-library) ................. =
Compile with Ocaml (--without-ocaml) ............. =
Do not use TCL/TK (--without-tk) ................. =
TCL include (--with-tcl-include) ................. =
/tmp/vergnesn/sci64/include
TCL library (--with-tcl-library) ................. =
/tmp/vergnesn/sci64/lib
TK include (--with-tk-include) ................... =
/tmp/vergnesn/sci64/include
TK library (--with-tk-library) ................... =
/tmp/vergnesn/sci64/lib
Install XML Help (--with-install-help-xml) ....... =
Make the package relocatable (--enable-relocatable)= no
Use FFTW (--without-fftw) ........................ =
Use MATIO (--without-matio) ...................... =
Scicos enable
Ocaml Configuration (for Modelica compiler):
OCAMLC ............. = ocamlc
OCAMLOPT ........... = ocamlopt
OCAMLDEP ........... = ocamldep
Not using PVM
FFTW Configuration:
FFTW LIBS .......... = -L/tmp/vergnesn/sci64/lib -lfftw3
FFTW CFLAGS ........ = -I/tmp/vergnesn/sci64/include
MATIO Configuration:
MATIO LIBS .......... = -L/tmp/vergnesn/sci64/lib -lmatio -lz
MATIO CFLAGS ........ = -I/tmp/vergnesn/sci64/include
Not using UMFPACK
BLAS/LAPACK/ATLAS Configuration:
BLAS LIBS ............. = -lcblas -lf77blas -latlas
BLAS TYPE ............. = Atlas
LAPACK LIBS ........... = -llapack
LAPACK TYPE ........... = Library -llapack
Gettext/localization configuration:
xgettext ............... = /usr/bin/xgettext
msgfmt ................ = /usr/bin/msgfmt
msgfmt_opts ............ =
msgcat ................ = /usr/bin/msgcat
Documentation building configuration:
Docbook XSL path ....... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/docbook/
Batik (SVG) ............ =
/tmp/vergnesn/scilab-5.2.0/thirdparty/batik-all-1.7.jar
Saxon XSLT ............. =
/tmp/vergnesn/scilab-5.2.0/thirdparty/saxon.jar
FOP (XML => PDF) ....... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/fop.jar
Jeuclid (MathML) ....... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/jeuclid-core.jar
Commons I/O ............ =
/tmp/vergnesn/scilab-5.2.0/thirdparty/commons-io.jar
XML graphics commons ... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/xmlgraphics-commons-1.3.1.jar
XML commons external ... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/xml-apis-ext.jar
Java Configuration:
JAVA_HOME ........... = /Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0
JAVAC ............... =
/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/bin/javac
JAVA_CLASSPATH ...... =
:/Produits/publics/x86_64.Linux.2.6.9/ant/1.7.0/lib/ant-antlr.jar
JAVA_VERSION ........ = 1.5
JAVAC_FLAGS ......... = -g
JAVA_JNI_INCLUDE .... =
-I/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/include
-I/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/include/linux
JAVA_JNI_LIBS ....... =
-L/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/jre/lib/amd64 -ljava
-lverify
-L/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/jre/lib/amd64/server
-ljvm
JAVA_JNI_LIBS_PRELOAD =
JAVA ................ =
/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/bin/java
JAR ................. =
/Produits/publics/x86_64.Linux.2.6.9/jdk/1.5.0/bin/jar
ANT ................. =
/Produits/publics/x86_64.Linux.2.6.9/ant/1.7.0/bin/ant
Java dependencies:
Flexdock ............ =
/tmp/vergnesn/scilab-5.2.0/thirdparty/flexdock-0.5.1.jar
JOGL ................ = /tmp/vergnesn/scilab-5.2.0/thirdparty/jogl.jar
JOGL LIBS (JNI) ..... = -ljogl
Gluegen ............. =
/tmp/vergnesn/scilab-5.2.0/thirdparty/gluegen-rt.jar
Gluegen LIBS (JNI) .. = -lgluegen-rt
Jhall .............. =
/tmp/vergnesn/scilab-5.2.0/thirdparty/jhall.jar
Jrosetta (API) ...... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/jrosetta-API.jar
Jrosetta (Engine) ... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/jrosetta-engine.jar
Commons Logging ..... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/commons-logging.jar
JGraph X ............ =
/tmp/vergnesn/scilab-5.2.0/thirdparty/jgraphx.jar
Code quality (optional):
Checkstyle .......... =
Commons-beanutils ... =
Antlr ............... =
splint .............. = /usr/bin/splint
TCL/TK configuration:
TK_INC_PATH ........ = -I/tmp/vergnesn/sci64/include
TCL_INC_PATH ....... = -I/tmp/vergnesn/sci64/include
TCLTK_LIBS ......... = -L/tmp/vergnesn/sci64/lib -ltk8.5
-L/tmp/vergnesn/sci64/lib -ltcl8.5 -ldl
TCL_SERIAL_VERSION . = 8.5.8
TK_SERIAL_VERSION .. = 8.5.8
XML configuration:
XML_FLAGS .......... = -I/usr/include/libxml2
XML_LIBS ........... = -lxml2 -lz -lpthread -lm
XML_VERSION ........ = 2.6.16
HDF5 configuration:
HDF5 CFLAGS ......... = -I/tmp/vergnesn/sci64/include
HDF5 LIBS ........... = -L/tmp/vergnesn/sci64/lib -lhdf5
HDF5 Java ........... =
/tmp/vergnesn/scilab-5.2.0/thirdparty/jhdf5.jar
JHDF5 LIBS (JNI) .... = -ljhdf5
PCRE configuration:
PCRE_CFLAGS ........ = -I/tmp/vergnesn/sci64/include
PCRE_LIBS .......... = -L/tmp/vergnesn/sci64/lib -lpcreposix -lpcre
PCRE_VERSION ....... = 8.00
SWIG Configuration:
SWIG generation disabled
GIWS Configuration:
GIWS generation disabled
Libtool config:
objext .............. = o
libext (static) ..... = a
shrext_cmds ......... = .so
exeext .............. =
Compilation paths:
srcdir .............. = .
srcdir_full ......... = /tmp/vergnesn/scilab-5.2.0
builddir ............ = /tmp/vergnesn/scilab-5.2.0
Platform informations:
host ........... = x86_64-unknown-linux-gnu
host_cpu ....... = x86_64
host_vendor .... = unknown
host_os ... .... = linux-gnu
hostname ....... = toto
CPU 64 bits .... = true
Options used to compile and link:
prefix ......... = /tmp/vergnesn/sci01
localedir ...... = ${datarootdir}/locale
VERSION ........ = 5
CC ............. = gcc
CFLAGS ......... = -g -O2 -DNDEBUG -fno-stack-protector -DNARROWPROTO
-m64 -I$(top_srcdir)/modules/core/includes/
-I$(top_srcdir)/libs/MALLOC/includes/
-I$(top_srcdir)/modules/localization/includes/
PCFLAGS ........ =
DEFS ........... = -DHAVE_CONFIG_H
LD ............. = /usr/bin/ld -m elf_x86_64
LDFLAGS ........ = -L/tmp/vergnesn/atlas/lib -L/tmp/vergnesn/sci64/lib
-L/tmp/vergnesn/sci64/lib.ext -lGL
LIBS ........... = -ldl -lcurses
CXX ............ = g++
CXXFLAGS ....... = -g -O2 -DNDEBUG -fno-stack-protector
-I$(top_srcdir)/modules/core/includes/
-I$(top_srcdir)/libs/MALLOC/includes/
-I$(top_srcdir)/modules/localization/includes/
F77 ............ = gfortran
FFLAGS ......... = -g -O2 -DNDEBUG -m64 -fPIC
-I$(top_srcdir)/modules/core/includes/
F77_LDFLAGS .... =
TERMCAP_LIB .... = no
More information about the dev
mailing list