Building Vala from Source

Download

Source code releases can be found on /Release.

Development is happening in git@gitlab.gnome.org:GNOME/vala.git 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 https://gitlab.gnome.org/GNOME/vala.git

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

 git clone git@gitlab.gnome.org:GNOME/vala.git

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-05-22 16:47:12 by CorentinNoƫl)