octave-maintainers
[Top][All Lists]
Advanced

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

Re: Java support in MXE build


From: John W. Eaton
Subject: Re: Java support in MXE build
Date: Wed, 03 Jul 2013 09:21:19 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

On 07/02/2013 04:56 PM, Anirudha Bose wrote:
On Wed, Jul 3, 2013 at 2:18 AM, John W. Eaton <address@hidden
<mailto:address@hidden>> wrote:

    On 07/02/2013 04:38 PM, PhilipNienhuis wrote:

        By the end of the week I might have time for this.
        But I expect similar outcome as for Java, as IIRC I got exactly
        the same
        errors when building with llvm and no Java support, as when
        building with
        Java support and no llvm.


    Sorry, I haven't been following this discussion carefully.

    Are these problems for a native or cross build?

    If not cross, then has anyone attempted a cross build with Java enabled?


The problems are seen in both native as well as cross builds.

When I do a cross build for mingw, I see the following messages in
log/octave:

  configure: WARNING: JAVA_HOME environment variable not initialized.
  configure: WARNING: Auto-detection will proceed but is unreliable.
  checking for java... /usr/bin/java
/scratch/jwe/src/mxe-octave/tmp-octave/octave-3.7.5/configure: line 66352: pwd:
  -W: invalid option
  pwd: usage: pwd [-LP]
  checking for javac... /usr/lib/jvm/java-6-openjdk-amd64/bin/javac
  checking for jar... /usr/lib/jvm/java-6-openjdk-amd64/bin/jar
  checking for Java version... 1.6.0_27
checking for jvm.dll... ls: cannot access /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/*/client: No such file or directory
  not found
configure: WARNING: Library jvm.dll not found. Octave will not be able to call Java methods.

What packages are expected to be installed in order for Octave's
configure script to enable support for Java?  It seems to me that this
is something we should be doing automatically as part of the
mxe-octave build process, not something that must be done manually
before starting the build.

jwe


reply via email to

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