Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-06 Thread Caolán McNamara
On Mon, 2010-12-06 at 01:28 -0600, Norbert Thiebaud wrote: Cloph, Wol and me have been working on it on IRC, resulting in bootstrap:474e4b60fec1f859bc16f268d6340d7850c7874e Well, if it works it works. Still think that all the readlink stuff before trying findhome.java is fairly dubious and that

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-06 Thread Christian Lohmaier
Hi Norbert, *, On Mon, Dec 6, 2010 at 8:28 AM, Norbert Thiebaud nthieb...@gmail.com wrote: On Sun, Dec 5, 2010 at 9:39 PM, Thorsten Behrens t...@documentfoundation.org wrote: Caolan McNamara wrote: IIRC I tried this before, and there was some cockup under MacOSX, so if someone on MacOSX

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-06 Thread Norbert Thiebaud
On Mon, Dec 6, 2010 at 6:53 AM, Christian Lohmaier lohma...@googlemail.com wrote: Hi Norbert, *, On Mon, Dec 6, 2010 at 8:28 AM, Norbert Thiebaud nthieb...@gmail.com wrote: On Sun, Dec 5, 2010 at 9:39 PM, Thorsten Behrens t...@documentfoundation.org wrote: Caolan McNamara wrote: IIRC I

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-06 Thread Wols Lists
On 06/12/10 12:57, Norbert Thiebaud wrote: Hmm - but the result of the IRC-discussion was to use (for Mac) /usr/libexec/java_home where available (10.5 and newer), and the hardcoded fallbackpath of either /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home or

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-06 Thread Norbert Thiebaud
Ok, I pushed a new version that should be doing 'The Right thing(tm)' on MacOS It is still doing the readlink stuf on other platforms... Norbert On Mon, Dec 6, 2010 at 7:21 AM, Wols Lists antli...@youngman.org.uk wrote: On 06/12/10 12:57, Norbert Thiebaud wrote: Hmm - but the result of the

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-06 Thread Christian Lohmaier
Hi *, On Mon, Dec 6, 2010 at 2:21 PM, Wols Lists antli...@youngman.org.uk wrote: On 06/12/10 12:57, Norbert Thiebaud wrote: The problem as I saw it was making sure Mac still went through the old path first, because findhome is successful but returns a dud path. Yes - having the Mac check

Re: [Libreoffice] Java build problem identified?

2010-12-05 Thread Caolán McNamara
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

Re: [Libreoffice] Java build problem identified?

2010-12-05 Thread Wols Lists
On 05/12/10 14:28, Wols Lists wrote: 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

Re: [Libreoffice] Java build problem identified?

2010-12-05 Thread Caolán McNamara
On Sun, 2010-12-05 at 14:28 +, Wols Lists wrote: No luck, it's not working. And what's findhome.class supposed to be? A file in the directory? Not there, I'm afraid :-( Look into the configure.in itself, and search for findhome. Looks like that all the other (incredibly dodgy) hackery to

Re: [Libreoffice] Java build problem identified?

2010-12-05 Thread Wols Lists
On 05/12/10 16:08, Caolán McNamara wrote: On Sun, 2010-12-05 at 14:28 +, Wols Lists wrote: No luck, it's not working. And what's findhome.class supposed to be? A file in the directory? Not there, I'm afraid :-( Look into the configure.in itself, and search for findhome. Looks like that

Re: [Libreoffice] Java build problem identified?

2010-12-05 Thread Wols Lists
On 05/12/10 16:08, Caolán McNamara wrote: On Sun, 2010-12-05 at 14:28 +, Wols Lists wrote: No luck, it's not working. And what's findhome.class supposed to be? A file in the directory? Not there, I'm afraid :-( Look into the configure.in itself, and search for findhome. Looks like that

Re: [Libreoffice] Java build problem identified?

2010-12-05 Thread Wols Lists
On 05/12/10 16:54, Caolán McNamara wrote: On Sun, 2010-12-05 at 16:35 +, Wols Lists wrote: On 05/12/10 16:08, Caolán McNamara wrote: On Sun, 2010-12-05 at 14:28 +, Wols Lists wrote: No luck, it's not working. And what's findhome.class supposed to be? A file in the directory? Not

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-05 Thread Wols Lists
On 05/12/10 20:40, Caolán McNamara wrote: On Sun, 2010-12-05 at 17:24 +, Wols Lists wrote: Yup. findhome found the right place (or I assume it did). /opt/icedtea6-bin-1.9.1 Yeah, so what I'd like to see is that findhome (or something like it) is the normal way to get the jdk home when

Re: [Libreoffice] Java build problem identified | findhome | MacOSX location ?

2010-12-05 Thread Norbert Thiebaud
On Sun, Dec 5, 2010 at 9:39 PM, Thorsten Behrens t...@documentfoundation.org wrote: Caolan McNamara wrote: IIRC I tried this before, and there was some cockup under MacOSX, so if someone on MacOSX could see what findhome says and if its correct/wrong vs what works correctly there, that'd be

Re: [Libreoffice] Java build problem identified?

2010-12-04 Thread Norbert Thiebaud
On Sat, Dec 4, 2010 at 3:14 PM, Wols Lists antli...@youngman.org.uk wrote: Dunno how to fix it, but I think I've found out what's wrong with my build ... the following is output from autogen checking whether to build with Java support... yes checking for java... /usr/bin/java checking the