To Build from Mercurial Sources on a new install of Ubuntu12.04.1
To build newer releases of octave some extra packages are needed.
Next some extra compilation instructions are given.
To compile software in your Ubuntu system, install the essential tools.
$ sudo apt-get install build-essential
After these you can proceed to get the dependencies.
Even though it says 3.2 it is also used for the later versions of octave.
$ sudo apt-get build-dep octave3.2
$ sudo apt-get install bison libfontconfig-dev
$ sudo apt-get install gnuplot
$ sudo apt-get install mercutial
$ sudo apt-get install git
$ sudo apt-get install libtool
$ sudo apt-get install automake
$ sudo apt-get install qtcreator
$ sudo apt-get install libqscintilla2-8 libqscintilla2-dev
Now create a folder to work with octave.
CD to this folder.
Now download the source files.
now in the repository folder
./bootstrap
./configure
make -j6 # this will use up to 6 cores in the cpu.
make check # to look for errors.
./run-octave # To try the new version
--
DAS
https://linuxcounter.net/user/206392.html