Apache OpenOffice (AOO) Bugzilla – Issue 41560
officecfg build failure after gcj1 integration
Last modified: 2005-02-14 18:15:42 UTC
Hi, /cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/officecfg/registry/schema/org/openoffice/Office/UI ------------- -------------+ validating and stripping schema files mkdir.pl ../../../../../../wntmsci10.pro/misc/registry/schema/org/openoffice/Office/UI/ java -classpath /cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/solver/680/wntmsci10.pro/bin/jaxp.jar:/cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/solver/680/wntmsci10.pro/bin/parser.jar:../../../../../../wntmsci10.pro/class/cfgimport.jar -Djavax.xml.parsers.SAXParserFactory=com.sun.xml.parser.SAXParserFactoryImpl org.openoffice.configuration.Inspector Controller.xcs java.lang.NoClassDefFoundError: org/openoffice/configuration/Inspector Exception in thread "main" dmake: Error code 1, while making '../../../../../../wntmsci10.pro/misc/registry/schema/org/openoffice/Office/UI/Controller.xcs' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/e/home/pavel/BuildDir/ooo_SRC680_m74s1_src/officecfg/registry/schema/org/openoffice/Office/UI pavel@drogo:~/BuildDir/ooo_SRC680_m74s1_src/officecfg> java is not prefixed by guw.pl. From IRC: <paveljanik> caolan: I have a build issue on Windows/cygwin in officecfg. Your util/makefile.pmk, rev. 1.31 is a problem there. you changed JAVA to JAVAI, but JAVAI's java is not prefixed by guw.pl -> build fails. Reverting to 1.30 works and adding JAVAI=$(WRAPCMD) java into wnt.mk works too. vq: JFYI.
I approve adding a JAVAI=$(WRAPCMD) java (Should propably be != to stop dmake complaining) line to wnt.mk below "JAVAC=$(WRAPCMD) javac". Although that hardcodes the JDK names for W32-tcsh, the better solution would be to add $(WRAPCMD) in settings.mk in the apropriate places when defining $(JAVACOMPILER) and $(JAVAINTERPRETER). This way, one could even try to get the windows build build with cygwin's gcj. (gcj wouldn't need the $(WRAPCMD) in this case.
I'm under cmc actually.
JAVAI!=$(WRAPCMD) java added to !=4NT section of wnt.mk
I found one occurrence of "$(WRAPCMD) $(JAVAI) .." in helpcontent2/util/target.pmk. Fixed.
Verified with W32-tcsh build.
close