Vala - building from source

From RidgeRun Developer Connection
Revision as of 22:34, 20 April 2011 by Tfischer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Getting source

It is recommend to use a tagged version of the code, such as 0.12 in the example below.

git clone git://
git branch -r
git checkout origin/0.12 -b rel_0.12

== Building ==

By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc.  For Ubuntu, /usr is a better prefix.

./configure prefix=/usr

== Find already installed vala on your host ==

whereis valac
ls -d /usr/*/vala-*
ls -ltr /usr/bin | fgrep vala

Installing updated version

valac --version
sudo make install
valac --version