[fedora-java] Java build on rawhide

Orion Poplawski orion at cora.nwra.com
Sat Feb 23 00:02:40 UTC 2008


This seems new.  I'm try to build plplot in rawhide and getting the 
following.  This seems to be pointing to a pretty fundamental issue with 
the java install.  This was working a bit ago.

cd /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java 
&& /usr/bin/javac -classpath 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java 
-d /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java
----------
1. ERROR in 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java 
(at line 1)
         // -*-java-*-
         ^
The type java.lang.Object cannot be resolved. It is indirectly 
referenced from required .class files
----------
2. ERROR in 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java 
(at line 1)
         // -*-java-*-
         ^
The type java.lang.String cannot be resolved. It is indirectly 
referenced from required .class files
----------
3. ERROR in 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java 
(at line 23)
         public class config {
                      ^^^^^^
Implicit super constructor Object() is undefined for default 
constructor. Must define an explicit constructor
----------
4. ERROR in 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java 
(at line 25)
         public final static String libname = "plplotjavac_wrap.so";
                             ^^^^^^
String cannot be resolved to a type
----------
5. ERROR in 
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java 
(at line 26)
         public final static String libdir = "/usr/lib/plplot5.9.0";
                             ^^^^^^
String cannot be resolved to a type
----------
5 problems (5 errors)make[2]: *** 
[bindings/java/plplot/core/config.class] Error 255

Suggestions?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the java-devel mailing list