Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


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@ashdown ~/gitstuff/lotest $ whereis javac
javac: /usr/bin/javac /opt/icedtea6-bin-1.9.1/bin/javac
anthony@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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.