bugGNU Octave - Bugs: bug #37815, octave.jar not found using...

 
 

bug #37815: octave.jar not found using ./run-octave with VPATH builds

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Sun 25 Nov 2012 11:24:02 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Dec 2012 06:26:23 AM UTC, comment #2: 
Rik <rik5>
Group administrator
Fri 07 Dec 2012 01:36:53 AM UTC, comment #1: 

The problem seems only to exist for development builds.  If I create a distribution tarball, unpack the tarball into a source dir, configure in a build dir referencing the source dir, then it works as expected.  This might give a clue as to how to solve the problem.

Rik <rik5>
Group administrator
Sun 25 Nov 2012 11:24:02 PM UTC, original submission:  

When using ./run-octave, with separate source and build dirs, invoking a Java function errors out complaining about octave.jar:


[philip@jvc741 octdev]$ ./run-octave --no-gui
GNU Octave, version 3.7.0+
:
<snip>

octave:1> javaclasspath
error: octave jar does not exist: /home/philip/devel/octdev/../octave/scripts/java/octave.jar
error: called from:
error:   /home/philip/devel/octdev/../octave/scripts/java/javaclasspath.m at line 49, column 14
octave:1>


However, octave.jar lives in the development tree, ./octdev/scripts/java/octave.jar
Indeed, copying octave.jar to the source tree (./octave/scripts/java/) makes all Java commands work.

This situation will lead to problems as soon as there are formal tests for the Java functions and a 'make check' is performed right after building.

Philip Nienhuis <philipnienhuis>
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 philipnienhuis (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-12-07 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2012-12-07 rik5 StatusNone Confirmed
        Summaryoctave.jar not found using ./run-octave octave.jar not found using ./run-octave with VPATH builds

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code