[Libreoffice] Java build problem identified?

Wols Lists antlists at youngman.org.uk
Sun Dec 5 06:28:34 PST 2010


On 05/12/10 11:26, Caolán McNamara wrote:
> On Sat, 2010-12-04 at 16:07 -0600, Norbert Thiebaud wrote:
>> I had to add --with-jdk-home=/opt/sun-jdk-1.6.0.20
>> to my gentoo build.
> Hmm, I wonder.
>
> If you go to configure.in and change
>
> if test "x$with_jdk_home" = "x" -a "$_gij_longver" -ge "40200"; then
>
> to
>
> if test "x$with_jdk_home" = "x"; then
>
> and re-run configure without any --with-jdk-home does it then work. And
> if it does not work, there should at least now be a findhome.class
> generated by configure. What's the output of java findhome in that
> case ?
>
No luck, it's not working. And what's findhome.class supposed to be? A
file in the directory? Not there, I'm afraid :-(

Anyways, I now have some more clues to start digging harder :-)
SOLAR_JAVA is TRUE ...

anthony at ashdown ~/gitstuff/lotest $ whereis javac
javac: /usr/bin/javac /opt/icedtea6-bin-1.9.1/bin/javac
anthony at ashdown ~/gitstuff/lotest $

I'll see what I can come up with, if anyone else can dig too :-)

Cheers,
Wol


checking which memory allocator to use... internal
checking whether to add custom build version... no
checking whether to build with Java support... yes
checking for java... /usr/bin/java
checking the installed JDK... checked (JDK 1.6.0_20)
checking for target java bytecode version... 1.6
checking for javac... /usr/bin/javac
checking for javadoc... /usr/bin/javadoc
configure: WARNING: JAVA_HOME was not explicitly informed with
--with-jdk-home. the configure script
configure: WARNING: attempted to find JAVA_HOME automatically, but
apparently it failed
configure: WARNING: in case JAVA_HOME is incorrectly set, some projects
with not be built correctly
checking for jawt lib name... -ljawt


More information about the LibreOffice mailing list