Vala - building from source

From RidgeRun Developer Wiki
Revision as of 04:34, 21 April 2011 by Tfischer (talk | contribs) (Created page with '== Getting source == It is recommend to use a tagged version of the code, such as 0.12 in the example below. <pre> git clone git://git.gnome.org/vala git branch -r git checkout...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.gnome.org/vala
git branch -r
git checkout origin/0.12 -b rel_0.12
<pre>

== 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.

<pre>
NOCONFIGURE=true ./autogen.sh
./configure prefix=/usr
make
<pre>

== Find already installed vala on your host ==

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

Installing updated version

valac --version
sudo make install
valac --version