From owner-freebsd-openoffice@FreeBSD.ORG Tue Feb 7 06:40:27 2006 Return-Path: X-Original-To: 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 5FACD16A420 for ; Tue, 7 Feb 2006 06:40:27 +0000 (GMT) (envelope-from chat95@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274B343D49 for ; Tue, 7 Feb 2006 06:40:26 +0000 (GMT) (envelope-from chat95@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/8.12.11/smtpout10/MantshX 4.0) with ESMTP id k176eQYB018403; Mon, 6 Feb 2006 22:40:26 -0800 (PST) Received: from localhost ([133.11.172.102]) (authenticated bits=0) by mac.com (Xserve/smtpin02/MantshX 4.0) with ESMTP id k176eM5Y024525; Mon, 6 Feb 2006 22:40:25 -0800 (PST) Date: Tue, 07 Feb 2006 15:40:22 +0900 (JST) Message-Id: <20060207.154022.21929906.chat95@mac.com> To: openoffice@freebsd.org From: NAKATA Maho Organization: private X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gerald@pfeifer.com Subject: Compile OOo 2.0 with gcj 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: Tue, 07 Feb 2006 06:40:27 -0000 Now you can compile OOo with gcj however still you must build gcc-4.1 by yourself so I prepared precompiled package for 6.0-RELEASE. 1. fetch compiler package at: ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/misc/gcc41-20060203.tar.bz2 2. install this (just extract at /usr/local) cd / ; tar xvfj gcc41-20060203.tar.bz2 3. add path /usr/local/gcc41 4. ldconfig -m /usr/local/gcc41/lib 5. cvsup your tree so that make sure that you have SRC680_m155 version of OOo-2.0-devel port 6. compile! cd /usr/ports/editors/openoffice.org-2.0-devel ; make -DWITH_GNUGCJ -DTRYBROKEN Unfortunately it crashes (!) whereever OOO requires JRE but OOo recognize gcj as Java though. There are several problem in ports framework that prohibit adding gcc41 with gcj as ports. 1. -rpath issue 2. lack of developer version of gmake otherwise installation requires huge amount of memory 3. gjdoc is required and also link to gjdoc to javadoc. other issues: 4. crashes everywhere 5. sometimes gij hangs (in this case hit CTRL+C and try again) Gerald, if you know some workarounds, please let me know! All the best, -- NAKATA, Maho (maho@FreeBSD.org)