Re: [dev] sandbox java errors during compile @ SuSE 11.0 @ javac = gcc 4.3.1 @ i386
Ulf Wendel wrote: I need to set up a new VMware box to answer this question. If you do not need to stick on any certain Linux distributions, there is a recommendation among them. It is Fedora Core 4. For details, see [1]. The wiki page, however, is written for OOo 2.x, not 3.x, but it could be applied to both. [1] http://wiki.services.openoffice.org/wiki/Build_Environment_Running_on_Fedora_Core_4 Best, Tora - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] sandbox java errors during compile @ SuSE 11.0 @ javac = gcc 4.3.1 @ i386
Caolan McNamara schrieb: On Tue, 2008-08-19 at 13:33 +0200, Ulf Wendel wrote: Ulf Wendel schrieb: Any hints on building OOo 3.0 M28 @ SuSE 11.0 ? ... the obvious solution is stay away from the GNU Java stuff that SuSE 11 installs by default. However, it would be nice if OpenOffice would bail during configure, if its possible to detect the GNU stuff somehow. Given that your error was in Building module sandbox /home/nixnutz/oo.org-m28/sandbox/com/sun/star/lib/sandbox and that the makefile there has ... .IF "$(JDK)" == "gcj" all: @echo This dir cannot be build with gcj because of sun.applet.AppletAudioClip ... it implies that JDK was not set to gcj by configure, which suggests, given the config_office/configure logic, that your "java" is not gij (i.e. contains libgcj in java --version), and that your "javac" is not ecj. So, I imagine this scenario could only come about if "java" is not "gij" but your "javac" is actually "gcj" ? I need to set up a new VMware box to answer this question. What I remember is that JAVA_HOME pointed to "-gcj" and I did not only have a GCC which pretended to be a javac but also several *-gcj RPMs installed which contained assorted development libraries. After the removal of all *gcj* it worked fine - solved for me. The SuSE 11 installation was more or less "out-of-the-box" - "out-of-the -.iso" file. Don't know if that helps. Let me try again a little later to give you more details. Maybe its possible to catch in the makefile which would be definetly a plus :). Ulf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] sandbox java errors during compile @ SuSE 11.0 @ javac = gcc 4.3.1 @ i386
On Tue, 2008-08-19 at 13:33 +0200, Ulf Wendel wrote: > Ulf Wendel schrieb: > > Any hints on building OOo 3.0 M28 @ SuSE 11.0 ? > > ... the obvious solution is stay away from the GNU Java stuff that SuSE > 11 installs by default. However, it would be nice if OpenOffice would > bail during configure, if its possible to detect the GNU stuff somehow. Given that your error was in Building module sandbox /home/nixnutz/oo.org-m28/sandbox/com/sun/star/lib/sandbox and that the makefile there has ... .IF "$(JDK)" == "gcj" all: @echo This dir cannot be build with gcj because of sun.applet.AppletAudioClip ... it implies that JDK was not set to gcj by configure, which suggests, given the config_office/configure logic, that your "java" is not gij (i.e. contains libgcj in java --version), and that your "javac" is not ecj. So, I imagine this scenario could only come about if "java" is not "gij" but your "javac" is actually "gcj" ? C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] sandbox java errors during compile @ SuSE 11.0 @ javac = gcc 4.3.1 @ i386
Ulf Wendel schrieb: Any hints on building OOo 3.0 M28 @ SuSE 11.0 ? ... the obvious solution is stay away from the GNU Java stuff that SuSE 11 installs by default. However, it would be nice if OpenOffice would bail during configure, if its possible to detect the GNU stuff somehow. Ulf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] sandbox java errors during compile @ SuSE 11.0 @ javac = gcc 4.3.1 @ i386
Hi! Any hints on building OOo 3.0 M28 @ SuSE 11.0 ? ./configure --disable-build-mozilla --disable-mediawiki --with-use-shell=bash [...] Building module sandbox /home/nixnutz/oo.org-m28/sandbox/com/sun/star/lib/sandbox mkout -- version: 1.8 Making dpj... /usr/bin/javac -classpath ".:../../../../../unxlngi6.pro/class:/usr/lib/jvm/java-1.5.0-gcj/jre/lib/rt.jar:." -d ../../../../../unxlngi6.pro/class @/tmp/mkJVrXoE AudioProxy.java:37: error: Holder cannot be resolved to a type class AudioProxy implements AudioClip, Holder { ^^ AudioProxy.java:42: warning: Vector is a raw type. References to generic type Vector should be parameterized private Vector cargo = new Vector(); ^^ AudioProxy.java:42: warning: Vector is a raw type. References to generic type Vector should be parameterized private Vector cargo = new Vector(); ^^ AudioProxy.java:62: warning: Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector should be parameterized cargo.addElement(object); 4 problems (1 error, 3 warnings) [EMAIL PROTECTED]:~/oo.org-m28> /usr/bin/javac --version javac (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [EMAIL PROTECTED]:~/oo.org-m28> uname -a Linux linux-o9ss 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686 i686 i386 GNU/Linux Thanks! Ulf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]