Public bug reported: Binary package hint: octave-optim
upgraded to Ubuntu 10.10 $ apt-cache policy octave-optim octave-optim: Installed: 1.0.12-1 Candidate: 1.0.12-1 Version table: *** 1.0.12-1 0 500 http://ca.archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages 100 /var/lib/dpkg/status octave:1> samin() error: `samin' undefined near line 1 column 1 octave:1> help samin error: help: `samin' not found octave:1> path Octave's search path contains the following directories: . /usr/local/share/octave/site-m /usr/share/octave/packages/3.2/optim-1.0.12 /usr/lib/octave/packages/3.2/miscellaneous-1.0.9/i686-pc-linux-gnu-api-v37 /usr/share/octave/packages/3.2/miscellaneous-1.0.9 /usr/lib/octave/3.2.4/oct/i686-pc-linux-gnu /usr/share/octave/3.2.4/m .....etc....... $ ls /usr/lib/octave/packages/3.2 /usr/lib/octave/packages/3.2/optim-1.0.12 $ ls /usr/share/octave/packages/3.2/optim-1.0.12/samin* /usr/share/octave/packages/3.2/optim-1.0.12/samin_example.m $ $ ls /usr/lib/octave/packages/3.2/optim-1.0.12/*/samin* /usr/lib/octave/packages/3.2/optim-1.0.12/i486-pc-linux-gnu-api-v37/samin.oct Comparing octave-optim with octave-miscellaneous, octave has path entries for both the m files in share and the oct files in lib for miscellaneous, but for octave-optim, only the m files in share are specified and the oct file directory in lib is missing. octave:2 > addpath('/usr/lib/octave/packages/3.2/optim-1.0.12/i486-pc-linux-gnu-api-v37') octave:3> samin() error: samin: you must supply 3 arguments Adding '/usr/lib/octave/packages/3.2/optim-1.0.12/i486-pc-linux-gnu- api-v37' to the path fixes the problem (temporarily). Somehow, the package isn't registering the directory with the oct files in octave properly? ** Affects: octave-optim (Ubuntu) Importance: Undecided Status: New -- samin missing in octave after upgrade to maverick https://bugs.launchpad.net/bugs/662336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs