Subject: | Compile Failure |
Date: | Tue, 13 Nov 2007 16:48:35 +0100 |
To: | bug-Java-Import [...] rt.cpan.org |
From: | "Christian Kindler" <christian.kindler [...] gmx.net> |
Hello I have problems to compile the Module.
Ubuntu 7.4
cikic@MrZylinder:~/datamarts$ gcj -v
Using built-in specs.
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.2/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-java-awt=gtk --enable-gtk-cairo --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libmudflap --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Ubuntu 4.2.1-5ubuntu5)
GCJ::Cni is working fine
cikic@MrZylinder:~/datamarts$ perl -e"use GCJ::Cni;"
cikic@MrZylinder:~/datamarts$
cikic@MrZylinder:~/datamarts$ sudo perl -MCPAN -e"install Java::Import"
[...]
CPAN.pm: Going to build R/RU/RUSEKD/Java-Import-0.03.tar.gz
# running Build.PL installdirs=site
/usr/bin/perl Build.PL installdirs=site
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
Creating new 'Build' script for 'Java-Import' version '0.03'
/usr/bin/perl Build --makefile_env_macros 1
gcj -C src/ArgumentArray.java src/ArrayWrapper.java src/ObjectWrapper.java
src/ArgumentArray.java:16: warning: Iterator is a raw type. References to generic type Iterator<E> should be parameterized
public Iterator getIterator ( ) {
^^^^^^^^
src/ArgumentArray.java:24: warning: Iterator is a raw type. References to generic type Iterator<E> should be parameterized
class ArgumentArrayIterator implements Iterator {
^^^^^^^^
[...]
Exception in thread "main" java.io.IOException: can't find class file src/ObjectWrapper.class in java.net.URLClassLoader{urls=[file:/usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre/lib/rt.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.81)
at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.81)
at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.81)
gcj -fjni -c src/ArgumentArray.java src/ArrayWrapper.java src/ObjectWrapper.java -I src -o src/java.o
Copying lib/Java/ClassProxy.pm -> blib/lib/Java/ClassProxy.pm
Copying lib/Java/Wrapper.pm -> blib/lib/Java/Wrapper.pm
Copying lib/Java/TieJavaArray.pm -> blib/lib/Java/TieJavaArray.pm
Copying lib/Java/Import.pm -> blib/lib/Java/Import.pm
lib/Java/Wrapper.xs -> lib/Java/Wrapper.c
Didn't find a 'MODULE ... PACKAGE ... PREFIX' line
/usr/bin/make -j3 -- NOT OK
[...]
Please Help
Chris
--
cu
Chris
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger