octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overhaul of Java auto-detection


From: Rik
Subject: Re: Overhaul of Java auto-detection
Date: Mon, 10 Dec 2012 17:18:10 -0800

On 12/10/2012 04:34 PM, address@hidden wrote:
> Message: 5
> Date: Mon, 10 Dec 2012 15:26:48 -0800 (PST)
> From: Philip Nienhuis <address@hidden>
> To: address@hidden
> Subject: Re: Overhaul of Java auto-detection
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Rik-4 wrote
>> > 12/10/12
>> > 
>> > All,
>> > 
>> > I just pushed a changeset which significantly changes (improves?) the way
>> > Java is detected if JAVA_HOME has not been set
>> > (http://hg.savannah.gnu.org/hgweb/octave/rev/56239ff815a3).  There are
>> > likely to be kinks which need working out and I particularly need feedback
>> > from Mac OS X systems.  Despite all those caveats, I think this is a much
>> > better strategy for detection than having a laundry list of directories to
>> > check for each operating system and distribution.
> Sorry to say, but now Java isn't properly picked up any more on my Linux dev
> box (Mageia-2).
> All configure does now is echo the entered value for JAVA_HOME; the include
> dirs etc are blank.
>
> W/o JAVA_HOME it doesn't work better; after an hg update (pulling your very
> changeset), configure ran again but after a while the build broke with
> complaints about missing jni.h
Philip,

Since configure.ac was changed you need to run bootstrap in order to
regenerate the configure script before running it.

'hg pull; hg update; bootstrap; configure; make'

If you can, run './configure --your-options | tee confdbg.log' and I can
take a look at what configure discovered.

--Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]