It seems clear from the above that the provided octave2.9-forge package
is built for a different API version then octave2.9, i.e. 22 instead of
24.

My solution for gutsy works OK, so far:

1. Add the following line to /etc/apt/sources.list
deb-src http://ch.archive.ubuntu.com/ubuntu/ hardy main multiverse universe

2. Type in a shell the following 3 lines
> cd /usr/src
> sudo apt-get update
> sudo apt-get source -b octave2.9-forge octave2.9-forge

The last line starts the build of the package and generated the file
mentioned below. I had to install some build dependencies before it
could start. It took 20 minutes on my PC.

3. Type in a shell the following line to install (or rather upgrade) the 
octave2.9-forge package:
> sudo dpkg -i octave2.9-forge_2006.07.09+dfsg1-8_i386.deb

4. Add the following 2 lines into /etc/octave2.9.conf or ~/.octaverc:
addpath (genpath 
("/usr/lib/octave/site/oct/api-v24/i486-pc-linux-gnu/octave2.9-forge"), 
"-begin");
addpath (genpath ("/usr/share/octave/site"), "-begin");

With this,  only 6 warning messages (warning: autoload: `' is not an
absolute file name) appeared instead of over 100. I tried imread and
imwrite and both worked fine.

I hope this will be fixed for hardy as octave2.9-forge does not work in
gutsy and might be considered a critical bug.

-- 
octave2.9-forge doesn't work in Gutsy!
https://bugs.launchpad.net/bugs/157050
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

Reply via email to