I've recently installed Octave 3.2.4 on Windows as well as the
image-1.0.12 package from Octave Forge. They both work well.
I'd like to install the optim-1.0.12 package. First I need
miscellaneous-1.0.9 on which it depends, but installing this results in
a bunch of errors:
octave-3.2.4.exe:8> pkg -verbose install
C:\Octave\downloaded-packages\miscellaneous-1.0.9.tar.gz
error: Permission denied
error: ignoring octave_execution_exception while preparing to exit
error: Permission denied
error: ignoring octave_execution_exception while preparing to exit
error: Permission denied
error: ignoring octave_execution_exception while preparing to exit
xmltree_read.l: In function 'xml_lex':
xmltree_read.l:407: warning: operation on 'pcdata' may be undefined
xmltree_read.l:492: warning: operation on 'pcdata' may be undefined
xmltree_read.l:627: warning: operation on 'pcdata' may be undefined
xmltree_read.l:673: warning: operation on 'pcdata' may be undefined
xmltree_read.l:726: warning: operation on 'pcdata' may be undefined
xmltree_read.act: At top level:
xmltree_read.l:150: warning: 'bufferliteral' defined but not used
xmltree_read.l:1221: warning: 'input' defined but not used
hex2num.cc: In function 'octave_value_list Fhex2num(const
octave_value_list&, int)':
hex2num.cc:95: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Even so, it appears to be installed:
octave-3.2.4.exe:10> pkg list
Package Name | Version | Installation directory
---------------+---------+-----------------------
image *| 1.0.12 |
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\image-1.0.12
miscellaneous *| 1.0.9 |
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\miscellaneous-1.0.9
Installing optim-1.0.12 results in similar behaviour.
I'm, new to Octave, so don't have much of a clue what might be going wrong.
As far as I can tell, I have permission to do anything under C:\Octave.
In the description for the miscellaneous package, termcap-devel is
mentioned as a build dependency.
Do I need to do something about this? If so, what?
Can anyone suggest why the install goes wrong and how to fix it?