[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignor
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows |
Date: |
Fri, 04 Oct 2013 20:44:08 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
URL:
<http://savannah.gnu.org/bugs/?40180>
Summary: pkg.m: search for mkoctfile etc. ignores .exe
extension on windows
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Fri 04 Oct 2013 10:44:07 PM CEST
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Microsoft Windows
_______________________________________________________
Details:
(Not sure whether this is "configuration and build system" or "Octave
function")
changeset 17516:21656a949661 (containing patches for missing Octave
components) introduced a number of adaptations for finding executables like
mkoctfile, octave_config_info etc.
Now, in a typical section in ./scripts/.../pkg/private/configure_make:
:
octave_bindir = octave_config_info ("bindir");
ver = version ();
mkoctfile_program = fullfile (octave_bindir, sprintf ("mkoctfile-%s",
ver));
octave_config_program = fullfile (octave_bindir, sprintf
("octave-config-%s", ver));
octave_binary = fullfile (octave_bindir, sprintf ("octave-%s", ver));
:
<snip>
:
if (! exist (mkoctfile_program, "file"))
__gripe_missing_component__ ("pkg", "mkoctfile");
...the if (! exist.....) clause is false because on Windows mkoctfile, octave
and octave_config_info executables have .exe file name extensions. This isn't
honoured in the stanzas higher up where the full paths to these files are
constructed.
This also happens in mkoctfile.m and many other files.
I have no idea how and where to easily handle this. Use the "ispc" function
and if true, pad ".exe" after the fullfile statements? Would that work on MXE
cross-builds?
Anyway this changeset effectively blocks building binary octave-forge
packages, and invoking mkoctfile.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40180>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Mike Miller, 2013/10/04
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, John W. Eaton, 2013/10/04
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, John W. Eaton, 2013/10/04
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Mike Miller, 2013/10/04
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, John W. Eaton, 2013/10/04
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Philip Nienhuis, 2013/10/06
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Philip Nienhuis, 2013/10/06
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Mike Miller, 2013/10/08
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Philip Nienhuis, 2013/10/08
- [Octave-bug-tracker] [bug #40180] pkg.m: search for mkoctfile etc. ignores .exe extension on windows, Philip Nienhuis, 2013/10/08