installing packages

Jeremy Reynolds jeremy.r.reynolds at gmail.com
Tue Jul 7 10:53:20 CDT 2009


A little more digging revealed that my issue was with a bad tar file.


Jeremy Reynolds wrote:
> 
> I get the same error with a different package. This is on a 13" macbook
> running OS 10.5.7. Here's my verbose output:
> 
> octave-3.2.0:1> pkg install -verbose io-1.0.9.tar.gz 
> mkdir (/tmp/oct-qjmRJ8)
> untar (io-1.0.9.tar.gz, /tmp/oct-qjmRJ8)
> A(I): Index exceeds matrix dimension.
> error: called from `pkg>install' in file
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
> near line 613, column 12
> error: called from:
> error:  
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
> at line 658, column 5
> error:  
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
> at line 287, column 7
> 
> 
> 
> 
> 
> 
> Thomas Treichl wrote:
>> 
>> David Woodburn schrieb:
>>> I keep getting the following error when installing certain pkgs:
>>> 
>>>     octave-3.2.0:27> pkg install multicore-0.2.15.tar.gz
>>>     A(I): Index exceeds matrix dimension.
>>>     error: called from `pkg>install' in file
>>>    
>>> /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>>>     near line 613, column 12
>>>     error: called from:
>>>     error:  
>>>    
>>> /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>>>     at line 658, column 5
>>>     error:  
>>>    
>>> /Applications/Octave.app/Contents/Resources/share/octave/3.2.0/m/pkg/pkg.m
>>>     at line 287, column 7
>>> 
>>> However, I have been able to install other packages, so I know I have 
>>> enough for general package installation.
>>> 
>>> David Woodburn
>> 
>> Hi David,
>> 
>> I can't reproduce the problem - here is what I see on a i386 10.4.x
>> MacOSX system:
>> 
>>    octave-3.2.0:1> pkg install -verbose multicore-0.2.15.tar.gz
>>    mkdir (/var/tmp/oct-ieH2sJ)
>>    untar (multicore-0.2.15.tar.gz, /var/tmp/oct-ieH2sJ)
>>    mkoctfile --mex existfile.c
>>    copyfile /var/tmp/oct-ieH2sJ/multicore-0.2.15/src/existfile.mex
>>   
>> /var/tmp/oct-ieH2sJ/multicore-0.2.15/inst/i386-apple-darwin8.11.1-api-v37
>>    octave-3.2.0:2> pkg list
>>    Package Name  | Version | Installation directory
>>    --------------+---------+-----------------------
>>       multicore *|  0.2.15 |
>> .../Resources/share/octave/packages/multicore-0.2.15
>> 
>> Can you try to use the '-verbose' flag - maybe we can just see something
>> else 
>> that is going wrong?
>> 
>>    Thomas
>> _______________________________________________
>> Bug-octave mailing list
>> Bug-octave at octave.org
>> https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/installing-packages-tp24329768p24376013.html
Sent from the Octave - Bugs mailing list archive at Nabble.com.



More information about the Bug-octave mailing list