From owner-freebsd-openoffice@FreeBSD.ORG Thu Feb 2 09:50:24 2006 Return-Path: X-Original-To: freebsd-openoffice@freebsd.org Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4E6A16A420 for ; Thu, 2 Feb 2006 09:50:24 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC0543D5A for ; Thu, 2 Feb 2006 09:50:23 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so240326wxc for ; Thu, 02 Feb 2006 01:50:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=aD8/dQo95ZGtflbO7dRRVDGhpABM5/yoYWwvlTPuvmejSMAzPZqtLf3o/BKYBS8y7SzCR4nTFsTtt3tG9NBgR9k56d8CvX1itmJHhyQSI3vTEjQCCEXt26ShEkorZNBL/iDjilj+0afhcJNwFjcDWuMnKPxQGGWIcqBUFGm5NlM= Received: by 10.70.31.8 with SMTP id e8mr701352wxe; Thu, 02 Feb 2006 01:50:22 -0800 (PST) Received: by 10.70.67.17 with HTTP; Thu, 2 Feb 2006 01:50:22 -0800 (PST) Message-ID: Date: Thu, 2 Feb 2006 03:50:22 -0600 From: Nikolas Britton To: freebsd-openoffice@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17187_6767445.1138873822666" Subject: OOo2 port with jdk15 build failures, help?, project xmerge. X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 09:50:24 -0000 ------=_Part_17187_6767445.1138873822666 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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. Tha= nks ------=_Part_17187_6767445.1138873822666 Content-Type: text/plain; name=OOo-xmerge-errors.txt; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="OOo-xmerge-errors.txt" ============= 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. ------=_Part_17187_6767445.1138873822666--