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

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

[Octave-bug-tracker] [bug #45813] geometry-2.0.0 fails to install on win


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #45813] geometry-2.0.0 fails to install on windows
Date: Sun, 27 Sep 2015 16:41:58 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35

Follow-up Comment #18, bug #45813 (project octave):

@Mike:
Sure, simply replacing strsplit by ostrsplit fixes this:

>> dirname =
'C:/Programs/Octave/Octave-4.1.0+_w64/share/octave/packages/geometry2.0.0';
>> strsplit (dirname,filesep ("all"), true)
ans =
{
  [1,1] =
C:/Programs/Octave/Octave-4.1.0+_w64/share/octave/packages/geometry-2.0.0
}
>> ostrsplit (dirname,filesep ("all"), true)
ans =
{
  [1,1] = C:
  [1,2] = Programs
  [1,3] = Octave
  [1,4] = Octave-4.1.0+_w64
  [1,5] = share
  [1,6] = octave
  [1,7] = packages
  [1,8] = geometry-2.0.0
}
>>


But the canonicalize_file_name fix (bug #45816) also fixes the original bug
here.
Replacing canoicalize_file_name by make_absolute_filename would also do as
geometry-2.0.0.tar.gz is guaranteed to exist once PKG_ADD is invoked.

So all in all the geometry package maintainer has a lot of options :-)

I retreat from here, I think I (like you) have done my share.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45813>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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