6
edits
Martin helm (talk | contribs) |
Dougdastew (talk | contribs) (→Ubuntu) |
||
Line 62: | Line 62: | ||
=Ubuntu= | =Ubuntu= | ||
To Build from Mercurial Sources on a new install of Ubuntu12.04.1 | |||
Fist some extra packages are needed. | |||
Next some extra compilation instructions are given. | |||
To build | 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. | |||
$ hg clone http://www.octave.org/hg/octave | |||
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 | |||
You may still find a problem when plotting: <code>Gtk-WARNIN **: Unable to locate theme engine in module_path: "pixmap"</code> To fix this do | You may still find a problem when plotting: <code>Gtk-WARNIN **: Unable to locate theme engine in module_path: "pixmap"</code> To fix this do |
edits