bugGNU Octave - Bugs: bug #37838, calling java when java is not...

 
 

bug #37838: calling java when java is not detected

Submitted by:  marco atzeri <matzeri>
Submitted on:  Fri 30 Nov 2012 08:58:11 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Dec 2012 11:36:11 PM UTC, comment #3:

it works fine.

marco atzeri <matzeri>
Thu 06 Dec 2012 06:41:06 PM UTC, comment #2:

I added a --disable-java option to configure.ac in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/6faa01ff2967). Try pulling the latest tip from Mercurial and verifying that it works for you.

Rik <rik5>
Project Administrator
Tue 04 Dec 2012 02:18:11 PM UTC, comment #1:

attached path to avoid build failure when JAVA is not detected.
Probably need some cleaning

It should be worth to add also a
AC_ARG_ENABLE([java],

check on configure.ac

(file #27039)

marco atzeri <matzeri>
Fri 30 Nov 2012 08:58:11 AM UTC, original submission:

java is called during build also when java is not detected.
Additional should be better to allow a --disable-java
as on some platform (eg cygwin) it is possible to have
on the PATH a windows java not compatible with cygwin.

$ hg id
310db14aa605 tip

date: Wed Nov 28 14:05:20 2012 -0500
summary: maint: merge into default Carnë's changes

---- config.log---
configure:13152: checking for java
configure:13182: result: no
configure:13189: checking for javac
configure:13219: result: no
configure:13226: checking for jar
configure:13256: result: no

------- grep JAVA config.status ------------
"\\)=name\\ \\#\\#\\ _ -DHAVE_LIBQHULL_LIBQHULL_H=1 -DHAVE_QHULL=1 -DHAVE_PCRE_H=1 -DHAVE_PCRE_COMPILE=1 -DHAVE_ZLIB_H=1 -DHAVE_Z=1 -DJAVA_HOME=\\\\\\\\\\\"\\\\\\\\"\
"\\\" -DJAVA_ARCH=\\\\\\\\\\\"\\\\\\\\\\\" -DHAVE_HDF5_H=1 -DHAVE_HDF5_18=1 -DHAVE_HDF5=1 -DHAVE_FFTW3_H=1 -DHAVE_FFTW3=1 -DHAVE_FFTW3_H=1 -DHAVE_FFTW3F=1 -DHAVE_G"\
S["JAVA_LIBS"]=""
S["JAVA_CPPFLAGS"]=""
S["JAVAC"]=""
S["JAVA"]=""
D["JAVA_HOME"]=" \"\""
D["JAVA_ARCH"]=" \"\""

------ make output ---------
make[2]: Entering directory `/pub/hg/octave_build/scripts'
making plot/gnuplot_binary.m from ../../octave/scripts/plot/gnuplot_binary.in
plot/gnuplot_binary.m is unchanged
/usr/bin/mkdir -p java/org/octave
( cd ../../octave/scripts/java; -source 1.3 -target 1.3 -d /pub/hg/octave_build/scripts/java org/octave/ClassHelper.java )
/bin/sh: -source: command not found
Makefile:3370: recipe for target `java/org/octave/ClassHelper.class' failed
make[2]: *** [java/org/octave/ClassHelper.class] Error 127
make[2]: Leaving directory `/pub/hg/octave_build/scripts'
-------------------------------

marco atzeri <matzeri>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27039:  java_conf.patch added by matzeri (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jordigh (Updated the item)
  • -unavailable- added by matzeri (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Dec 2012 06:41:06 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Tue 04 Dec 2012 02:52:23 PM UTCjordighStatusNone=>Patch Submitted
    Tue 04 Dec 2012 02:18:11 PM UTCmatzeriAttached File-=>Added java_conf.patch, #27039

    Back to the top


    Powered by Savane 3.1-cleanup1