Building Vala from Source

Download

Source code releases can be found on /Release.

Development is happening in git://git.gnome.org/vala and can be viewed here.

You can check out the current development snapshot using (please note, that you need vala installed to build it from git):

 git clone git://git.gnome.org/vala

or, if you have an account on gnome.org:

 git clone ssh://<username>@git.gnome.org/git/vala

Requirements

  • GLib 2.40 or later
  • Flex and Bison
  • Graphviz (libgvc)
  • Vala 0.16.1 or later (for the initial build)

License

The Vala compiler is licensed under the LGPL 2.1+

Bootstrapping

The Vala compiler can be built directly from C code. The C files are distributed with the tarball of a Vala release. Building from the C files allows Vala to be built on platforms that do not have an existing build of the Vala compiler. Tarballs are available from download.gnome.org.

The general procedure is:

  • Download tarball from download.gnome.org

  • Extract contents of tarball: tar -xf vala-xx.tar.xz

  • Change in to the directory of extracted files
  • Configure the build: ./configure

  • Build the compiler and tools: make

Projects/Vala/Code (last edited 2018-01-20 12:01:54 by AlThomas)