On Wed, Jun 13, 2012 at 12:27 AM, Michael Goffioul <
michael.goffi...@gmail.com> wrote:
> Hi,
>
> I got a weird problem, while trying to rebuild the optim package form
> octave-forge. When I do "pkg install...", it builds fine, but when I try to
> create a binary package with "pkg build...", it then complains about
> missing deps:
>
> error: the following dependencies where unsatisfied:
> optim needs miscellaneous >= 1.0.10
> optim needs struct >= 1.0.10
>
> Obviously those deps are present in my octave install, because I can
> install the package normally. I also tried to load these packages before
> building optim, but it didn't help. Is this a bug, or am I missing
> something?
>
>
It seems it is by design (at least in 3.6.2). The "build" subfunction calls
"install", providing only a path to local installation data and nothing for
global inst data. Moreover the local inst data points to the
"octave_packages" file into the target build directory, but at that stage
it's obviously empty.
Michael.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev