在Scilab编译期间,“找不到符号”和“包javax.media.opengl不存在”

时间:2015-02-27 15:28:44

标签: javac scilab powerpc

我正在尝试在RHEL-ppc64平台上编译Scilab。我只想使用CLI。 ./configure脚本运行良好,但 make 令我头疼,因为我不知道在哪里寻找解决方案。

这是(样本,因为它非常长):

这部分进展顺利:

    Making all in modules
make[1]: Entering directory `/root/scilab/scilab-5.5.1/modules'
Making all in prebuildjava
make[2]: Entering directory `/root/scilab/scilab-5.5.1/modules/prebuildjava'
Buildfile: /root/scilab/scilab-5.5.1/modules/prebuildjava/build.xml

scirenderer:
     [echo] Using:
     [echo] ${thirdparty.dir}
     [echo]
     [echo]
     [echo]

init:

compile:
    [javac] Compiling 117 source files to /root/scilab/scilab-5.5.1/modules/scirenderer/build/classes
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/Canvas.java
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/Drawer.java
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/DrawingTools.java
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/PackageInfo.java

这是事情开始恶化的时候:

   [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/utils/shapes/geometry/CubeFactory.java
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/utils/shapes/geometry/SphereFactory.java
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/utils/shapes/geometry/TetrahedronFactory.java
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:22: error: package com.jogamp.opengl.util.awt does not exist
    [javac] import com.jogamp.opengl.util.awt.ImageUtil;
    [javac]                                  ^
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:23: error: package com.jogamp.opengl.util.awt does not exist
    [javac] import com.jogamp.opengl.util.awt.Screenshot;
    [javac]                                  ^
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:28: error: package javax.media.opengl does not exist
    [javac] import javax.media.opengl.DebugGL2;
    [javac]                          ^
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:29: error: package javax.media.opengl does not exist
    [javac] import javax.media.opengl.GL2;
    [javac]                          ^
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:30: error: package javax.media.opengl does not exist
    [javac] import javax.media.opengl.GLAutoDrawable;
    [javac]                          ^

结束了:

    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java:302: error: cannot find symbol
    [javac]             GL2 gl = getGl().getGL2();
    [javac]             ^
    [javac]   symbol:   class GL2
    [javac]   location: class JoGLCanvas
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/ruler/graduations/TinyIntervalFormat.java:24: warning: [serial] serializable class TinyIntervalFormat has no definition of serialVersionUID
    [javac] public class TinyIntervalFormat extends DecimalFormat {
    [javac]        ^
    [javac] /root/scilab/scilab-5.5.1/modules/scirenderer/src/org/scilab/forge/scirenderer/ruler/graduations/UserDefinedFormat.java:26: warning: [serial] serializable class UserDefinedFormat has no definition of serialVersionUID
    [javac] public class UserDefinedFormat extends DecimalFormat {
    [javac]        ^
    [javac] 100 errors
    [javac] 3 warnings

BUILD FAILED
/root/scilab/scilab-5.5.1/modules/prebuildjava/build.xml:34: The following error occurred while executing this line:
/root/scilab/scilab-5.5.1/modules/scirenderer/build.xml:116: Compile failed; see the compiler error output for details.

Total time: 10 seconds
make[2]: *** [java] Error 1
make[2]: Leaving directory `/root/scilab/scilab-5.5.1/modules/prebuildjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/scilab/scilab-5.5.1/modules'
make: *** [all-recursive] Error 1

我看到周围的人说'#34;来源"问题与正在使用的不同版本的javac有关,但我无法修改javac选项,因为它们来自脚本。另外,我不知道为什么我会错过这些模块,以及它们的用途......

我应该如何处理?

谢谢!

0 个答案:

没有答案