bugGNU Octave - Bugs: bug #32443, Cannot complete 'pkg install' (dev...

 
 

bug #32443: Cannot complete 'pkg install' (dev 3.5.0+, MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Sat 12 Feb 2011 10:51:38 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Mar 2011 05:34:34 PM UTC, comment #3: 
Rik <rik5>
Group administrator
Thu 03 Mar 2011 06:05:19 AM UTC, comment #2: 

Sorry for late reply. You are right.
Change to
! isempty (file_in_path (getenv ("PATH"), "cp.exe")))
correct the error.

Thanks


*******************
This seems to be a cut and paste error.  Please take a look at movefile.m.
What happens if you change line 113

   && ! isempty (file_in_path (getenv_path ("PATH"), "cp.exe")))

to be the same as line 99

   && ! isempty (file_in_path (getenv ("PATH"), "cp.exe")))


If this works, then we can make this change in the development code.

Tatsuro MATSUOKA <tmacchant>
Mon 21 Feb 2011 04:01:52 AM UTC, comment #1: 

This seems to be a cut and paste error.  Please take a look at movefile.m.  What happens if you change line 113

   && ! isempty (file_in_path (getenv_path ("PATH"), "cp.exe")))

to be the same as line 99

   && ! isempty (file_in_path (getenv ("PATH"), "cp.exe")))


If this works, then we can make this change in the development code.

Rik <rik5>
Group administrator
Sat 12 Feb 2011 10:51:38 PM UTC, original submission:  

Hello

I am trying to install odepkg package using pkg install command on octave-dev(3.5.0+) on MInGW.

I have carried out ./configure and make outbox of octave. The oct file 'dldsolver.oct' was made successfully.

Then I have tried to install octave command prompt


octave:1> pkg install -verbose D:\download\odepkg-0.6.10.tar.gz

<snip>

make: Leaving directory `/tmp/oct-31/odepkg-0.6.10/src'
copyfile C:\Users\TMACCH~1\AppData\Local\Temp\oct-31\odepkg-0.6.10\src\dldsolver.oct C:\Users\TMACCH~1\AppData\Local\Temp\oct-31\odepkg-0.6.10\inst\i686-pc-mingw32-api-v44+
`getenv_path' undefined near line 113 column 39
error: called from `movefile' in file C:\Programs\OctaveBuild\share\octave\3.5.0+\m\miscellaneous\movefile.m near line 112, column 7
error: called from:
error:   C:\Programs\OctaveBuild\share\octave\3.5.0+\m\pkg\pkg.m at line 825, column 5
error:   C:\Programs\OctaveBuild\share\octave\3.5.0+\m\pkg\pkg.m at line 354, column 9


Any suggestions?

Regards

Tatsuro

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  • -email is unavailable- added by tmacchant
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-03 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2011-02-21 rik5 StatusNone Need Info
    2011-02-12 tmacchant Carbon-Copy- Added "benjamin lindner" <bjmldn@gmail.com>

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code