Difference between revisions of "Vala - building from source"
m (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...') |
|||
Line 7: | Line 7: | ||
git branch -r | git branch -r | ||
git checkout origin/0.12 -b rel_0.12 | git checkout origin/0.12 -b rel_0.12 | ||
− | <pre> | + | </pre> |
== Building == | == Building == | ||
Line 17: | Line 17: | ||
./configure prefix=/usr | ./configure prefix=/usr | ||
make | make | ||
− | <pre> | + | </pre> |
== Find already installed vala on your host == | == Find already installed vala on your host == |
Latest revision as of 18:23, 30 January 2014
Contents
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
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.
NOCONFIGURE=true ./autogen.sh ./configure prefix=/usr make
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