Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2003 21:17:44 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Martin Blapp <mbr@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/editors/openoffice Makefile ports/editors/openoffice/files patch-berkeleydb+db-3.2.9.patch patch-config_office+configure.in patch-config_office+setsoenv.in
Message-ID:  <20030201101744.GI88010@cirb503493.alcatel.com.au>
In-Reply-To: <200301251955.h0PJt9P4061608@repoman.freebsd.org>
References:  <200301251955.h0PJt9P4061608@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 25, 2003 at 11:55:09AM -0800, Martin Blapp wrote:
>mbr         2003/01/25 11:55:09 PST
>
>  Modified files:
>    editors/openoffice   Makefile 
>    editors/openoffice/files patch-berkeleydb+db-3.2.9.patch 
>                             patch-config_office+configure.in 
>  Added files:
>    editors/openoffice/files patch-config_office+setsoenv.in 
>  Log:
>  Use the linux JDK for the build, which hopefully fixes the
>  build on bento. Add required patches to support this change.
>  If WITH_BSD_JDK is set, the original native JDK is used.

I can't get openoffice to build with or without WITH_BSD_JDK.
(I have the native JDK but not the Linux JDK installed).

With WITH_BSD_JDK, openoffice dies in
/home/ports/editors/openoffice/work/mozilla/work/mozilla/htmlparser/src
trying to compile COtherDTD.cpp, the error being:
In file included from COtherDTD.cpp:97:
COtherElements.h: In member function `void CElementTable::DebugDumpInlineElements(const char*)':
COtherElements.h:2495: cannot pass objects of non-POD type `class NS_ConvertUCS2toUTF8' through `...'

Without WITH_BSD_JDK, make defines JAVAVM as
  ${LOCALBASE}/linux-sun-jdk1.3.1/bin/java (which is correct), but
includes a depends line:
  BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13
so when it fails to find the linux JDK, it proceeds to build the native
JDK - which it can't install because it's already installed.  Shouldn't
it be trying to build the linux JDK in this case?

Peter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030201101744.GI88010>