Compile OOo 2.0 with gcj
NAKATA Maho
chat95 at mac.com
Mon Feb 6 22:40:27 PST 2006
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 at FreeBSD.org)
More information about the freebsd-openoffice
mailing list