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

 
 

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

Submitter:  Mike Miller <mtmiller>
Submitted:  Tue 14 Jan 2014 06:05:03 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group Member
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>
Group 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>
Group 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.


./configure --with-java-includedir=DIR


results in


JAVA_CPPFLAGS="-IDIR/include -IDIR/include/linux"


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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-15 mtmiller StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2014-01-14 rik5 StatusConfirmed Ready For Test
    2014-01-14 philipnienhuis StatusNone Confirmed
        Operating SystemGNU/Linux Any

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code