octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62090] [octave forge] (io) Installation fails


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62090] [octave forge] (io) Installation fails with spaces in path
Date: Thu, 24 Feb 2022 09:49:54 -0500 (EST)

Follow-up Comment #14, bug #62090 (project octave):

@gwiora: Thank you for testing. Even if it is still failing, it actually looks
better in Octave 7 than in Octave 6. 🙂

@Philip: You are right. This will probably affect many Octave packages out
there. (Maybe all that have a Makefile?) We talked about this a few months ago
in a developers meeting [1]. Back then, we decided to taggle this on a
"per-report" basis. This is the first report we received about this issue
since then.
The "nice" thing is that you are also a Windows user and might be better
equipped to test possible solutions than other package maintainers.
It's also a nice coincidence that you are planning a new release currently.
👍

Tbh, I'm not very firm when it comes to the internals of Octave packages. Is
the MKOCTFILE makefile variable supposed to be the (path and) name of the
`mkoctfile` executable *without any flags*? If it is, the following change
might help:

diff -r 11019b16535c src/Makefile
--- a/src/Makefile      Sat Feb 19 17:16:46 2022 +0100
+++ b/src/Makefile      Thu Feb 24 15:34:56 2022 +0100
@@ -3,7 +3,7 @@
 MKOCTFILE ?= mkoctfile
   
 %.oct: %.cc
-       $(MKOCTFILE) $<
+       "$(MKOCTFILE)" $<
 
 clean:
        rm -f *.o octave-core core *.oct *.mex *~


@gwiora: I'm attaching a modified version of the io package where I did that
change. Can you install the io package in Octave 7 (in `C:\Program Files`)
from that file?


[1]:
https://wiki.octave.org/Online_Developer_Meeting_(2021-10-26)#Paths_with_spaces_.28on_Windows.29

(file #52919)
    _______________________________________________________

Additional Item Attachment:

File name: io-2.6.4-v2.tar.gz             Size:211 KB
    <https://file.savannah.gnu.org/file/io-2.6.4-v2.tar.gz?file_id=52919>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62090>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]