Quantcast

Compilation Bug

classic Classic list List threaded Threaded
5 messages Options
Amanda Osvaldo Amanda Osvaldo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Compilation Bug

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/scirenderer/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

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Bug

Hi Amanda,

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

That's a bug in the configure script, we probably missed something on scirenderer integration, could
you comment on http://bugzilla.scilab.org/show_bug.cgi?id=7265 ?

Thanks,

--
Clément
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Amanda Osvaldo Amanda Osvaldo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Bug

Hi Clément.

Good to know it's a bug.
However, how can I compile SciLAB ? :-O

-- Amanda

On Tue, 2017-02-28 at 09:14 +0100, Clément David wrote:
Hi Amanda,

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?
That's a bug in the configure script, we probably missed something on scirenderer integration, could you comment on http://bugzilla.scilab.org/show_bug.cgi?id=7265 ? Thanks, -- Clément _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Bug

Hi Amanda,

Yes of course, you should use our prerequirements (pre-build dependencies) and still pass the
`without-gui` flag. We will probably build scirenderer but will not use it at runtime :).

However I suggest you to perform a full build as usually when adding feature you will also add
documentation (which require a full build).

Thanks,

--
Clément

Le mardi 28 février 2017 à 12:40 -0300, Amanda Osvaldo a écrit :

> Hi Clément.
>
> Good to know it's a bug.
> However, how can I compile SciLAB ?  
>
> -- Amanda
>
> On Tue, 2017-02-28 at 09:14 +0100, Clément David wrote:
> > Hi Amanda,
> >
> > > 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?
> >
> > That's a bug in the configure script, we probably missed something on scirenderer integration,
> > could
> > you comment on http://bugzilla.scilab.org/show_bug.cgi?id=7265 ?
> >
> > Thanks,
> >
> > --
> > Clément
> > _______________________________________________
> > dev mailing list
> > [hidden email]
> > http://lists.scilab.org/mailman/listinfo/dev
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Amanda Osvaldo Amanda Osvaldo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Compilation Bug

Hi Clementé.

I'm not sure if I had understood.

The without-gui param prevents me from compiling because they include SciRender without the libraries to compile it. :-O

I like to compile a very minimal scilab to avoid install the dependencies, however, even with all dependencies installed I'm unable to compile it.
I don't know if you are following the others emails.

Can I ask a huge favor?

Can you tell me about some compile environment?
I will try to reproduce the same compile environment instead to create one.
I like to know about the operation system, packages installed and the files in the third-party directory.

I followed each step in the SciLAB compile documentation in a Linux Debian, fixed two errors in the documentation but still I'm unable to compile it.

-- Amanda

On Wed, 2017-03-01 at 16:30 +0100, Clément David wrote:
Hi Amanda,

Yes of course, you should use our prerequirements (pre-build dependencies) and still pass the
`without-gui` flag. We will probably build scirenderer but will not use it at runtime :).

However I suggest you to perform a full build as usually when adding feature you will also add
documentation (which require a full build).

Thanks,

--
Clément

Le mardi 28 février 2017 à 12:40 -0300, Amanda Osvaldo a écrit :
Hi Clément. Good to know it's a bug. However, how can I compile SciLAB ?   -- Amanda On Tue, 2017-02-28 at 09:14 +0100, Clément David wrote:
Hi Amanda,
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?
That's a bug in the configure script, we probably missed something on scirenderer integration, could you comment on http://bugzilla.scilab.org/show_bug.cgi?id=7265 ? Thanks, -- Clément _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Loading...