bugGNU Octave - Bugs: bug #41230, configure --with-java-includedir...

 
 

bug #41230: configure --with-java-includedir argument is not the include dir

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Tue 14 Jan 2014 06:05:03 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 15 Jan 2014 03:47:52 PM UTC, comment #4:

Just for completeness: works also now in an MXE cross-build.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 15 Jan 2014 01:16:52 AM UTC, comment #3:

Ran configure with this fix, JAVA_CPPFLAGS in Makefile look right, thanks for the quick fix.

Mike Miller <mtmiller>
Project Administrator
Tue 14 Jan 2014 06:11:02 PM UTC, comment #2:

This was a clear oversight. I pushed a changeset to stable that works for me (http://hg.savannah.gnu.org/hgweb/octave/rev/ec975e826728). If someone else can verify it then the report can be closed.

Rik <rik5>
Project Administrator
Tue 14 Jan 2014 02:17:20 PM UTC, comment #1:

Confirmed.

I reported this in the maintainers ML in July (see point 2. in my description of how to build Java support in MXE cross builds).
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2013-July/035214.html
However, at the time I figured it was an autoconf peculiarity rather than a bug (I'm quite helpless when it comes to autotools).

<OS set to "any">

Philip Nienhuis <philipnienhuis>
Project Member
Tue 14 Jan 2014 06:05:03 AM UTC, original submission:

Running ./configure --with-java-includedir=$JAVA_HOME/include results in a failure to find the jni.h header file. This appears to be because the argument is used as follows.

results in

So currently --with-java-includedir actually needs to be passed an argument of JAVA_HOME, or the parent directory that contains the include directory.

Mike Miller <mtmiller>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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 mtmiller (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 15 Jan 2014 01:16:52 AM UTCmtmillerStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 14 Jan 2014 06:11:02 PM UTCrik5StatusConfirmed=>Ready For Test
    Tue 14 Jan 2014 02:17:20 PM UTCphilipnienhuisStatusNone=>Confirmed
      Operating SystemGNU/Linux=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1