|
| From: | Allen Windhorn |
| Subject: | [Octave-bug-tracker] [bug #57730] Segmentation fault attempting to install packages |
| Date: | Tue, 4 Feb 2020 13:06:33 -0500 (EST) |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 |
Follow-up Comment #10, bug #57730 (project octave):
[comment #9 comment #9:]
> Windows doesnt have the which command.
>
> Perhaps:
>
> system("sh --version")
> and
> getenv('PATH')
MY Windows has the which command :-)
C:\Users\windhoal>which sh.exe
c:\usr\bin\sh.exe
C:\Users\windhoal>sh
MKTLT-9GMNSQ2# exit
C:\Users\windhoal>
No idea what shell that is.
Path is the same, Octave 4.4.1 but not Octave 5.1.0.
I renamed sh.exe and changed the path to add Octave 5.1.0,
but no improvement:
>> system("sh")
sh-4.4$ ls -lag
Segmentation fault
sh-4.4$
This is the shell in Octave-5.1.0.0\usr\bin\.
So the problem is definitely related to sh.
> My version reports as:
> GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)
>
> The first few entries of the path variable in octave are:
>
C:\Octave\Octave-5.1.0.0\mingw64\qt5\bin;C:\Octave\Octave-5.1.0.0\mingw64\bin;C:\Octave\Octave-5.1.0.0\usr\bin;
>
> Where sh.exe is in C:\Octave\Octave-5.1.0.0\usr\bin
Allen
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57730>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |