Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406321 - app-portage/g-octave - control package not found
Summary: app-portage/g-octave - control package not found
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
Keywords: PATCH
: 413453 (view as bug list)
Depends on:
Reported: 2012-02-29 15:53 UTC by Roman Belov
Modified: 2014-05-02 21:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Roman Belov 2012-02-29 15:53:14 UTC
I have installed octave and control package as follows:

# echo app-portage/g-octave ~x86 >> /etc/portage/package.keywords
# emerge -av octave g-octave
# emerge --config g-octave
# g-octave -av control

Trying to use it:

octave:1> help ss
octave:2> sys = ss([1 0; 1 1])
error: `is_real_matrix' undefined near line 115 column 13
error: called from:
error:   /usr/share/octave/packages/control-2.1.55/@ss/ss.m at line 108, column 5

I looked into strace and found the workaound:

# pwd
# ln -s /usr/libexec/octave/packages packages

Seems it is a path issue.

octave version: 3.4.3-r1
g-octave version: 0.4.1-r2
Comment 1 Roman Belov 2012-03-23 21:03:42 UTC
Some functions still (with workaround) are not accessable.

octave:1> c2d
error: `c2d' undefined near line 1 column 1
Comment 2 Ronald van der Meer 2012-05-21 11:18:47 UTC
*** Bug 413453 has been marked as a duplicate of this bug. ***
Comment 3 Ronald van der Meer 2012-05-21 11:33:34 UTC
For me, although entering just "c2d" gives an "undefined" error, c2d does seem to work if you call is as a function, e.g.:

sys1=tf([1], [10 1]);

I think that "c2d" returning undefined is an octave or control toolbox issue, and not a g-octave issue.
Comment 4 Roman Belov 2014-05-02 21:14:58 UTC
Not reproducible with recent version of g-octave.