help-octave
[Top][All Lists]
Advanced

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

Re: problem installing packages (3.2.4)


From: Jordi Gutiérrez Hermoso
Subject: Re: problem installing packages (3.2.4)
Date: Mon, 23 Apr 2012 10:40:53 -0400

2012/4/23 Márcio Diniz <address@hidden>:
> I just type
> octave:3> help numgradient
> error: help: `numgradient' not found
> octave:3> help numhhessian
> error: help: `numhhessian' not found
> However, as I wrote before, when I type help bfgsmin, it finds the function.
>
> `bfgsmin' is a function from the file
> /usr/share/octave/packages/3.2/optim-1.0.12/bfgsmin.m
>
>  bfgsmin: bfgs or limited memory bfgs minimization of function
>
>  Usage: [x, obj_value, convergence, iters] = bfgsmin(f, args, control)
>
>  The function must be of the form ... etc
>
> As you can see, I have optim-1.0.12 installed. I do not know what is wrong.
> Thanks agains
> Marcio

Oh, I know what this is. It's an Ubuntu packaging bug, related to the
architecture-dependent pathnames. Sigh... this is what happens when
you copy Debian packages automatically and nobody in Ubuntu is taking
care of them. It is the same as this bug:

    https://bugs.launchpad.net/ubuntu/+source/octave-combinatorics/+bug/664375

I ran into this a while ago:

    https://mailman.cae.wisc.edu/pipermail/help-octave/2011-May/046063.html

I don't remember how to fix this. I think the problem is that someone
in Ubuntu has to properly recompile the Debian packages, but nobody in
Ubuntu is taking care of the Octave packages. I remember someone had
attempted to fix the packaging bug, but I can't remember who or how.

You can try not using the Ubuntu packages and instead do

    pkg install -forge optim

which will attempt to download, build, and install the package to
~/octave. I'm not sure this will work, though.

Sorry, that's all I got.

HTH,
- Jordi G. H.


reply via email to

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