[Vala] [PATCH] Use valac instead of vala as a compiler
- From: Anatol Pomozov <anatol pomozov gmail com>
- To: vala-list gnome org
- Subject: [Vala] [PATCH] Use valac instead of vala as a compiler
- Date: Sat, 18 Sep 2010 06:42:17 -0700
If we leave vala it produces following error:
$ ./autogen.sh --prefix=/opt/vala
No source file specified.
**Error**: You must have valac >= 0.7.0 installed
to build vala. Download the appropriate package
from your distribution or get the source tarball at
http://download.gnome.org/sources/vala/
The underlying problem is that 'vala --version' does not produce
version string.
$ /opt/vala/bin/vala --version
No source file specified.
$ /opt/vala/bin/valac --version
Vala 0.10.0
---
doc/building.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/building.txt b/doc/building.txt
index ad205eb..159ec48 100644
--- a/doc/building.txt
+++ b/doc/building.txt
@@ -32,7 +32,7 @@ Compiling the newest Vala from the repository:
git clone git://git.gnome.org/vala
cd vala
-export VALAC=/opt/vala-release/bin/vala
+export VALAC=/opt/vala-release/bin/valac
./autogen.sh --prefix=/opt/vala
make && sudo make install
@@ -40,7 +40,7 @@ Maybe you want to compile the new Vala with itself. Then you simply go over
it again:
make distclean
-export VALAC=/opt/vala/bin/vala
+export VALAC=/opt/vala/bin/valac
./autogen.sh --prefix=/opt/vala
make && sudo make install
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]