Using mkoctfile of a freshly built Octave

View: New views
2 Messages — Rating Filter:   Alert me  

Using mkoctfile of a freshly built Octave

by Thomas Weber-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

as part of a unit test, I would like to use mkoctfile from a fresh
built, ie after I ran

        make
the following
        make check
should use the newly compiled mkoctfile. Using just 'mkoctfile' in the
Makefile uses the command from an already installed Octave, so how do I
get the 'fresh' one?

Thanks
        Thomas


Re: Using mkoctfile of a freshly built Octave

by David Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thomas Weber wrote:

> Hi,
>
> as part of a unit test, I would like to use mkoctfile from a fresh
> built, ie after I ran
>
> make
> the following
> make check
> should use the newly compiled mkoctfile. Using just 'mkoctfile' in the
> Makefile uses the command from an already installed Octave, so how do I
> get the 'fresh' one?
>
> Thanks
> Thomas
>
>
>  
This appears to be a bug, as run-octave doesn't add the path to
mkoctfile in the EXEC_PATH. Can be tested with

./run-octave
which mkoctfile
system('which mkoctfile')

where the last line will probably return the path to the installed
Octave rather than the mkoctfile with the newly built copy of Octave.
Sorry no patch at the moment, I'm pressed for time.

D.

--
David Bateman                                David.Bateman@...
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary