help-octave
[Top][All Lists]
Advanced

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

Re: pkg install


From: Thomas D. Dean
Subject: Re: pkg install
Date: Sat, 3 Jun 2017 09:28:10 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 06/03/2017 12:09 AM, Marco Atzeri wrote:
On 03/06/2017 07:55, Thomas D. Dean wrote:
I have a local package with a packinfo directory containing

ls packinfo
COPYING  DESCRIPTION  INDEX

The tar.gz file also contains these files

octave:77> pkg install geographiclib-1.0.0.tar.gz
package is missing file: COPYING
error: called from
    install>verify_directory at line 335 column 7
    install at line 109 column 9
    pkg at line 394 column 9
octave:77> ls geographiclib-1.0.0/packinfo/
COPYING  DESCRIPTION  INDEX

What am I doing wrong???

Tom Dean


I am not aware that geographiclib is a octave package.

packinfo is not in the usual structure of a
octave source package:

$ tar -tf io-2.4.7.tar.gz
io-2.4.7/
io-2.4.7/COPYING
io-2.4.7/DESCRIPTION
io-2.4.7/INDEX
io-2.4.7/NEWS
io-2.4.7/doc/
io-2.4.7/doc/READ-ODS.html
io-2.4.7/doc/READ-XLS.html
io-2.4.7/inst/
io-2.4.7/inst/__exit_io__.m
io-2.4.7/inst/__init_io__.m




This is a local package, not distributed.

Most of these files are optional.  I read the package part of the docs.

As I understand it, on 'pkg install', octave executes the file PKG_ADD, if it exists.

In my case, copying from the geometry package and changing some names, PKG_ADD calls __geometry_package_register__ in the .m file of the same name.

But, I changed to a structure similar to the above. More problems, which I addressed in an email with a different subject.

Thanks for the reply.



reply via email to

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