problem compiling openoffice-src: javac reports errors

Bernd Kosmahl beko at duke.famkos.net
Sun May 4 17:30:18 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag 04 Mai 2008 tippselte Zbigniew Luszpinski:
> Sunday 04 of May 2008 06:45:33 Bernd Kosmahl wrote:
> > Hi,
> > I was going to lin openoffice-src but it fails with errors in java.
> > I'm sort of clueless what to do now.
>
> I made patch for openoffice-src module which fixes java bug.
> This is working patch. It is not commited to moonbase yet because
> needs some final polishing and final testing (probably will be done
> in next weekend). If you will use it let me know your
> comments/results.
>
> Why OO breaks on java and what my patch fixes:
> OpenOffice will not compile with java > 1.5.0 - this is the reason of
> compilation error. My patch provides java 1.5.0 exclusively for OO
> only at compilation time to let OO compile without java errors.
> Later, at runtime any OO version works very well with java 1.6.0.
>
> have a nice day,
> Zbigniew Luszpinski

root at deadalus /var/lib/lunar/moonbase # patch -p1 < openoffice-src.patch
patching file x11-apps/openoffice-src/BUILD
patching file x11-apps/openoffice-src/DETAILS
patching file x11-apps/openoffice-src/PRE_BUILD
root at deadalus /var/lib/lunar/moonbase # lin openoffice-src
Checking dependencies for openoffice-src
Downloading source file jdk-5.0u15-dlj-linux-i586.bin for module 
openoffice-src
[...]
Building openoffice-src version 2.4.0
[a very good nap later]
Please log out and log in again to make changes in your shell
environment take effect.

Creating /var/log/lunar/compile/openoffice-src-2.4.0.bz2
Creating /var/log/lunar/install/openoffice-src-2.4.0
Creating /var/log/lunar/md5sum/openoffice-src-2.4.0
Creating /var/cache/lunar/openoffice-src-2.4.0-i686-pc-linux-gnu.tar.bz2

..dunno how crude your patch is but it worked just fine. Thank you a 
lot!
- -- 
Bernd "beko" Kosmahl
beko (a-nospam-t) duke.famkos.net
http://duke.famkos.net (PGP pupkey: http://duke.famkos.net/pub.txt)
PGP Fingerprint: 0798 0D57 1F98 0675 731D  AD06 81FB 7AD8 AD53 FE47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkgd1osACgkQgft62K1T/ke1qwCZAdL3t1i5joprc87K+wB1Hcfw
B8cAn2NAcbT/yPFTG27kAC9FHa9MC2B/
=NY/P
-----END PGP SIGNATURE-----


More information about the Lunar mailing list