Date: Tue, 07 Feb 2006 15:40:22 +0900 (JST) From: NAKATA Maho <chat95@mac.com> To: openoffice@freebsd.org Cc: gerald@pfeifer.com Subject: Compile OOo 2.0 with gcj Message-ID: <20060207.154022.21929906.chat95@mac.com>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060207.154022.21929906.chat95>