OOo2 port with jdk15 build failures, help?, project xmerge.
Nikolas Britton
nikolas.britton at gmail.com
Thu Feb 2 01:50:24 PST 2006
Hello,
I'm trying to build the openoffice-2.0 port with jdk15 and I'm running
into problems. The first problem I had was was building project bean:
"ERROR: Shared object "libmawt.so" not found, required by "libjawt.so"
Ok I have 3 version of libmawt.so installed:
/usr/local/jdk1.5.0/jre/lib/i386/headless/libmawt.so
/usr/local/jdk1.5.0/jre/lib/i386/motif21/libmawt.so
/usr/local/jdk1.5.0/jre/lib/i386/xawt/libmawt.so
So I made a guess and used xawt/libmawt.so, making symbolic links to
it in /usr/local/lib/ and /usr/local/jdk1.5.0/jre/lib/i386/
This seemed to do the trick because I made it past project bean. Now
I'm stuck at project xmerge, arrgg! The errors (8 errors in total, all
the same) I'm getting now are:
"as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier (try -source 1.4 or lower to use 'enum' as an identifier)"
I'm guessing I'll need to edit the source files but I'm not a
programmer, so I don't know where to start.
Attached are the error messages from the build, any help would be cool. Thanks
-------------- next part --------------
=============
Building project xmerge
=============
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/activesync
mkout -- version: 1.5
-------------
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/htmlsoff
-------------
/usr/local/bin/ant -Dprj=../.. -Dprjname=xmerge -Ddebug=off -Doptimize=on -Dtarget=htmlsoff -Dsolar.update=on -Dout=../../unxfbsd.pro -Dinpath=unxf
bsd.pro -Dproext=".pro" -Dsolar.bin=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.jar=/usr/ports/editors/
openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.doc=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro
/doc -Dcommon.jar=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/common.pro/bin -Dcommon.doc=/usr/ports/editors/openoffice.org-2.0
/work/OOA680_m1/solver/680/common.pro/doc -f build.xml -emacs
Buildfile: build.xml
init:
compile:
jar:
Building jar: /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/unxfbsd.pro/class/htmlsoff.jar
all:
BUILD SUCCESSFUL
Total time: 2 seconds
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge
-------------
/usr/local/bin/ant -Dprj=../.. -Dprjname= -Ddebug=off -Doptimize=on -Dtarget=xmerge -Dsolar.update=on -Dout=../../unxfbsd.pro -Dinpath=unxfbsd.pro
-Dproext=".pro" -Dsolar.bin=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.jar=/usr/ports/editors/openoffi
ce.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.doc=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/doc -D
common.jar=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/common.pro/bin -Dcommon.doc=/usr/ports/editors/openoffice.org-2.0/work/OO
A680_m1/solver/680/common.pro/doc -f build.xml -emacs
Buildfile: build.xml
init:
Created dir: /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/unxfbsd.pro/class/xmerge
compile:
Compiling 96 source files to /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/unxfbsd.pro/class/xmerge
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/ConvertData.java:130: as of release 1.5, 'enum'
is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = v.elements();
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/ConvertData.java:131: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
return (enum);
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.jav a:158: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = cd.getDocumentEnumeration();
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.jav a:164: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while (enum.hasMoreElements()) {
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.jav a:165: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
docOut = (DOMDocument) enum.nextElement();
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java:186: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = ci.getDeviceMime();
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java:187: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while (enum.hasMoreElements()) {
^
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java:188: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
mimeType= (String) enum.nextElement();
^
8 errors
BUILD FAILED
/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/build.xml:81: Compile failed; see the compiler error output for details.
Total time: 3 seconds
dmake: Error code 1, while making 'ANTBUILD'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge
dmake: Error code 1, while making 'build_instsetoo_native'
'---* tg_merge.mk *---'
*** Error code 255
Stop in /usr/ports/editors/openoffice.org-2.0.
More information about the freebsd-openoffice
mailing list