java/75642: gnomespeech fails to build if a jdk is installed
Brian Behlendorf
brian at hyperreal.org
Wed Dec 29 16:01:05 PST 2004
>Number: 75642
>Category: java
>Synopsis: gnomespeech fails to build if a jdk is installed
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 30 00:01:04 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Brian Behlendorf
>Release: RELENG_5
>Organization:
>Environment:
FreeBSD eris.apache.org 5.3-STABLE FreeBSD 5.3-STABLE #5: Sat Dec 18 09:49:01 PST 2004 root at eris.apache.org:/usr/obj/usr/src/sys/SMP i386
>Description:
Trying to build gnome2, building dependency accessibility/gnomespeech, with jdk1.4p7 and javavmwrapper-1.5, and the build fails. If there is no jdk installed, then gnomespeech builds fine. Other Java applications (apache-ant, netbeans) appear to compile fine.
cc -shared .libs/GNOME_Speech-imodule.o -L/usr/local/lib -L/usr/X11R6/lib -Wl,-soname -Wl,GNOME_Speech_module.so -o .libs/GNOME_Speech_module.so
creating GNOME_Speech_module.la
(cd .libs && rm -f GNOME_Speech_module.la && ln -s ../GNOME_Speech_module.la GNOME_Speech_module.la)
gmake[3]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/gnome-speech'
gmake[2]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/gnome-speech'
Making all in java
gmake[2]: Entering directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/java'
/usr/local/bin/idlj \
-emitAll -i /usr/local/share/idl/bonobo-activation-2.0 -i ../idl \
-pkgPrefix GNOME org \
-pkgPrefix Bonobo org.GNOME \
-fallTie ../idl/GNOME_Speech_SynthesisDriver.idl
Unrecognized option: -emitAll
Could not create the Java virtual machine.
gmake[2]: *** [org/GNOME/Speech/*.java] Error 1
gmake[2]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/java'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/accessibility/gnomespeech.
Note that /usr/local/bin/idlj is soft linked to /usr/local/bin/javavm, as are other java-related programs in /usr/local/bin: java, java_vm, javac, javah, javap, etc. Linking idlj to /usr/local/jdk1.4.2/bin/idlj and rerunning from scratch gives a different error:
[...]
cc -shared .libs/GNOME_Speech-imodule.o -L/usr/local/lib -L/usr/X11R6/lib -Wl,-soname -Wl,GNOME_Speech_module.so -o .libs/GNOME_Speech_module.so
creating GNOME_Speech_module.la
(cd .libs && rm -f GNOME_Speech_module.la && ln -s ../GNOME_Speech_module.la GNOME_Speech_module.la)
gmake[3]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/gnome-speech'
gmake[2]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/gnome-speech'
Making all in java
gmake[2]: Entering directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/java'
/usr/local/bin/idlj \
-emitAll -i /usr/local/share/idl/bonobo-activation-2.0 -i ../idl \
-pkgPrefix GNOME org \
-pkgPrefix Bonobo org.GNOME \
-fallTie ../idl/GNOME_Speech_SynthesisDriver.idl
/usr/local/bin/javac org/GNOME/Speech/*.java
Exception in thread "main" java.lang.NoClassDefFoundError: org/GNOME/Speech/Parameter/java
gmake[2]: *** [org/GNOME/Speech/*.class] Error 1
gmake[2]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5/java'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/accessibility/gnomespeech/work/gnome-speech-0.3.5'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/accessibility/gnomespeech.
Personally I don't care in the slightest about getting gnomespeech to work as a jar with Java; I just want to be able to compile gnome2 on a system that also has a jdk installed.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list