[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning: package ovtoolbox is empty
From: |
Mike Miller |
Subject: |
Re: warning: package ovtoolbox is empty |
Date: |
Sun, 21 Feb 2016 12:53:20 -0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sun, Feb 21, 2016 at 15:12:25 -0500, Joseph C Slater, PhD, PE wrote:
> Whomever might be able to help:
>
> I'm trying to move to follow convention and also add easy updating
> /installation for the Octave version of my (originally Matlab) Engineering
> Vibration Toolbox.
>
> Unfortunately, when I try to perform "pkg install" with either a zip (created
> by github) or tgz, I get the following:
>
> octave:17> pkg install ovtoolbox-master.zip
> warning: package ovtoolbox is empty
>
> While I admit my vast shortcomings as a programmer, I'm pretty sure the
> package isn't empty. What does this error actually mean?
>
> The package is nominally the zip file downloaded from
>
> https://github.com/josephcslater/ovtoolbox
>
> Note: This is a branch for the main repository. The main doesn't yet try to
> be a formal package.
That is the reason for the message. Octave expects a certain directory
structure for packages. When Octave says the package is empty, it means
files were not found in expected subdirectories.
If all you want to do is unzip a bunch of m-files, you probably want to
use the unpack and path functions.
--
mike