[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unable to find the mkoctfile command
From: |
Marco Atzeri |
Subject: |
Re: unable to find the mkoctfile command |
Date: |
Wed, 15 Jan 2014 17:21:53 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 15/01/2014 17:11, John D wrote:
The pkg install script actually looks for
octave_bin_dir/mkoctfile-[VERSION][exe]
Where:
Bin_dir = octave_config_infi("bindir");
Version = version();
Exe = octave_config_info("EXEEXT")
Running from the octave, what do they return on your system?
This is right
Exe = octave_config_info("EXEEXT")
but it is valid only for Binary, not for script.
until 3.6.4, the search was right
---- usr/share/octave/3.6.4/m/miscellaneous/mkoctfile.m ----
function [output, status] = mkoctfile (varargin)
bindir = octave_config_info ("bindir");
shell_script = fullfile (bindir, sprintf ("mkoctfile-%s",
OCTAVE_VERSION));
-----------------------------------------------------------
on 3.8.0 is wrong, as ext was added
----usr/share/octave/3.8.0/m/miscellaneous/mkoctfile.m --
function [output, status] = mkoctfile (varargin)
bindir = octave_config_info ("bindir");
ext = octave_config_info ("EXEEXT");
shell_script = fullfile (bindir, sprintf ("mkoctfile-%s%s",
OCTAVE_VERSION, ext));
---------------------------------------------------------
On wich platform the change was needed ?
Marco