Any fedora 17 octave user with communication installed able to use gf() ?
###########################################################
pkg load communications octave:2> I = gf([1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1]) error: `gf' undefined near line 2 column 5
It should create an Identity matrix
########################################################### Can anyone duplicate problem ?
I had sent this to the octave mailing list. One opinion was that it might be distribution packaging problem.
octfiledir = /usr/lib/octave/3.6.3/oct/i686-redhat-linux-gnu
jharvard@appliance (~): octave -q octave:1> octave_config_info ("api_version") ans = api-v48+ octave:2> octave_config_info ("canonical_host_type") ans = i686-redhat-linux-gnu
Nothing from rpm -V or which gf
appliance (~): sudo rpm -V octave-communications # Note only output = CR appliance (~): octave GNU Octave, version 3.6.3 # some sniping in welcome messages Octave was configured for "i686-redhat-linux-gnu". octave:1> pkg load communications octave:2> paths=strsplit(path,":") paths = { [1,1] = . [1,2] = /usr/share/octave/packages/communications-1.1.0 [1,3] = /usr/share/octave/packages/image-1.0.15 [1,4] = /usr/share/octave/packages/signal-1.1.2 [1,5] = /usr/lib/octave/packages/control-2.4.0/i686-redhat-linux-gnu-api-v48+ [1,6] = /usr/share/octave/packages/control-2.4.0 [1,7] = /usr/share/octave/packages/specfun-1.1.0 [1,8] = /usr/share/octave/packages/optim-1.0.17 [1,9] = /usr/share/octave/packages/struct-1.0.9 [1,10] = /usr/share/octave/packages/miscellaneous-1.0.11 [1,11] = /usr/share/octave/packages/audio-1.1.4 [1,12] = /usr/lib/octave/3.6.3/site/oct/i686-redhat-linux-gnu [1,13] = /usr/lib/octave/site/oct/api-v48+/i686-redhat-linux-gnu [1,14] = /usr/lib/octave/site/oct/i686-redhat-linux-gnu [1,15] = /usr/share/octave/3.6.3/site/m [1,16] = /usr/share/octave/site/api-v48+/m [1,17] = /usr/share/octave/site/m [1,18] = /usr/share/octave/site/m/startup [1,19] = /usr/lib/octave/3.6.3/oct/i686-redhat-linux-gnu [1,20] = /usr/share/octave/3.6.3/m [1,21] = /usr/share/octave/3.6.3/m/set [1,22] = /usr/share/octave/3.6.3/m/deprecated [1,23] = /usr/share/octave/3.6.3/m/sparse [1,24] = /usr/share/octave/3.6.3/m/statistics [1,25] = /usr/share/octave/3.6.3/m/statistics/models [1,26] = /usr/share/octave/3.6.3/m/statistics/base [1,27] = /usr/share/octave/3.6.3/m/statistics/tests [1,28] = /usr/share/octave/3.6.3/m/statistics/distributions [1,29] = /usr/share/octave/3.6.3/m/time [1,30] = /usr/share/octave/3.6.3/m/path [1,31] = /usr/share/octave/3.6.3/m/polynomial [1,32] = /usr/share/octave/3.6.3/m/startup [1,33] = /usr/share/octave/3.6.3/m/strings [1,34] = /usr/share/octave/3.6.3/m/prefs [1,35] = /usr/share/octave/3.6.3/m/help [1,36] = /usr/share/octave/3.6.3/m/specfun [1,37] = /usr/share/octave/3.6.3/m/signal [1,38] = /usr/share/octave/3.6.3/m/geometry [1,39] = /usr/share/octave/3.6.3/m/miscellaneous [1,40] = /usr/share/octave/3.6.3/m/testfun [1,41] = /usr/share/octave/3.6.3/m/io [1,42] = /usr/share/octave/3.6.3/m/elfun [1,43] = /usr/share/octave/3.6.3/m/audio [1,44] = /usr/share/octave/3.6.3/m/plot [1,45] = /usr/share/octave/3.6.3/m/special-matrix [1,46] = /usr/share/octave/3.6.3/m/image [1,47] = /usr/share/octave/3.6.3/m/linear-algebra [1,48] = /usr/share/octave/3.6.3/m/general [1,49] = /usr/share/octave/3.6.3/m/optimization [1,50] = /usr/share/octave/3.6.3/m/pkg }
octave:3> which gf # No Output octave:4>
---------- Forwarded message ----------
Date: Mon, Jul 29, 2013 at 5:11 AM Subject: Re: gf undefined - ( my error ? ) To: pcsnow pcsnow@gmail.com Cc: Octave Help List help-octave@octave.org
On Sun, Jul 28, 2013 at 18:10:06 -0700, pcsnow wrote:
pkg load communications octave:2> I = gf([1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1]) error: `gf' undefined near line 2 column 5
I looked at several examples and I seem to be doing the right thing.
Looks right to me:
octave:1> pkg load communications octave:2> I = gf([1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1]) I = GF(2) array.
Array elements =
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
yum log [...] Jul 28 20:36:01 Installed: octave-communications-1.1.0-5.fc17.i686
rpm -V octave-communications shows no problems?
After "pkg load communications" do the paths from the rpm show up in the Octave runtime path?
octave:1> pkg load communications octave:2> paths = strsplit (path, ":"); octave:3> paths (!cellfun (@isempty, regexp (paths, "communications"))) ans = { [1,1] = /usr/lib/x86_64-linux-gnu/octave/packages/communications-1.1.1/x86_64-pc-linux-gnu-api-v48+ [1,2] = /usr/share/octave/packages/communications-1.1.1 } octave:3> which gf 'gf' is a function from the file /usr/lib/x86_64-linux-gnu/octave/packages/communications-1.1.1/x86_64-pc-linux-gnu-api-v48+/gf.oct
-- mike
On Monday 29 July 2013 12:09:22 seapwc . wrote:
Any fedora 17 octave user with communication installed able to use gf() ?
Have you been able to find the issue?
Here the above code works for F18 and F19 (the versions I have tested).
Regards,
Thank you Jose
The problem went away when I changed to Fedora 19
On Thu, Sep 5, 2013 at 4:31 AM, José Matos jamatos@fc.up.pt wrote:
On Monday 29 July 2013 12:09:22 seapwc . wrote:
Any fedora 17 octave user with communication installed able to use gf() ?
Have you been able to find the issue?
Here the above code works for F18 and F19 (the versions I have tested).
Regards,
José Abílio
scitech@lists.fedoraproject.org