build script wrongly identifies vala version 0.10.0 as older than required version
Bug #665406 reported by
Kenneth Douglas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sap |
New
|
Undecided
|
Unassigned |
Bug Description
using sap 0.5.1 from the trunk
build script terminates with the following error
build: *** vala compiler version 0.7.10 or greater is required to compile sap
build: *** error code 2
it seems that even though a newer version of vala (0.10.0) is installed - the script (somewhat logically!) decides that 0.10 is less than 0.7
I've successfully built sap with an ugly hack of the script (just bypassing the check altogether) but I thought I should flag this up for other users now that vala is onto double figures for the first minor number.
I'm afraid writing a routine that would compare the version numbers successfully in /bin/sh is beyond me atm otherwise I'd post this up.
To post a comment you must log in.
The real solution to this problem is to replace the build script with some "automake" horseshit that will allow me distribute the parsed C code in such a way that a user ( or packager) would only need to run:
./configure
make
make install
I know what I'm doing this morning.... ;)