[Scilab-Dev] Compilation Bug

Amanda Osvaldo lambdasoftware at yahoo.es
Mon Feb 27 22:55:56 CET 2017


Hi everyone, I think I have found a bug during compilation, I whant to
confirm here before report it.
I'm executing configure script with these parameters :
export JAVA_HOME=/usr/java/jdk1.8.0_121/

./configure --enable-debug  --without-tk --without-javasci --without-
gui --without-xcos --without-modelica --without-emf --without-fftw --
without-openmp --without-matio --without-arpack-ng --without-umfpack --
disable-build-localization --with-eigen-
include=/usr/local/include/eigen3


The attention it's for --without-javasci and --without-gui because I
don't need plot functions or GUI.However when I compile using make i
receive this error:

[ .... ]

    [javac] /media/src/scilab-
6.0.0/scilab_master/scilab/modules/scirenderer/src/org/scilab/forge/sci
renderer/implementation/jogl/JoGLCanvas.java:
22: error: package javax.media.opengl does not exist

    [javac] import javax.media.opengl.DebugGL2;


[ .... ]

BUILD FAILED

/media/src/scilab-
6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:37: The
following error occurred while executing this line:

/media/src/scilab-
6.0.0/scilab_master/scilab/modules/scirenderer/build.xml:114: Compile
failed; see the compiler error output for details.

[ .... ]



Why the compilation script is trying to compile scirender if i don't
want it?Just for note, I have JoGL jar packages in both /usr/share/java
and has a link in thirdparty directory. 
And the configure output whith these parameters are:
[ .... ]
Java dependencies:

  Flexdock ............ =  
  JOGL 2............... =  
  JOGL 2 LIBS (JNI) ... =  
  Gluegen 2 ........... =  
  Gluegen 2 LIBS (JNI)  =  
  Jeuclid (MathML) .... =  
  Jhall  .............. =  
  Jrosetta (API) ...... =  
  Jrosetta (Engine) ... =  
  Commons Logging ..... =  
  JGraph X ............ =  
  SciRenderer ......... =  
  JLaTeXMath .......... =  
  ECJ ................. = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/ecj.jar

[ .... ]
And without these two parameters are just like expected, so if
configure script whant the dependences it is enable to take it: 
[ .... ]
Java dependencies:

  Flexdock ............ = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar
  JOGL 2............... = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/jogl2.jar
  JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL
  Gluegen 2 ........... = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar
  Gluegen 2 LIBS (JNI)  = -lgluegen2-rt
  Jeuclid (MathML) .... = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar
  Jhall  .............. = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar
  Jrosetta (API) ...... = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar
  Jrosetta (Engine) ... = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine.jar
  Commons Logging ..... = /usr/share/java/commons-logging.jar
  JGraph X ............ =  
  SciRenderer ......... =
${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
  JLaTeXMath .......... = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar
  ECJ ................. = /media/src/scilab-
6.0.0/scilab_master/scilab/thirdparty/ecj.jar

[ .... ]


So, if configure script want the dependencies they can take it.Why the
compilation script is trying to compile scirender if i don't want it?
-- Amanda Osvaldo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170227/3a157a91/attachment.htm>


More information about the dev mailing list