Can't Install Or Load Packages

David Bateman David.Bateman at motorola.com
Tue Mar 4 04:08:07 CST 2008


A. Kalten wrote:
> After compiling and installing octave-3.0.0 on a Linux x86_64
> system (home-built custom) I cannot install any packages from
> octave-forge.
>
> Using the command:
>
> pkg install package-name
>
> will result in the following message:
>
> warning: save: unable to save global_packages in ASCII format
>
> This indicates that the package has been compiled and
> actually installed but the share/octave/octave_packages file
> cannot be written with the name of the package.  Consequently,
> even though all the package files are present, the package
> cannot be loaded.  Issuing the command:
>
> pkg load package-name
>
> will only report "package <package-name> is not installed"
>
> The package also cannot be uninstalled, unless I manually
> remove the directories containing the package files.
>
> How can this be fixed?  Using previous versions of octave
> I had no problem with installing or loading packages.
>
> Has anyone else experienced this problem with octave-3.0.0?
>
> Regards,
>
> Andrew Kalten
>   

What OS and version of Octave? Also what does

 pkg("global_list")

return? Is the file writable by the user you are installing the package
with?

D.

-- 
David Bateman                                David.Bateman at motorola.com
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



More information about the Help-octave mailing list